Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where to get or use deepspeech_training #3759

Open
rescue1155 opened this issue Jan 14, 2023 · 1 comment
Open

Where to get or use deepspeech_training #3759

rescue1155 opened this issue Jan 14, 2023 · 1 comment

Comments

@rescue1155
Copy link

rescue1155 commented Jan 14, 2023

Hi there,

Please help me to solve the ModuleNotFoundError
I'm trying to train own small model for few lines.

(deepspeech) root@teeee:~/deepspeech/DeepSpeech# python DeepSpeech.py 
Training package is not installed. See training documentation.
Traceback (most recent call last):
  File "/root/deepspeech/DeepSpeech/DeepSpeech.py", line 7, in <module>
    from deepspeech_training import train as ds_train
ModuleNotFoundError: No module named 'deepspeech_training'
(deepspeech) root@teeee:~/deepspeech/DeepSpeech#

@rajeck1234
Copy link

This Issue gonna work you need to add your browser driver in google clob because in google cloab is a better platform for doing this type of issue. because in some time we found that our computer path problem.
basically trackback error occur when something flow out of range where the python file could not understand
(you can add this driver to clob after that pip3 install --upgrade --force-reinstall -e .?)just below the driver code
please do this in google drive your error gonna fix.
(%%shell

Ubuntu no longer distributes chromium-browser outside of snap

Proposed solution: https://askubuntu.com/questions/1204571/how-to-install-chromium-without-snap

Add debian buster

cat > /etc/apt/sources.list.d/debian.list <<'EOF'
deb [arch=amd64 signed-by=/usr/share/keyrings/debian-buster.gpg] http://deb.debian.org/debian buster main
deb [arch=amd64 signed-by=/usr/share/keyrings/debian-buster-updates.gpg] http://deb.debian.org/debian buster-updates main
deb [arch=amd64 signed-by=/usr/share/keyrings/debian-security-buster.gpg] http://deb.debian.org/debian-security buster/updates main
EOF

Add keys

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DCC9EFBF77E11517
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 112695A0E562B32A

apt-key export 77E11517 | gpg --dearmour -o /usr/share/keyrings/debian-buster.gpg
apt-key export 22F3D138 | gpg --dearmour -o /usr/share/keyrings/debian-buster-updates.gpg
apt-key export E562B32A | gpg --dearmour -o /usr/share/keyrings/debian-security-buster.gpg

Prefer debian repo for chromium* packages only

Note the double-blank lines between entries

cat > /etc/apt/preferences.d/chromium.pref << 'EOF'
Package: *
Pin: release a=eoan
Pin-Priority: 500

Package: *
Pin: origin "deb.debian.org"
Pin-Priority: 300

Package: chromium*
Pin: origin "deb.debian.org"
Pin-Priority: 700
EOF

Install chromium and chromium-driver

apt-get update
apt-get install chromium chromium-driver
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants