I have built an arabic language model before, with the v0.3.0. I could train, infer … etc.
Now I have moved to v0.6.0, with a fresh env, restarted the training, and exported a model. When I try to use the new native client with command:
./native_client/deepspeech --model model_0.6.pbmm --lm lm.binary --trie lm.trie --audio wav/002255_test.wav
I get this error that I cannot escape:
TensorFlow: v1.14.0-21-ge77504a
DeepSpeech: v0.6.0-0-g6d43e21
2019-12-19 16:28:21.312176: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Unable to fetch graph version: Invalid argument: Session was not created with a graph before Run()!
Could not create model.
When I googled the error, it seems like older incompatible files exist somewhere. But the above log message shows the correct version for TF and DeepSpeech. I have also used the new ./native/client/generate_trie
to update the lm.trie file.
Seems like I only have lm.binary
left from the older format, does it need an update? How can I update it?