Amshaker / unetr_plus_plus

[IEEE TMI-2024] UNETR++: Delving into Efficient and Accurate 3D Medical Image Segmentation
Apache License 2.0
340 stars 32 forks source link

run_training.py #41

Closed Yffy123456 closed 1 year ago

Yffy123456 commented 1 year ago

Hello, when I ran the run_training.py, there is such a mistake: sitk::Error :The file"home/de/unter_plus_plus-main/DATASET/unetrpp-main/DATASET/unetr_pp_preprocess/Task002_Symapse/gt_segmentations/im g0025.nii.gz'does not exist. And img0001.nii.gz. -img0022.nii.gz in the validation_raw is all black.

Amshaker commented 1 year ago

Hi @Yffy123456 ,

Thank you for your questions.

You should not run run_training.py directly, please download our pre-processed data as we mentioned in the readme, and run run_training_synapse.sh because this script set some required paths first.

Please try that and let me if you still have the same issue or not.

Best regards, Abdelrahman.