"Could not create model" when running either native or python

Getting this error even after following each step in the readme:

D:\DeepSpeech-0.6.0-alpha.11>deepspeech --model models/output_graph.pbmm --alphabet models/alphabet.txt --lm models/lm.binary --trie models/trie --audio 1.wav
TensorFlow: v1.14.0-18-g351a98ab6e
DeepSpeech: v0.6.0-alpha.11-0-gf3694ef
2019-10-30 17:27:42.146691: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Unable to fetch metadata: Invalid argument: Session was not created with a graph before Run()!
Could not create model.

OS: Win10

Sorry if I’m doing a very noobish mistake somewhere :frowning:

@mujtabamushtaq What model are you using ?

The trained English model provided in “deepspeech-0.5.1-models.tar.gz”.

So you are mixing incompatible versions.

Ah!.. Yeah made it work. Thanks!

I have similar issue. Just installed deepspeech on windows 10 and I get this when running the example:


Unable to fetch metadata: Invalid argument: Session was not created with a graph before Run()!

Install deepspeech==0.5.1 to use the 0.5.1 model…

:confused:

@globaltommy Please don’t share console output as screenshots, it’s not searchable.

@globaltommy We added Python bindings after 0.5.1 release …