Looks like youâre using the Python package, but the timing information is currently only exposed in the native binary, which can be found in the appropriate native_client package in the release: https://github.com/mozilla/DeepSpeech/releases/tag/v0.5.0-alpha.5
Can you please tell how to use native client package for ubuntu.I too tried -e with the code deepspeechtiming
but it didnât worked
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
4
Can you share more details on what you do exactly ? The work from @dabinat has been merged a long time ago, but the parameter has been changed to --json.
Json/csv file is not generated. Iâm getting the following output:
Loading model from file models/output_graph.pbmm
TensorFlow: v1.13.1-10-g3e0cc5374d
DeepSpeech: v0.5.0-0-g3db7a99
2019-06-12 14:23:27.366833: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
2019-06-12 14:23:27.374545: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âUnwrapDatasetVariantâ device_type: âGPUâ host_memory_arg: âinput_handleâ host_memory_arg: âoutput_handleââ) for unknown op: UnwrapDatasetVariant
2019-06-12 14:23:27.374579: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âUnwrapDatasetVariantâ device_type: âCPUââ) for unknown op: UnwrapDatasetVariant
2019-06-12 14:23:27.374592: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âWrapDatasetVariantâ device_type: âGPUâ host_memory_arg: âinput_handleâ host_memory_arg: âoutput_handleââ) for unknown op: WrapDatasetVariant
2019-06-12 14:23:27.374602: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âWrapDatasetVariantâ device_type: âCPUââ) for unknown op: WrapDatasetVariant
Loaded model in 0.0135s.
Loading language model from files models/lm.binary models/trie
Loaded language model in 1.05s.
Running inference.
experience proof this
Inference took 1.024s for 1.975s audio file.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
6
--json is only available on the C++ deepspeech binary. Are you using this one? I used --json no later than yesterday âŚ
Hey @lissyx .I tried the steps mentioned above.But it still showing the error when I command
deepspeech --json --model models/output_graph.pbmm --alphabet models/alphabet.txt --lm models/lm.binary --trie models/trie --audio munsters.wav
deepspeech: error: unrecognized arguments: --json
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
16
It means deepspeech is not the C++ binary, but the Python. If you extracted like you did, you need to ./deepspeech