MS-PINPOINT / mindGlide

Brain Segmentation with MONAI and Dynamic Unet (nn-unet)
MIT License
15 stars 4 forks source link

raise Exception("model file path does not exist: ", item) #28

Closed josemq closed 1 month ago

josemq commented 4 months ago

Hello,

I'm receiving the following error when executing my Singularity image:

singularity run --bind $PWD:/mnt mind-glide_latest.sif /home/branch/Test.nii.gz

Traceback (most recent call last): File "/opt/mindGlide/mindGlide/run_inference.py", line 230, in main(args) File "/opt/mindGlide/mindGlide/run_inference.py", line 56, in main raise Exception("model file path does not exist: ", item) Exception: ('model file path does not exist: ', '/home/branch/CND_Software/FSL/fsl_5.0.11_sbox/usr/local/fsl-5.0.11/data/atlases/Cerebellum/Cerebellum-MNIflirt-prob-2mm.nii.gz')

Is there somewhere specific that the models folder should be or can I define my own path?