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

deepspeech: command not found #3803

Open
nengsidushane opened this issue Jul 3, 2024 · 2 comments
Open

deepspeech: command not found #3803

nengsidushane opened this issue Jul 3, 2024 · 2 comments

Comments

@nengsidushane
Copy link

hi,can you help me?thanks
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar   master ●  git clone https://github.com/mozilla/DeepSpeech.git
Cloning into 'DeepSpeech'...
remote: Enumerating objects: 23908, done.
remote: Total 23908 (delta 0), reused 0 (delta 0), pack-reused 23908
Receiving objects: 100% (23908/23908), 49.39 MiB | 8.34 MiB/s, done.
Resolving deltas: 100% (16402/16402), done.
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar   master ●  cd DeepSpeech/
/home/orangepi/ar/DeepSpeech
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar/DeepSpeech   master  curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.pbmm
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 180M 100 180M 0 0 9116k 0 0:00:20 0:00:20 --:--:-- 14.9M
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar/DeepSpeech   master ●  curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.scorer
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 909M 100 909M 0 0 12.4M 0 0:01:13 0:01:13 --:--:-- 10.2M
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar/DeepSpeech   master ●  curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/audio-0.9.3.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
100 194k 100 194k 0 0 78449 0 0:00:02 0:00:02 --:--:-- 1255k
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar/DeepSpeech   master ●  tar xvf audio-0.9.3.tar.gz
._audio
audio/
audio/._2830-3980-0043.wav
audio/2830-3980-0043.wav
audio/._Attribution.txt
audio/Attribution.txt
audio/._4507-16021-0012.wav
audio/4507-16021-0012.wav
audio/._8455-210777-0068.wav
audio/8455-210777-0068.wav
audio/._License.txt
audio/License.txt
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar/DeepSpeech   master ●  deepspeech --model deepspeech-0.9.3-models.pbmm --scorer deepspeech-0.9.3-models.scorer --audio audio/2830-3980-0043.wav
bash: deepspeech: command not found
orangepi@orangepi5  [c] (DeepSpeed) 3.6.15  ~/ar/DeepSpeech   master ●  cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy

@nengsidushane
Copy link
Author

I am using conda, python 3.6

@SSHpectator
Copy link

Hi,
try to intall deepspeech: pip install deepspeech or pip install --user deepspeech
than run the command: deepspeech --model deepspeech-0.9.3-models.pbmm --scorer deepspeech-0.9.3-models.scorer --audio audio/2830-3980-0043.wav

If you still get an error write: which deepspeech , so you will see where the binary is. If this command didn't find anything it means that you didn't install it.

Let me know,
Best regards

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