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

Error running code. #16

Open
hitesh0103 opened this issue Aug 25, 2021 · 2 comments
Open

Error running code. #16

hitesh0103 opened this issue Aug 25, 2021 · 2 comments

Comments

@hitesh0103
Copy link

I am working in Google colaboratory
I installed using pip install nii2png command, i was able to do it successfully.
then i ran $ python3 nii2png.py -i /content/MICCAI_BraTS_2019_Data_Training/HGG/BraTS19_2013_10_1/BraTS19_2013_10_1_flair.nii -o /content/output_nifti_png/
and it gave an error as
/bin/bash: nii2png.py: command not found
what should i do?

@TongfangZhou
Copy link

I also encounter the same problem,
(base) tongfangzhou@tongfangs-MBP ~ % $ python3 nii2png.py -i /Users/tongfangzhou/Desktop/FYP/original\ image/s7_mem_seg31.nii -o /Users/tongfangzhou/Desktop/FYP/original\ image/s7_seg31_2D
zsh: command not found: $
I'm not sure what's wrong coz the packages are successfully installed.

@monjoybme
Copy link
Contributor

@hitesh0103 @Dou-FF Use the below script and let me know if you're facing any issue

https://github.com/alexlaurence/NIfTI-Image-Converter/blob/master/python/nii_to_png_converter.py

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

3 participants