mozilla / DeepSpeech

DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.

Repository from Github https://github.commozilla/DeepSpeechRepository from Github https://github.commozilla/DeepSpeech

deepspeech: command not found

nengsidushane opened this issue · comments

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

I am using conda, python 3.6

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