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

[loss] set zero_infinity=True to ignore NaN or inf ctc_loss #2299

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

xingchensong
Copy link
Member

Setting zero_infinity=True can help us save a lot of time in data cleaning, as unclean data can be invalidated in the loss calculation through this flag.

@xingchensong xingchensong merged commit 9612fda into main Jan 15, 2024
6 checks passed
@xingchensong xingchensong deleted the xcsong-ctc branch January 15, 2024 04:55
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

Successfully merging this pull request may close these issues.

2 participants