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

nan problem #11

Closed
YuhuiMa opened this issue Dec 20, 2019 · 2 comments
Closed

nan problem #11

YuhuiMa opened this issue Dec 20, 2019 · 2 comments

Comments

@YuhuiMa
Copy link

YuhuiMa commented Dec 20, 2019

How to deal with the problem of nan loss during training?

@chledowski
Copy link

Use normalize=True

@jorge-pessoa
Copy link
Owner

Hello,

As @chledowski suggested you can test normalize=True at least for the initial iterations of the optimization process. I have pushed some changes to the code which should help significantly in the stability of the optimization in the initial iterations.

I would ask you to test those changes and re-open an issue if you are still facing problems with the optimization. Thank you for your feedback.

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

3 participants