Closed pletessier closed 3 years ago
Hi, they are not compatible. It only supports models trianed with this recipe https://github.com/facebookresearch/wav2letter/tree/master/recipes/streaming_convnets/librispeech as of now...?
You can however, follow the commands in https://github.com/facebookresearch/wav2letter/blob/master/recipes/mls/README.md#decoding to do inference (but it won't be streaming) ....
I have successfully followed the tutorial to run
simple_streaming_asr_example
with the models dowloaded from http://dl.fbaipublicfiles.com/wav2letter/inference/examples/model/I am now trying to use the pre-trained models presented in https://github.com/facebookresearch/wav2letter/blob/master/recipes/mls/README.md.
Is that compatible ?
I have replaced :
tokens.txt
with https://dl.fbaipublicfiles.com/wav2letter/mls/french/tokens.txtacoustic_model.bin
with https://dl.fbaipublicfiles.com/wav2letter/mls/french/am.binlexicon.txt
with https://dl.fbaipublicfiles.com/wav2letter/mls/french/joint_lexicon.txtlanguage_model.bin
with5-gram_lm.arpa
from https://dl.fbaipublicfiles.com/mls/mls_lm_french.tar.gz (converted withbuild_binary
)I have an error when running
simple_streaming_asr_example
:acoustic_model.bin
and https://dl.fbaipublicfiles.com/wav2letter/mls/french/am.bin are obviously not serialized in the same format.