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

Trap NaN in grad, div, ... #14

Closed
fayolle opened this issue Jun 16, 2021 · 1 comment
Closed

Trap NaN in grad, div, ... #14

fayolle opened this issue Jun 16, 2021 · 1 comment

Comments

@fayolle
Copy link
Owner

fayolle commented Jun 16, 2021

Trap NaN in grad, div, ...
It can happen when using r-functions. Use torch.nan_to_num

@fayolle
Copy link
Owner Author

fayolle commented Jun 17, 2021

Done in 75261ae

@fayolle fayolle closed this as completed Jun 17, 2021
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

1 participant