-
Notifications
You must be signed in to change notification settings - Fork 0
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
confidence_lossがnanになる #1
Comments
/media/kosuke/SANDISK/hanging_points_net/checkpoints/gray/hpnet_latestmodel_20200812_2224.pt |
ネットワークの出力自体がnan
|
ひとつ前のmodelとoptimizerを保存する??
|
どこかの勾配が大きくなっている。これで大きいところをクリップする
https://discuss.pytorch.org/t/how-to-check-norm-of-gradients/13795/2
clipは数エポックのgradient normの平均にするとよい。 求め方
|
clip_grad_normしてもnanになってしまう。。 |
v_predが小さくなっている?
|
The text was updated successfully, but these errors were encountered: