MedicalZooPytorch icon indicating copy to clipboard operation
MedicalZooPytorch copied to clipboard

question about train

Open zhuangss opened this issue 3 years ago • 6 comments

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'

zhuangss avatar Oct 05 '21 07:10 zhuangss

i also meet this problem

cjyang123456 avatar Jul 12 '22 02:07 cjyang123456

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

Chi20 avatar Aug 03 '22 09:08 Chi20

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 avatar Aug 22 '22 14:08 Chi20

Then you will meet with this problem: 2

Chi20 avatar Aug 22 '22 14:08 Chi20

Then you will meet with this problem: 2

do you know how to solve this???

Grairain avatar Sep 08 '22 09:09 Grairain

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

yeshunlong avatar Jan 05 '23 13:01 yeshunlong