Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Save Results as .nii.gz Instead of PNG? #31

Open
Ziyan-Huang opened this issue Jan 15, 2025 · 0 comments
Open

How to Save Results as .nii.gz Instead of PNG? #31

Ziyan-Huang opened this issue Jan 15, 2025 · 0 comments

Comments

@Ziyan-Huang
Copy link

Great work on this project! I’ve been using it, and it’s working really well. However, I encountered a small issue when running the inference_demo.sh script. By default, it saves the results as PNG images, but I would like to save the segmentation masks in the same size as the original images, in .nii.gz format (NIfTI format).

Could you please guide me on how to modify the script to save the results as .nii.gz files?

I also noticed that your web demo seems to support this feature, but I’m hoping to run this locally. Any help would be appreciated!

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant