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

AttributeError: 'Namespace' object has no attribute 'loadData' #19

Open
AkhilaPhenomx opened this issue Mar 26, 2021 · 1 comment
Open

Comments

@AkhilaPhenomx
Copy link

Hi,

When trying to do inference using iseg2017 model.
I am getting below error

File "inference.py", line 80, in <module> main() File "inference.py", line 24, in main training_generator, val_generator, full_volume, affine = medical_loaders.generate_datasets(args, File "/mnt/nas02/Sampledata_BrainVolumetry/brain_try/MedicalZoo/MedicalZooPytorch/lib/medloaders/__init__.py", line 28, in generate_datasets split_id=split_idx, samples=samples_train, load=args.loadData) AttributeError: 'Namespace' object has no attribute 'loadData'

When I check inference.py file its not taking any input argument for loadData

@alialigaga
Copy link

Hi , i found this on the blog provided by the author on the homepage.

parser.add_argument('--loadData', default=True)

sorry,i cant update the picture.And here is the website.
https://theaisummer.com/medical-image-deep-learning/
And i think maybe it can help you

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

2 participants