MedicalZooPytorch
MedicalZooPytorch copied to clipboard
AttributeError: 'Namespace' object has no attribute 'loadData'
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
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