-
Notifications
You must be signed in to change notification settings - Fork 6
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
关于实验环境版本问题 #1
Comments
I have the same problem. did you fix this problem?? |
你可以看看这里:https://stackoverflow.com/questions/68419612/imorting-zero-gradients-from-torch-autograd-gradcheck |
|
作者您好,请问这篇文章的实验环境是什么样的呢? pytorch 和python主要是在哪个版本呢? 我使用第一条命令运行
python3 train_scratch.py --dataset=mnist --epoch=200时,出现了:
ImportError: cannot import name 'zero_gradients' from 'torch.autograd.gradcheck'
这个错误, 应该是pytorch版本的问题,请问有详细配置吗? 感谢!
The text was updated successfully, but these errors were encountered: