Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question about train #21

Open
zhuangss opened this issue Oct 5, 2021 · 6 comments
Open

question about train #21

zhuangss opened this issue Oct 5, 2021 · 6 comments

Comments

@zhuangss
Copy link

zhuangss commented Oct 5, 2021

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
Copy link

i also meet this problem

@Chi20
Copy link

Chi20 commented Aug 3, 2022

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

@Chi20
Copy link

Chi20 commented Aug 22, 2022

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
Copy link

Chi20 commented Aug 22, 2022

Then you will meet with this problem:
2

@Grairain
Copy link

Grairain commented Sep 8, 2022

Then you will meet with this problem: 2

do you know how to solve this???

@yeshunlong
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants