black0017 / MedicalZooPytorch

A pytorch-based deep learning framework for multi-modal 2D/3D medical image segmentation
MIT License
1.72k stars 299 forks source link

question about train #21

Open zhuangss opened 3 years ago

zhuangss commented 3 years ago

When I used the mrbrains18 dataset for training, the following error occurred Traceback (most recent call last): File "./train_mrbrains_9_classes.py", line 81, in main() File "./train_mrbrains_9_classes.py", line 26, in main path='/home/zwj/MedicalZooPytorch-master/datasets/mrbrains_2018/training') File "/home/zwj/MedicalZooPytorch-master/lib/medloaders/init.py", line 50, in generate_datasets split_id=0, samples=samples_train, load=args.loadData) AttributeError: 'Namespace' object has no attribute 'loadData'

Juny-Chen commented 2 years ago

i also meet this problem

Chi20 commented 2 years ago

this problem too ---hope someone could solve this.

Chi20 commented 2 years ago

find a solution, who meet with this problem can add arguments not mentioned as below: 1 referring to:https://theaisummer.com/medical-image-deep-learning/#implementation-details Putting it all together/code part.

Chi20 commented 2 years ago

Then you will meet with this problem: 2

Grairain commented 2 years ago

Then you will meet with this problem: 2

do you know how to solve this???

yeshunlong commented 1 year ago

Then you will meet with this problem: 2

do you know how to solve this???

You can set loadData to False and run the train_with_trainer_class.py, then the -samples-.txt will be generated