-
Notifications
You must be signed in to change notification settings - Fork 54
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
Error when running main.py #3
Comments
I think that it happened because they changed default parameters for some functions recently. Try to check all "sum", "mean" and similar functions and set keep dim to True. |
which pytorch version are you using? Tried putting keepdim=True with pytorch 0.3, did not work. |
I got the same error. And the pytorch version is 0.2. |
Try this. |
I solved this problem, use return torch.cat((x1.view(-1,1), x2.view(-1,1)), 1) to update utils.py‘s output. |
Hi, I am using pytorch 0.2 and when I run the script, it generated following errors:
Is it because I am using a different version of pytorch?
The text was updated successfully, but these errors were encountered: