NIfTI-Image-Converter icon indicating copy to clipboard operation
NIfTI-Image-Converter copied to clipboard

Error running code.

Open hitesh0103 opened this issue 4 years ago • 2 comments

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?

hitesh0103 avatar Aug 25 '21 17:08 hitesh0103

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.

TongfangZhou avatar Oct 24 '21 16:10 TongfangZhou

@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

monjoybme avatar Dec 03 '21 14:12 monjoybme