-
Notifications
You must be signed in to change notification settings - Fork 12
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
RuntimeError: Function 'DotBackward0' returned nan values in its 0th output. #8
Comments
Which version of code are you using? The main branch or the shape prior one? |
I encountered this error before. There are two potential reasons:
|
I use the main branch |
Thank you for your advice. I will try it |
@Bingo-1996 can you post how you solved this? |
@lolrudy and @Bingo-1996
|
@HannahHaensen I haven't solved this problem, and there are other problems when I use the shape prior branch. Did you solve the problem? |
Yes, this should work. Or you can set all nan values to 0. |
@Bingo-1996 not sure yet this error occured for me after ~30 epochs not there again yet but if the training passes I can confirm or decline :) and i am on the main branch not the shape prior @lolrudy thanks! |
Hi~ Thank you for releasing the code. When I run the training code, the loss will appear Nan after several epochs. I have tried three times and encountered the same problem. I did not modify any parameters. Can you give me some advice?
The text was updated successfully, but these errors were encountered: