Hello, am new to DeepSpeech, I got a trained custom DS model from my friend and I am trying to make some predictions.
But I got this error when run “python DeepSpeech.py”
WARNING:tensorflow:From DeepSpeech.py:704: The name tf.nn.rnn_cell.LSTMStateTuple is deprecated. Please use tf.compat.v1.nn.rnn_cell.LSTMStateTuple instead.
W0211 11:04:11.854850 139979131139904 deprecation_wrapper.py:119] From DeepSpeech.py:704: The name tf.nn.rnn_cell.LSTMStateTuple is deprecated. Please use tf.compat.v1.nn.rnn_cell.LSTMStateTuple instead.
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
* https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
* https://github.com/tensorflow/addons
* https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.
W0211 11:04:12.282489 139979131139904 lazy_loader.py:50]
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
* https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
* https://github.com/tensorflow/addons
* https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.
WARNING:tensorflow:From /home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
W0211 11:04:12.284732 139979131139904 deprecation.py:506] From /home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/ops/init_ops.py:1251: calling VarianceScaling.__init__ (from tensorflow.python.ops.init_ops) with dtype is deprecated and will be removed in a future version.
Instructions for updating:
Call initializer instance with the dtype argument instead of passing it to the constructor
WARNING:tensorflow:Entity <bound method LSTMBlockWrapper.call of <tensorflow.contrib.rnn.python.ops.lstm_ops.LSTMBlockFusedCell object at 0x7f4f62c5a908>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method LSTMBlockWrapper.call of <tensorflow.contrib.rnn.python.ops.lstm_ops.LSTMBlockFusedCell object at 0x7f4f62c5a908>>: AttributeError: module 'gast' has no attribute 'Num'
W0211 11:04:12.344106 139979131139904 ag_logging.py:145] Entity <bound method LSTMBlockWrapper.call of <tensorflow.contrib.rnn.python.ops.lstm_ops.LSTMBlockFusedCell object at 0x7f4f62c5a908>> could not be transformed and will be executed as-is. Please report this to the AutgoGraph team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output. Cause: converting <bound method LSTMBlockWrapper.call of <tensorflow.contrib.rnn.python.ops.lstm_ops.LSTMBlockFusedCell object at 0x7f4f62c5a908>>: AttributeError: module 'gast' has no attribute 'Num'
WARNING:tensorflow:From /home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/training/saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
W0211 11:04:12.395726 139979131139904 deprecation.py:323] From /home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/training/saver.py:1276: checkpoint_exists (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file APIs to check for files with this prefix.
INFO:tensorflow:Restoring parameters from checkpointVN/best_dev-14352
I0211 11:04:12.396571 139979131139904 saver.py:1280] Restoring parameters from checkpointVN/best_dev-14352
I Restored variables from best validation checkpoint at checkpointVN/best_dev-14352
Fatal Python error: Segmentation fault
Current thread 0x00007f4f6e633740 (most recent call first):
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1429 in _call_tf_sessionrun
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1341 in _run_fn
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1356 in _do_call
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1350 in _do_run
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1173 in _run
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 950 in run
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 5579 in _eval_using_default_session
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/tensorflow/python/framework/ops.py", line 731 in eval
File "DeepSpeech.py", line 907 in do_single_file_inference
File "DeepSpeech.py", line 961 in main
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/absl/app.py", line 250 in _run_main
File "/home/vnc/DeepSpeech_hangtg/envs/deepspeech-train-venv/lib/python3.6/site-packages/absl/app.py", line 299 in run
File "DeepSpeech.py", line 965 in <module>
Segmentation fault (core dumped)
I tried to debug but dont have any clue where to start. I can provide more information if needed.