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 'num_workers' #51

Open
kukby opened this issue Mar 3, 2020 · 1 comment
Open

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

kukby opened this issue Mar 3, 2020 · 1 comment

Comments

@kukby
Copy link

kukby commented Mar 3, 2020

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)

@Javen-Van
Copy link

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

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