ai-med / quickNAT_pytorch

PyTorch Implementation of QuickNAT and Bayesian QuickNAT, a fast brain MRI segmentation framework with segmentation Quality control using structure-wise uncertainty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"EOL while scanning string literal" for .nii file

AndreiRoibu opened this issue · comments

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.