ENAS-pytorch icon indicating copy to clipboard operation
ENAS-pytorch copied to clipboard

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

Open kukby opened this issue 4 years ago • 1 comments

kukby@kukby-GI5KN54:~/ENAS-pytorch-master$ python3 main.py --network_type cnn --dataset cifar --controller_optim momentum --controller_lr_cosine=True --controller_lr_max 0.05 --controller_lr_min 0.0001 --entropy_coeff 0.1 2020-03-03 20:59:42,792:INFO::[*] Make directories : logs/cifar_2020-03-03_20-59-42 Files already downloaded and verified Traceback (most recent call last): File "main.py", line 54, in main(args) File "main.py", line 26, in main dataset = data.image.Image(args) File "/home/kukby/ENAS-pytorch-master/data/image.py", line 30, in init num_workers=args.num_workers, pin_memory=True)

kukby avatar Mar 03 '20 13:03 kukby

Hi, have you handle this problem? I met it, too

Javen-Van avatar Oct 17 '20 08:10 Javen-Van