-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
关于训练过程中loss突然变成nan,acc变成0的问题 #17
Comments
不好意思打扰了,我把python换成3.7,pytorch换成1.6之后就没问题了。 |
不好意思没有遇到过类似问题,我也不知道为什么 |
可能是因为改了batch size,learning rate也需要对应的修改? |
请问您问题解决了吗?我改了norm还是会出现nan,我的loss下降很快,在一个epoch内就变nan了 |
太久了,我忘记了,不好意思 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好,感谢您分享的代码,我在训练模型的过程中出现了loss突然变成nan,acc变成0的问题,我分别从头开始进行了两次训练,但是还是产生了一样的问题。
我的训练环境是:
请问您知道可能的原因是什么吗?您用的ImageNet-LT是由ILSVRC2015提取的吗?
The text was updated successfully, but these errors were encountered: