Raspberry Pi 4 + DeepSpeech 0.6: whl? install tutorial?

Hi,

Which DeepSpeech 0.6 whl and model are appropriate for Raspberry Pi 4?
Is there an install tutorial?

thanks in advance,
Jhave

I’m not really sure what kind of tutorial you might want. Just install the flavor (C++ with native_client.tar.xz, Python or NodeJS) and run with the output_graph.tflite file that is packaged in the model release.

pip install deepspeech does work as well as npm install deepspeech.

pip install deepspeech does work as well

thanks @lissyx @abdellahnadi1 i took the simple path and installed using pip … then used

deepspeech --model models/output_graph.TFLite --audio my_audio_file.wav 

which resulted in an error mssg tht tells me to reinstall numpy, which i did… same error results

anyone out there successfully installed to Raspberry Pi4 running Raspian Buster? pls advise!

thanks in advance
Jhave

Traceback (most recent call last):

File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/numpy/core/init.py”, line 24, in
from . import multiarray
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/numpy/core/multiarray.py”, line 14, in
from . import overrides
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/numpy/core/overrides.py”, line 7, in
from numpy.core._multiarray_umath import (
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/numpy/init.py”, line 142, in
from . import core
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/numpy/core/init.py”, line 54, in
raise ImportError(msg)
ImportError:

IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

Importing the numpy c-extensions failed.

  • Try uninstalling and reinstalling numpy.

  • If you have already done that, then:

    1. Check that you expected to use Python3.7 from “/home/pi/deepspeech-venv/bin/python3”,
      and that you have no directories in your PATH or PYTHONPATH that can
      interfere with the Python and numpy version “1.18.0” you’re trying to use.
    2. If (1) looks fine, you can open a new issue at
      https://github.com/numpy/numpy/issues. Please include details on:
      • how you installed Python
      • how you installed numpy
      • your operating system
      • whether or not you have multiple versions of Python installed
      • if you built from source, your compiler versions and ideally a build log
  • If you’re working with a numpy git repository, try git clean -xdf
    (removes all files not under version control) and rebuild numpy.

Note: this error has many possible causes, so please don’t comment on
an existing issue about this - open a new one instead.

Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory

Traceback (most recent call last):
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/deepspeech/impl.py”, line 14, in swig_import_helper
return importlib.import_module(mname)
File “/home/pi/deepspeech-venv/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 670, in _load_unlocked
File “”, line 583, in module_from_spec
File “”, line 1043, in create_module
File “”, line 219, in _call_with_frames_removed
ImportError: numpy.core.multiarray failed to import

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/home/pi/deepspeech-venv/bin/deepspeech”, line 5, in
from deepspeech.client import main
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/deepspeech/init.py”, line 23, in
from deepspeech.impl import PrintVersions as printVersions
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/deepspeech/impl.py”, line 17, in
_impl = swig_import_helper()
File “/home/pi/deepspeech-venv/lib/python3.7/site-packages/deepspeech/impl.py”, line 16, in swig_import_helper
return importlib.import_module(’_impl’)
File “/home/pi/deepspeech-venv/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named ‘_impl’

You need to install some extra deps: https://packages.debian.org/search?searchon=contents&keywords=libf77blas.so.3