autodeeplab icon indicating copy to clipboard operation
autodeeplab copied to clipboard

AttributeError: 'Namespace' object has no attribute 'dist'

Open pawopawo opened this issue 5 years ago • 5 comments

AttributeError: 'Namespace' object has no attribute 'dist' when runCUDA_VISIBLE_DEVICES=0 python3 train_autodeeplab.py --dataset cityscapes

pawopawo avatar Jan 23 '20 08:01 pawopawo

I have meet the same problem did you solved?

kukby avatar Mar 11 '20 15:03 kukby

Traceback (most recent call last): File "train_autodeeplab.py", line 332, in main() File "train_autodeeplab.py", line 321, in main trainer = Trainer(args) File "train_autodeeplab.py", line 47, in init self.train_loaderA, self.train_loaderB, self.val_loader, self.test_loader, self.nclass = make_data_loader(args, **kwargs) File "/root/AutoML-new_master/dataloaders/init.py", line 7, in make_data_loader if args.dist: AttributeError: 'Namespace' object has no attribute 'dist'

kukby avatar Mar 11 '20 15:03 kukby

Facing the same issue is it because the dateset is not loaded correctly or some path issue in mypath.py ? did any one solve this issue pls help !

adityalokesh avatar Jun 09 '20 07:06 adityalokesh

Please have a look at this issue.

cardwing avatar Jun 11 '20 07:06 cardwing

@kukby Have you solved the problem?Please help!

mingfengHuang avatar Oct 19 '20 01:10 mingfengHuang