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

WER #11

Open
mengmeng666789 opened this issue Oct 14, 2018 · 2 comments
Open

WER #11

mengmeng666789 opened this issue Oct 14, 2018 · 2 comments

Comments

@mengmeng666789
Copy link

hi,I want to know why the WER is 0.8? I use the default parameters using TIMIT,shave I do something wrong???

@Edresson
Copy link

Hello, the WER interpretation is a bit different, use Levenshtein's distance. Look:

The WER is defined as the editing / Levenshtein distance on word level divided by the amount of words in the original text. In case of the original having more words (N) than the result and bothbeing totally different (all N words resulting in 1 edit operation each), the WER will always be 1 (N / N = 1).

See this interpretation: https://martin-thoma.com/word-error-rate-calculation/

you can use this: https://github.com/zszyellow/WER-in-python

or this implementation: https://github.com/belambert/asr-evaluation

by a curiosity are you using which model?
ds2_gru_model has some implementation problems, example: #7.
I recommend using the repository: https://github.com/reith/deepspeech-playground/ which is an updated fork of the official implementation of Baidu deepspeech2.

Regards,
Edresson Casanova.

@mengmeng666789
Copy link
Author

hi sir
I do not change anything, I train with this commend
‘python run-train.py --train_file data/TIMIT/timit_train.csv --valid_files data/TIMIT/timit_test.csv --model_arch=3 --opt=adam --batchsize=32 --loadcheckpointpath checkpoints/epoch/LER-WER-best-DS3_2018-10-20_19-39/’
I run test with this commend
python run-test.py --test_files data/TIMIT/timit_test.csv --loadcheckpointpath checkpoints/epoch/LER-WER-best-DS3_2018-10-20_19-39/’
then this is my result
‘’’
Test WER average is :0.75
Test LER average is :18.39
Test normalized LER is :0.39
‘’’
I think it is very high and suspect
Do you know what is wrong with me?

And what is your result?
Need you help

Thank you

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