Hello,
Not sure if this is allowed or not but I wanted to share this solution in case someone else is having the same error.
while trying to run deepspeech I kept on having this error message: RuntimeError: CreateModel failed with error code 12293
solution:
I changed the tensorflow ver to match EXACTLY the one in the requirement file (currently tensorflow == 1.13.1). I tried ver 14.0 & it didn’t work.
The normal pip install tensorflow == 1.13.1 didn’t work for me so I had to install the whl file from here
& run (in the directory where the file is): pip install tensorflow-1.13.1-cp34-cp34m-manylinux1_x86_64.whl
Hope this helps someone,
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
2
Thanks, that’s weird but that’s more of an upstream issue. Although I’m curious if you can share more details of “didn’t work”.
Yes, that’s expected, that’s why we document and depend on ==1.13.1.
Sorry I don’t know how to reproduce --verbose
I ran pip install tensorflow==1.13.1 --verbose but it says requirement already satisfied.
As for my env, I am running:
Ubuntu 16 VM on Win10
Anaconda py3.5
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
6
That’s maybe why you got into troubles the first time. Several people reported issues when using anaconda
(venv) sehar@sehar-HP-Z220-CMT-Workstation:~/DeepSpeech$ python mic.py
TensorFlow: v1.14.0-14-g1aad02a
DeepSpeech: v0.6.0-alpha.4-0-gdf2a1d6
Warning: reading entire model file into memory. Transform model file into an mmapped graph to reduce heap usage.
Not found: home/sehar/urdu-models/output_graph4.pb; No such file or directory
Traceback (most recent call last):
File “mic.py”, line 21, in
ds = Model(model_name, n_features, n_context, alphabet, beam_width)
File “/home/sehar/venv/lib/python3.6/site-packages/deepspeech/init.py”, line 23, in init
raise RuntimeError(“CreateModel failed with error code {}”.format(status))
RuntimeError: CreateModel failed with error code 12293
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
17
Have you noticed that there is a missing leading slash ? The path seems to be home/sehar/urdu-models/output_graph4.pb when it should be /home/sehar/urdu-models/output_graph4.pb.
Anyway, problem is not deepspeech, it’s your code, you don’t even bother sharing it, so we can’t debug it for you.