-
Notifications
You must be signed in to change notification settings - Fork 494
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:‘DataLoader’ object has no attribute ‘size’ #37
Comments
Current Implementation seemed only support nlp example task (search construction of rnn cell) |
OK! Thank you! |
|
Thank you for your help. I will have a try. |
Hello, guys. When I run this command:
python 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
I got a AttributeError:‘DataLoader’ object has no attribute ‘size’.
This is in 148 line in the utils.py. And 'Dataloader' object has no attribute 'narrow' and 'view'. The version of pytorch in my computer is 0.4.1. Is my version wrong?
Has anyone got any ideas for this problem?
The text was updated successfully, but these errors were encountered: