wav2letter icon indicating copy to clipboard operation
wav2letter copied to clipboard

Libri-clean decoder fails

Open AlexandderGorodetski opened this issue 4 years ago • 2 comments

Question

Hello,

I have just updated my wav2letter docker and I found that my simple decoder based on libri-clean training does not work.

Following is the error message: Invalid dictionary filepath specified

Following is the content of my decode.cfg file:

Decoding config for Mini Librispeech

Replace [...] with appropriate paths

--lexicon=/media_alex/common/projects/wav2letter/db/libri-100/lm/lexicon.txt --lm=/media_alex/common/projects/wav2letter/db/libri-100/lm/3-gram.arpa --am=/media_alex/common/projects/wav2letter/exp/libri-100/librispeech_clean_trainlogs/001_model_lists#dev-clean.lst.bin --test=lists/test-clean.lst --sclite=/media_alex/common/projects/wav2letter/exp/libri-100/decode --lmweight=2.5 --wordscore=1 --beamsize=500 --beamthreshold=25 --silweight=-0.5 --nthread_decoder=4 --smearing=max --show=true

AlexandderGorodetski avatar Jul 20 '20 18:07 AlexandderGorodetski

@AlexandderGorodetski, you need to fix tokensdir and tokens, I guess it is trying to load the paths you used in the training, you can check them in the log printed on the screen, which values for them are set and if the tokens path exists.

tlikhomanenko avatar Jul 20 '20 21:07 tlikhomanenko

also, a couple of decoding options have been changed (as we improved the decoders) a while ago (for example, silweight is no longer valid, but there is silscore instead).

andresy avatar Jul 20 '20 21:07 andresy