After finished generate file output_graph.pb
, I start to test with this command line:
deepspeech \
--model /Users/tringuyen/Documents/DeepSpeech/myresult2/export/output_graph.pb \
--alphabet /Users/tringuyen/Documents/DeepSpeech/mymodels/alphabet.txt \
--lm /Users/tringuyen/Documents/DeepSpeech/mymodels/vnlm.binary \
--trie /Users/tringuyen/Documents/DeepSpeech/mymodels/vntrie \
--audio VIVOSDEV11_164.wav
and I got these errors:
Loading model from file /Users/tringuyen/Documents/DeepSpeech/myresult2/export/output_graph.pb
TensorFlow: v1.12.0-10-ge232881c5a
DeepSpeech: v0.4.1-0-g0e40db6
Warning: reading entire model file into memory. Transform model file into an mmapped graph to reduce heap usage.
2019-04-11 17:15:48.773540: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Invalid argument: No OpKernel was registered to support Op 'StridedSlice' with these attrs. Registered devices: [CPU], Registered kernels:
<no registered kernels>
[[{{node lstm_fused_cell/strided_slice}} = StridedSlice[Index=DT_INT32, T=DT_FLOAT, begin_mask=0, ellipsis_mask=0, end_mask=0, new_axis_mask=0, shrink_axis_mask=1](lstm_fused_cell/BlockLSTM:1, lstm_fused_cell/strided_slice/stack, lstm_fused_cell/strided_slice/stack_1, lstm_fused_cell/strided_slice/stack_2)]]
Traceback (most recent call last):
File "/usr/local/bin/deepspeech", line 10, in <module>
sys.exit(main())
File "/usr/local/lib/python3.7/site-packages/deepspeech/client.py", line 80, in main
ds = Model(args.model, N_FEATURES, N_CONTEXT, args.alphabet, BEAM_WIDTH)
File "/usr/local/lib/python3.7/site-packages/deepspeech/__init__.py", line 14, in __init__
raise RuntimeError("CreateModel failed with error code {}".format(status))
RuntimeError: CreateModel failed with error code 3
Please help me to resolved this error. Thank you.