Closed BoneGoat closed 4 years ago
Fixed the "SpeechToText() takes at most 2 arguments (3 given)" problem by removing sample rate from the ds.tts() call. Sample rate is now inferred from the model.
Thanks for your help! Could you add/replace deepspeech==0.6.0
in the requirements.txt
file and put this fixes up as a PR?
Got passed the "Trie file version mismatch (4 instead of expected 5). Update your trie file." error by using v0.6.0 of the native client from GitHub extracted into dependencies/deepspeech. taskcluster.py is supposed to fix this but taskcluster.net seems deprecated. taskcluster.py needs refactoring to pull files from GitHub.
Thanks for merging and for this wonderful lib.
https://github.com/mozilla/DSAlign/commit/6dcfd4dd4a8146d23c0c784a960c1557b6e803bb should have fixed the DeepSpeech dependency in case of individual language models.
I'm trying to adapt this code for the new release of DeepSpeech. After some minor modifications in align/wavTranscriber.py, mostly CreateModel and enableDecoderWithLM, I'm running into the following error:
I have replaced generate_trie with the 0.6.0 version from native client. I can get a bit further by not generating specific LMs but then I run into this problem:
I'm sure these are just minor problems and adapting DSAlign to DeepSpeech 0.6.0 won't be that difficult.