-
Notifications
You must be signed in to change notification settings - Fork 62
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
train.py problem?? #20
Comments
Thanks for raising the problem. Which Pytorch version are you using? |
i use 1.5.0 |
Can you try to run the process using Pytorch 1.4? |
yes,it works on 1.4.0 ! thank you so much |
Hello! I have the same problem, my torch.version=1.11.0, how can I fix it? |
I also had the same problem. My torch.version is 1.8.0. |
Hello, I did not search for this group number |
I just forgot to enable searching the group by group number. You can try it again. |
pytorch=2.0.0 is works, you can try |
sorry,when i run train.py, there is a bug
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [8, 1]], which is output 0 of TBackward, is at version 2; expected version 1 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).
could you please tell me why that happend?
The text was updated successfully, but these errors were encountered: