Skip to content
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

triangle_loss_fn returns 'nan' #11

Closed
gsygsy96 opened this issue May 30, 2019 · 2 comments
Closed

triangle_loss_fn returns 'nan' #11

gsygsy96 opened this issue May 30, 2019 · 2 comments

Comments

@gsygsy96
Copy link

My pytorch vision is 1.1.0. Dose it matter?

@hideonInternet
Copy link

I also met the same problem with using pytorch 1.1.0

@gsygsy96
Copy link
Author

I figured it out. As mentioned in this issue, the gradient of 'sqrt' is not defined at 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants