You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
Big thanks to you. I also had issues understanding the Readme and errors oncurred. After following your introduction all was clear and I can customize my "workflow". Are you able to make a PR?
I previously suggested that we could add these steps to the Quickstart, but now I've come to think that these steps should be automatic so that users of this library can do cargo build and cargo run, and it will "just work".
One could try implementing this automation using build.rs or shell scripts. The issue is that Mozilla Deepspeech and Tensorflow are difficult to compile (in my experience).
My exploration into automating these steps ended when I didn't manage to compile Mozilla Deepspeech and Tensorflow on my platform. Anyone who wants, feel free to investigate this further.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I had trouble understanding the Quickstart guide in the README, but eventually got it working.
Maybe we could update the Quickstart guide to show the exact steps (to try it) on each platform?
In case it helps someone, here is what I did to try deepspeech-rs on Linux (Manjaro):
git clone [email protected]:RustAudio/deepspeech-rs.git
cd deepspeech-rs
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.pbmm
mkdir models
mv deepspeech-0.9.3-models.pbmm ./models
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/native_client.amd64.cpu.linux.tar.xz
mkdir native_client
tar xf native_client.amd64.cpu.linux.tar.xz --directory=./native_client
export LD_LIBRARY_PATH=./native_client
export LIBRARY_PATH=./native_client
arecord -f cd -c 1 test.wav
Say "one two three" and then press Ctrl-c
cargo run --release --example client ./models ./test.wav
Look at the output, which should be "one two three"
All done! To try other words/sentences, do steps 11 to 13
The text was updated successfully, but these errors were encountered: