-
Notifications
You must be signed in to change notification settings - Fork 250
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
Cost is Nan after one epoch if maxlen > 50 #60
Comments
Hi @ethancaballero , i guess you are already applying gradient clipping since I may suggest a few pointers to start with:
btw is this happening always right after the first epoch, even if you change the random seed, and minibatch ordering? |
Hey @orhanf, we managed to replicate this error and fix it with @ethancaballero. On MacOS X It got resolved after the updating the OS. Though few things to keep in mind, the origin code-base has a weird style of Path hard-coded, right about here. |
Thanks @ethancaballero and @0bserver07 |
For some reason, the cost is Nan after one epoch if I increase 'maxlen' parameter to any number greater than 50.
setup_local_env.sh was used for setup
The text was updated successfully, but these errors were encountered: