I have re-trained on top of deepspeech-0.6.1-checkpoint. It went well and converted .pb file to .pbmm file. When trying to use this model for prediction its showing error.But the model given by the deepspeech is working fine. Not able to figure out why?
please Help, thanks in advance.
console logs:
Loading model from file …/mirrorFitModelv1.0/output_graph.pbmm
TensorFlow: v1.14.0-21-ge77504a
DeepSpeech: v0.6.1-0-g3df20fe
2020-01-20 16:08:37.148672: 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()!
Traceback (most recent call last):
File “/root/tmp/deepspeech-mark1-venv/bin/deepspeech”, line 8, in
sys.exit(main())
File “/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/deepspeech/client.py”, line 113, in main
ds = Model(args.model, args.beam_width)
File “/root/tmp/deepspeech-mark1-venv/lib/python3.6/site-packages/deepspeech/init.py”, line 42, in init
raise RuntimeError(“CreateModel failed with error code {}”.format(status))
RuntimeError: CreateModel failed with error code 8195
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
2
Your model is incorrect and we can’t read Metadata.
You need to share more details on how you export and convert.
Thanks lissyx, seems like version issue with convert_graphdef_memmapped_format (I have used it from one of your posts, may be thats why). Its working with .pb file. Can you please tell me from where i can download the latest one. any link will suffice. Thanks in advance.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
7
Thanks alot for helping out so fast. One last tip if you can give how many voice clips should i need to train this model to work properly for indian accent. generally for our use case input will be maximum 5 sec.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
9
Please search the forum for other English Indian efforts, we have replied to that hundreds of times.