I installed deepspeech 7 release and try test recognition. All worked ok. After this i try ro prepare dataset according to instruction https://deepspeech.readthedocs.io/en/v0.7.0/TRAINING.html
.
I try
bin/import_cv2.py --filter_alphabet path/to/some/alphabet.txt /path/to/extracted/language/archive
Traceback (most recent call last):
File ābin/import_cv2.pyā, line 18, in
from deepspeech_training.util.downloader import SIMPLE_BAR
ModuleNotFoundError: No module named ādeepspeech_trainingā
ALL directorys from distibution are present.
(deepspeech-train-venv) (base) v@gpu:~/ASR/DeepSpeech$ dir
bazel.patch
BIBLIOGRAPHY.md
bin
build-python-wheel.yml-DISABLED_ENABLE_ME_TO_REBUILD_DURING_PR
CODE_OF_CONDUCT.md
CONTRIBUTING.rst
data
DeepSpeech.py
deepspeech_training
doc
Dockerfile
evaluate.py
evaluate_tflite.py
examples
GRAPH_VERSION
images
ISSUE_TEMPLATE.md
LICENSE
lm_optimizer.py
native_client
README.rst
RELEASE.rst
requirements_eval_tflite.txt
requirements_tests.txt
requirements_transcribe.txt
setup.py
stats.py
SUPPORT.rst
taskcluster
tests
training
transcribe.py
util
VERSION
Please help me how to solve this problem.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
2
I missed part recommendations ( i want to try without GPU for begin).
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
4
Iām wondering if you are running importer with the proper Python binary ā¦ Could you please verify / share logs to ensure your install was successfull?
This explicitely states you have not properly installed.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
5
Please pip list and pip3 list before running bin/import_cv2.py
Why should i install deepseepch for using with pip but install for training with git clone ( not with pip) ?
Can i use first enviroments ( for recognition ) for training ?
Training and inference are completely separate tasks. If you just want to do inference, you donāt have to install the training package. If you just want to do training, you donāt have to install the inference package. This is why the training package is called deepspeech_training, to make it extra clear what itās for.
You should ideally use separate virtual environments for training and inference.
The error you got is because DeepSpeech.py is not executable. Use python DeepSpeech.py as we show in the docs. You should familiarize yourself with the Linux command-line, itāll help you immensely with training tasks (and in general).
Thanks for explanations. I expected this difference. Python DeepSpeech works ( but give some errors during execution).
I think it wold be better to give exact commands in documentation with python command.
bin/import_cv2.py ā¦
works without python bin/import_cv2.py
Ugh, I just realized there were some commands in docs using ./ instead of calling Python directly. Iāve made a PR fixing it. Thanks for the feedback.