I trained my own data , it train very well.
but when i predict by using following command
(deepspeech-venv) shubh@shubh-Lenovo-Flex-2-14:~/Downloads/DeepSpeech$ deepspeech models/output_graph.pbmm models/alphabet.txt
it get 8195 error.
TensorFlow: v1.13.1-10-g3e0cc53
DeepSpeech: v0.5.1-0-g4b29b78
Warning: reading entire model file into memory. Transform model file into an mmapped graph to reduce heap usage.
2019-11-19 11:23:13.351350: 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-11-19 11:23:13.497345: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âUnwrapDatasetVariantâ device_type: âCPUââ) for unknown op: UnwrapDatasetVariant
2019-11-19 11:23:13.497400: 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-11-19 11:23:13.497411: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âWrapDatasetVariantâ device_type: âCPUââ) for unknown op: WrapDatasetVariant
2019-11-19 11:23:13.497533: 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
Specified model file version (0) is incompatible with minimum version supported by this client (1). See https://github.com/mozilla/DeepSpeech/#model-compatibility for more information
Traceback (most recent call last):
File â/home/shubh/tmp/deepspeech-venv/bin/deepspeechâ, line 8, in
sys.exit(main())
File â/home/shubh/tmp/deepspeech-venv/lib/python3.6/site-packages/deepspeech/client.pyâ, line 88, in main
ds = Model(args.model, N_FEATURES, N_CONTEXT, args.alphabet, BEAM_WIDTH)
File â/home/shubh/tmp/deepspeech-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 8195
i used:
Tensorflow 1.14.0 but when i used deepspeech --v it shows 1.13.0
and used 0.6.0 binary files
i was unable to download convert graphdef _ 1.13 version so i downloaded 1.14 convert graphdef and then run .
please help
thanx in advance
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
2
It looks like you already figured it out yourself, you mixed versions, itâs not supported. Just ensure you install latest v0.6.0a15 binary. You may need to force pip with --upgrade deepspeech==0.6.0a15
if i am installed deepspeech==0.6.0a15 so Tensorflow 1.14.0 and 0.6.0 binary file supported on deepspeech?
or i need to install latest version of binary and tensorflow?
hello,
I trained data and then create .pbmm file but when i predict audio file by following command
: deepspeech --model ./export/output_graph.pb --alphabet ./export/alphabet.txt --lm ./export/lm.binary --trie ./export/trie --audio ./export/40196.wav
it predict only âiâ ?
please tell me where i wrong?
deepspeech --model ./export/output_graph.pb --alphabet ./export/alphabet.txt --lm ./export/lm.binary --trie ./export/trie --audio ./export/40196.wav
Loading model from file ./export/output_graph.pb
TensorFlow: v1.13.1-10-g3e0cc53
DeepSpeech: v0.5.1-0-g4b29b78
Warning: reading entire model file into memory. Transform model file into an mmapped graph to reduce heap usage.
2019-11-22 14:34:58.722356: 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-11-22 14:35:00.561618: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âUnwrapDatasetVariantâ device_type: âCPUââ) for unknown op: UnwrapDatasetVariant
2019-11-22 14:35:00.561687: 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-11-22 14:35:00.561706: E tensorflow/core/framework/op_kernel.cc:1325] OpKernel (âop: âWrapDatasetVariantâ device_type: âCPUââ) for unknown op: WrapDatasetVariant
2019-11-22 14:35:00.561874: 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
Loaded model in 1.84s.
Loading language model from files ./export/lm.binary ./export/trie
Loaded language model in 1.01e+02s.
Running inference.
2019-11-22 14:36:42.269189: W tensorflow/core/framework/allocator.cc:124] Allocation of 16777216 exceeds 10% of system memory.
2019-11-22 14:36:42.283837: W tensorflow/core/framework/allocator.cc:124] Allocation of 16777216 exceeds 10% of system memory.
2019-11-22 14:36:42.305110: W tensorflow/core/framework/allocator.cc:124] Allocation of 134217728 exceeds 10% of system memory.
2019-11-22 14:36:42.485505: W tensorflow/core/framework/allocator.cc:124] Allocation of 16777216 exceeds 10% of system memory.
2019-11-22 14:36:42.497546: W tensorflow/core/framework/allocator.cc:124] Allocation of 16777216 exceeds 10% of system memory.
i
Inference took 18.559s for 6.976s audio file.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
8
We canât help you without more informations on the training you performed.
ok
i used deepspeech 5.0 & ds-ctcdecoder 5.0
and trained model on 910 (.wav) file using following command:
python3 DeepSpeech.py --checkpoint_dir /cpoint/ --train_batch_size 10 --test_batch_size 10 --dev_batch_size 10 --epochs 2 --train_files clips/TRAIN/train.csv --dev_files clips/DEV/dev.csv --test_files clips/TEST/test.csv --learning_rate 0.01 --export_dir export/
is this information required
?
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
10
So basically, small dataset, your model was train on 2 epochs, it learnt mostly nothing.
if i am trained on 700 .wav file and each file has 10 second , so total 116 min data. when i used all default parameter then it was taked more than 2 day, Can you provide some hints about the total training time ?
system information :
8gb ram
i5 intel processor
and used cpu.
if i am using GPU instead of cpu then how much it will affected for training?
Thanx in Advance
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
14
This amount of data is really really really low. I donât think you can get anything out of just that.
That depends on the GPU you choose, but anything decent enough should take care of that amount of data in a matter of minutes.