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

Different outputs for multiple calls #2

Open
jodusan opened this issue Mar 4, 2020 · 3 comments
Open

Different outputs for multiple calls #2

jodusan opened this issue Mar 4, 2020 · 3 comments

Comments

@jodusan
Copy link

jodusan commented Mar 4, 2020

When calling compute_wer() multiple times from debugger with the same params I get different results, often nan/infinity and sometimes numbers that greatly vary. I know cuda is not deterministic but this is barely usuable, any ideas what might be causing it? Did I miss some setting before running it?

@1ytic
Copy link
Owner

1ytic commented Mar 4, 2020

Thanks for debugging this package. I use this in another project open_stt_e2e. For example, you can see usage of AverageCER, AverageWER in train_ctc.py. Hope this helps you.

@jodusan
Copy link
Author

jodusan commented Mar 4, 2020

@1ytic Do you use average because of the instability?

@1ytic
Copy link
Owner

1ytic commented Mar 4, 2020

Nope. AverageCER/WER accumulates error statistics (deletions, insertions, substitutions) for the entire dataset. I recommend you look at the test test.py. Maybe it helps you to understand the usage of the package.

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

2 participants