-
Notifications
You must be signed in to change notification settings - Fork 140
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 or Inf found in input tensor #229
Comments
@xiaozhouguo94 What kind of model did you use? Can you show me the error log? |
I just paste a little bit, and there are lots of error in train log. Even these error is reported, the train process will still continue, and final cer is so terrible, just like 5544.05%. I found this error start to appear in epoch 5, and Neural SP would also finally save the model.epoch-5, rather than the result after the last epoch(model.epoch-25). So I think Neural SP found this error and didn't trust the training result after epoch 5. I'm confused that how to solve it? |
@xiaozhouguo94 Let me check it. |
I trained model on Aishell corpus, and I found a error in train log: NaN or Inf found in input tensor.
So, how dose it come about? How does it affect the outcome. Thank you.
By the way, your work is excellent !
The text was updated successfully, but these errors were encountered: