ellisdg / 3DUnetCNN

Pytorch 3D U-Net Convolution Neural Network (CNN) designed for medical image segmentation
MIT License
1.9k stars 653 forks source link

Can't run the program! #344

Closed Micheal1989 closed 2 months ago

Micheal1989 commented 2 months ago

Hi, ellisdg: When I run the program, one problem has occured which cost my whole day to try solve . So,I wish you can help me solve the problem and run the program .

Here is error: git_issue

my_requirements.txt

ellisdg commented 2 months ago

This looks like an issue with your configuration file. Are you running the train.py script?

ellisdg commented 2 months ago

More specifically, the program can't find the file shown in your screenshot. Does that file exist from the directory in which you are running the script? Assuming you have the downloaded the BraTS dataset, the most likely culprits is that the directory within which you are running the script does not have the "BraTS2020_TrainingData" in it. You need to either change to the directory that does have that folder or you can update the configuration file to use absolute rather than relative path names.

Micheal1989 commented 2 months ago

Yes,I make a mistake that I put the two data_files in the folder brats2020. I should have put them in the folder-3DUnetCNN or change create_config_lowmen.ipynb. Thank your advice and gratitude for your work。