huangmozhilv / u2net_torch

MICCAI2019:3D U$^2$-Net: A 3D Universal U-Net for Multi-Domain Medical Image Segmentation
233 stars 53 forks source link

TypeError: stat: path should be string, bytes, os.PathLike or integer, not list #10

Closed wxr521314 closed 4 years ago

wxr521314 commented 4 years ago

Hi brother: Thank you for sharing, I am a little white in image processing. I hope to get your helpI When I run " CUDA_VISIBLE_DEVICES=1 python train_model_no_adapters.py --trainMode 'independent' --out_tag '20190312' --tasks 'Task10_Colon" on my terminal. The following problem arises image

Maybe my data path is not set correctly, where should I modify my path?

image Is it here?This problem occurred again after I modified it image I'm looking forward to receiving your reply as soon as possible Best wish!

Forest-Xie commented 4 years ago

just change the path named preData_dir in file config.py from [''...''] to "..."