-
Notifications
You must be signed in to change notification settings - Fork 30
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
About the loss #4
Comments
Why are there negative values? Shouldn't loss be positive in general? |
@hai8023 This happens when a lot of blank tokens appear in the targets for CTC loss. You need to check your labels to make sure it doesn't contain the space ( Technically speaking, the padding token at the beginning and the end be For more explanation, please see https://discuss.pytorch.org/t/negative-ctc-loss/79548/5 |
Thank you very much for your reply |
Hi. Could you kindly share your training loss of the model (maybe a tensorboard picture)? Thank you very much.
The text was updated successfully, but these errors were encountered: