Replies: 19 comments
-
>>> dkreutz |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> dan.bmh |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> dan.bmh |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> dan.bmh |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> dan.bmh |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> lissyx |
Beta Was this translation helpful? Give feedback.
-
>>> dan.bmh
[February 3, 2021, 2:52pm]
Hi,
is there are way to build the ctcdecoder package directly on a Raspberry
Pi?
I did try to execute the steps I'm using to build it on my Linux PC, but
this isn't working:
# Build ctcdecoder package
RUN apt-get update && apt-get install -y swig sox
RUN git clone --depth 1 https://github.com/mozilla/DeepSpeech.git
# The next line is required for building with shallow git clone
RUN sed -i 's/git describe --long --tags/git describe --long --tags --always/g' /DeepSpeech/native_client/bazel_workspace_status_cmd.sh
RUN apt-get update && apt-get install -y libmagic-dev
RUN cd /DeepSpeech/native_client/ctcdecode && make NUM_PROCESSES=$(nproc) bindings
# RUN pip3 install --upgrade /DeepSpeech/native_client/ctcdecode/dist/*.whl
The script does some work and gives me some c++ compiler warnings, but
finally fails with:
/DeepSpeech/native_client/ds-swig/share/swig/4.0.2/typemaps/swigtype.swg:608: Error: Syntax error in input(1).
error: command 'swig' failed with exit status 1
I've seen that it downloads a file from taskcluster for
amd64
architecture
https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.swig.linux.amd64.f0e5d1a0be7383abd98a29a75f47d5dc10a87ef2.0/artifacts/public/ds-swig.tar.gz
so I assume that I'm doing something that I shouldn't do...
slash
Do you know an easy way to fix this, or do I need to cross-compile the
.whl
file?[This is an archived TTS discussion thread from discourse.mozilla.org/t/building-ds-ctcdecoder-on-raspberrypi]
Beta Was this translation helpful? Give feedback.
All reactions