Hello, I am attempting to further train the model (english), however when executing the python DeepSpeech .py --helpfull command in the recommended python venv (to see if training is working) I get the “Illegal instruction (core dumped)” response; actually I get this whenever I attempt to execute the DeepSpeech.py command.
I have read through the documents extensively, and followed the “Training Your Own Model” instructions to the letter, including trying other suggestions from online sources however nothing has solved this problem.
I have downloaded the source (0.9.3) from git and built successfully (using tensorflow 1.15.4 for tflite, and built for TF version 1 as my CPU does not support the AVX instruction set). The actual deepspeech inference application works fine. However, I cannot get past this problem for training on my x86_64 Intel i7 machine. I am running in a VirtualBox environment as detailed below:
Build configuration parameters used:
bazel build --workspace_status_command=“bash native_client/bazel_workspace_status_cmd.sh” --config=monolithic --config=v1 --define=runtime=tflite --local_cpu_resources=4 -c opt --copt=-O3 --copt="-D_GLIBCXX_USE_CXX11_ABI=0" --copt=-fvisibility=hidden //native_client:libdeepspeech.so //native_client:generate_scorer_package
Platform OS
- Linux: Ubuntu 20.04.1
Python Environment
-
Python 3.6.13
-
Virtual env: VirtualBox 6.1.22 r144080
Package Installation
- DeepSpeech installed from source on GitHub
Click to see package list (package count: 156)
Package list from Pip
| Package | Version |
|---|---|
| absl-py | 0.13.0 |
| action-tutorials-py | 0.9.3 |
| alembic | 1.6.5 |
| ament-copyright | 0.9.6 |
| ament-cppcheck | 0.9.6 |
| ament-cpplint | 0.9.6 |
| ament-flake8 | 0.9.6 |
| ament-index-python | 1.0.2 |
| ament-lint | 0.9.6 |
| ament-lint-cmake | 0.9.6 |
| ament-package | 0.9.5 |
| ament-pep257 | 0.9.6 |
| ament-uncrustify | 0.9.6 |
| ament-xmllint | 0.9.6 |
| appdirs | 1.4.4 |
| astor | 0.8.1 |
| attrdict | 2.0.1 |
| attrs | 21.2.0 |
| audioread | 2.1.9 |
| beautifulsoup4 | 4.9.3 |
| bs4 | 0.0.1 |
| cached-property | 1.5.2 |
| certifi | 2021.5.30 |
| cffi | 1.14.5 |
| chardet | 4.0.0 |
| click | 7.1.2 |
| cliff | 3.8.0 |
| cmaes | 0.8.2 |
| cmd2 | 2.1.1 |
| colorama | 0.4.4 |
| colorlog | 5.0.1 |
| commonmark | 0.9.1 |
| confuse | 1.3.0 |
| dataclasses | 0.7 |
| decorator | 5.0.9 |
| deepspeech-training | 0.9.3 |
| demo-nodes-py | 0.9.3 |
| domain-coordinator | 0.9.2 |
| ds-ctcdecoder | 0.9.3 |
| examples-rclpy-executors | 0.9.4 |
| examples-rclpy-minimal-action-client | 0.9.4 |
| examples-rclpy-minimal-action-server | 0.9.4 |
| examples-rclpy-minimal-client | 0.9.4 |
| examples-rclpy-minimal-publisher | 0.9.4 |
| examples-rclpy-minimal-service | 0.9.4 |
| examples-rclpy-minimal-subscriber | 0.9.4 |
| gast | 0.2.2 |
| gatherup | 0.0.4 |
| google-pasta | 0.2.0 |
| greenlet | 1.1.0 |
| grpcio | 1.38.0 |
| h5py | 3.1.0 |
| idna | 2.10 |
| importlib-metadata | 4.5.0 |
| importlib-resources | 5.1.4 |
| joblib | 1.0.1 |
| Keras-Applications | 1.0.8 |
| Keras-Preprocessing | 1.1.2 |
| launch | 0.10.5 |
| launch-ros | 0.11.2 |
| launch-testing | 0.10.5 |
| launch-testing-ros | 0.11.2 |
| launch-xml | 0.10.5 |
| launch-yaml | 0.10.5 |
| librosa | 0.8.1 |
| llvmlite | 0.31.0 |
| Mako | 1.1.4 |
| Markdown | 3.3.4 |
| MarkupSafe | 2.0.1 |
| numba | 0.47.0 |
| numpy | 1.19.5 |
| opt-einsum | 3.3.0 |
| optuna | 2.8.0 |
| opuslib | 2.0.0 |
| osrf-pycommon | 0.1.10 |
| packaging | 20.9 |
| pandas | 1.1.5 |
| pbr | 5.6.0 |
| pip | 20.2.2 |
| pooch | 1.4.0 |
| prettytable | 2.1.0 |
| progressbar2 | 3.53.1 |
| prompt-toolkit | 3.0.19 |
| protobuf | 3.17.3 |
| pycparser | 2.20 |
| Pygments | 2.9.0 |
| pyparsing | 2.4.7 |
| pyperclip | 1.8.2 |
| python-dateutil | 2.8.1 |
| python-editor | 1.0.4 |
| python-utils | 2.5.6 |
| pytz | 2021.1 |
| pyxdg | 0.27 |
| PyYAML | 5.4.1 |
| quality-of-service-demo-py | 0.9.3 |
| questionary | 1.9.0 |
| requests | 2.25.1 |
| resampy | 0.2.2 |
| rich | 8.0.0 |
| ros2action | 0.9.9 |
| ros2bag | 0.3.7 |
| ros2cli | 0.9.9 |
| ros2component | 0.9.9 |
| ros2doctor | 0.9.9 |
| ros2interface | 0.9.9 |
| ros2launch | 0.11.2 |
| ros2lifecycle | 0.9.9 |
| ros2multicast | 0.9.9 |
| ros2node | 0.9.9 |
| ros2param | 0.9.9 |
| ros2pkg | 0.9.9 |
| ros2run | 0.9.9 |
| ros2service | 0.9.9 |
| ros2topic | 0.9.9 |
| rosidl-runtime-py | 0.9.1 |
| rpyutils | 0.2.0 |
| rqt-action | 0.4.9 |
| rqt-graph | 1.1.2 |
| rqt-gui | 1.1.1 |
| rqt-gui-py | 1.1.1 |
| rqt-msg | 1.0.4 |
| rqt-plot | 1.0.10 |
| rqt-publisher | 1.1.2 |
| rqt-py-console | 1.0.1 |
| rqt-reconfigure | 1.0.8 |
| rqt-service-caller | 1.0.4 |
| rqt-shell | 1.0.1 |
| rqt-srv | 1.0.2 |
| rqt-top | 1.0.1 |
| rqt-topic | 1.2.1 |
| scikit-learn | 0.24.2 |
| scipy | 1.5.4 |
| semver | 2.13.0 |
| setuptools | 45.0.0 |
| six | 1.16.0 |
| SoundFile | 0.10.3.post1 |
| soupsieve | 2.2.1 |
| sox | 1.4.1 |
| SQLAlchemy | 1.4.18 |
| sros2 | 0.9.4 |
| stevedore | 3.3.0 |
| teleop-twist-keyboard | 2.3.2 |
| tensorboard | 1.15.0 |
| tensorflow | 1.15.4 |
| tensorflow-estimator | 1.15.1 |
| termcolor | 1.1.0 |
| threadpoolctl | 2.1.0 |
| topic-monitor | 0.9.3 |
| tqdm | 4.61.1 |
| typing-extensions | 3.10.0.0 |
| urllib3 | 1.26.5 |
| wcwidth | 0.2.5 |
| Werkzeug | 2.0.1 |
| wheel | 0.33.6 |
| wrapt | 1.12.1 |
| zipp | 3.4.1 |
If you can help me with this problem I would be extremely grateful.
Thanks.
Regards
Patrick Philips.