Closed smitesh-sutaria closed 3 years ago
@FengYen-Chang : Any suggestions ?
Hi @smitesh-sutaria ,
Sorry for the late reply. As this demo is only for 0.5.0 version, the deep speech model might have some difference between 0.5.1
and 0.6.0
. Therefore, the command for model optimizer and the script for demo might not suitable for the 0.6.0
release.
To acquire the correct command for MO, I recommend to use Netron to check the graph, and then acquire the correct node for release 0.6.0
.
Such as the following figure, you could see input nodes when you select the node input_node
.
And you also can use Netron to acquire the correct nodes for output, such as below is the output node of the hidden state c
.
Really sorry for the late reply.
Hi @smitesh-sutaria , I have update the demo code to version, 0.6.1
. Thanks.
Hi @FengYen-Chang , Thank you so much.
How about the latest version 0.7.4 ? https://github.com/mozilla/DeepSpeech/releases/tag/v0.7.4 The 0.7.4 does not have .pb model but only the .pbmm.
We were actually interested in using the latest version 0.7.4.
Hi @smitesh-sutaria ,
Actually, I have not tried the version 0.7.4
yet.
But you can download the .pb
file from here and have a try.
Thanks, John
Hi @smitesh-sutaria ,
I have tried the the .pb
file of 0.7.4
version, the MO command is same, you just need to change the file name of .pb
model.
For demo, it only need to patch the parameter upper_frequency_limit
from 4000
to 8000
is this 0.7.4
version, and this patch is commited.
Thanks, John
Using https://github.com/FengYen-Chang/open_model_zoo/tree/master/demos/python_demos/deep_speech_demo able to convert deepspeech-0.5.1 model.
But when attempt it on 0.6.1 version, get the below error :