PyTorch Implementation of QuickNAT and Bayesian QuickNAT, a fast brain MRI segmentation framework with segmentation Quality control using structure-wise uncertainty
MIT License
101
stars
36
forks
source link
"EOL while scanning string literal" for .nii file #20
When I tried to load a .nii file from the ADNI database, using the eval_bulk run.py module, I am getting an error in reading the file. Going through the code line by line, I managed to find that the error originates in the load_and_preprocess_eval function, in data_utils.py, in particular, in the volume_nifty = nb.load(file_path[0]) function. When running the same command for the same file path in the terminal, I am getting the above error:
EOL while scanning string literal
Could you please suggest a solution to this issue? Could this be due to my file? The file is an extrated brain using FSL.
When I tried to load a .nii file from the ADNI database, using the eval_bulk run.py module, I am getting an error in reading the file. Going through the code line by line, I managed to find that the error originates in the load_and_preprocess_eval function, in data_utils.py, in particular, in the
volume_nifty = nb.load(file_path[0])
function. When running the same command for the same file path in the terminal, I am getting the above error:Could you please suggest a solution to this issue? Could this be due to my file? The file is an extrated brain using FSL.