Closed FHannan-UWO closed 6 months ago
Hi @FHannan-UWO,
You can paste and execute the following command
/home/lab2/WMH/ROBEX/runROBEX.sh /home/lab2/WMH/testdata/output/001_Preprocessed_Images/P3V1_0000.nii.gz /home/lab2/WMH/testdata/output/002_Segmentations/003_postproc_fov/P3V1_brain.nii.gz /home/lab2/WMH/testdata/output/002_Segmentations/003_postproc_fov/P3V1_mask.nii.gz
into your bash shell to see what actually happened. It may give you some detailed error information.
Also, from the error code 126 returned from your bash call, it seems that you don't have "execute" permission for the script /home/lab2/WMH/ROBEX/runROBEX.sh. Use the following command:
chmod 755 /home/lab2/WMH/ROBEX/runROBEX.sh
to grant execute permission on that script. Then, run the same inference again to see if that solves the problem.
@lchdl
Thanks for the suggestions, I managed to solve the problem by also giving execute permissions to the ROBEX file as follows:
chmod 755 /home/lab2/WMH/ROBEX/ROBEX
Also curious, do you plan to incorporate T1 images alongside FLAIR in the future?
@FHannan-UWO, we actually considered adding T1-weighted images in the past, but decided against it for the following reasons:
Hi,
Having a bit of an issue with the script that I'm not sure how to fix. I'll paste the end of the terminal below:
This was the input I used, testing it on one dataset:
DeepWMH_predict -i ~/WMH/testdata/P3V1.nii.gz -n P3V1 -m ~/WMH/model -o ~/WMH/testdata/output -g 0