gooofy / zamia-speech

Open tools and data for cloudless automatic speech recognition
GNU Lesser General Public License v3.0
443 stars 86 forks source link

Install on a Raspberry Pi 4 #102

Open sushipan opened 4 years ago

sushipan commented 4 years ago

Hello, when I run the following code,I was meet an error, "You don't have permission to access /repo-ai/raspbian/stretch/armhf on this server"

# execute with root permissions (sudo -i):

echo "deb http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf/ ./" >/etc/apt/sources.list.d/zamia-ai.list
wget -qO - http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf/bofh.asc | sudo apt-key add -
apt-get update
apt-get install kaldi-chain-zamia-speech-de kaldi-chain-zamia-speech-en python-kaldiasr python-nltools pulseaudio-utils pulseaudio

This is the console output :

Err:5 http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ InRelease
403 Forbidden [IP: 116.203.55.168 443] Reading package lists... Done
E: Failed to fetch http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf/./InRelease 403 Forbidden [IP: 116.203.55.168 443] E: The repository 'http://goofy.zamia.org/repo-ai/raspbian/stretch/armhf ./ InRelease' is not signed. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package kaldi-chain-zamia-speech-de E: Unable to locate package kaldi-chain-zamia-speech-en E: Unable to locate package python-kaldiasr E: Unable to locate package python-nltools

sushipan commented 4 years ago

Can not manually to install , Because this link can not open "http://goofy.zamia.org/repo-ai" And return 403 Forbidden , can you upload the source on the link to github ?

gooofy commented 4 years ago

I wonder why that URL keeps popping up - tought I had removed it from the README a long time ago. Anyway, package sources can be found on github here:

https://github.com/gooofy/zamia-dist

sushipan commented 4 years ago

Thank you! I'll try ! And I found the code on the readme file at the pre-trained model and the link cannot reach at this image

man4567890 commented 4 years ago

Hi So how do you add the key from github please, I'm trying to install it on a Raspberry PI4 Regards

r4nc0r commented 4 years ago

Could you please show us how we can use github as a package source?

sushipan commented 4 years ago

if you just run the pre-trained model ,you can use the following command /opt/kaldi/src/online2bin/online2-wav-nnet3-latgen-faster --do-endpointing=false --online=false --feature-type=mfcc --mfcc-config=/opt/kaldi/egs/kaldi-generic-en-tdnn_250-r20190609/conf/mfcc.conf --max-active=7000 --beam=15.0 --lattice-beam=6.0 --acoustic-scale=1.0 --ivector-extraction-config=/opt/kaldi/egs/kaldi-generic-en-tdnn_250-r20190609/ivectors_test_hires/conf/ivector_extractor.conf --word-symbol-table=/opt/kaldi/egs/kaldi-generic-en-tdnn_250-r20190609/model/graph/words.txt /opt/kaldi/egs/kaldi-generic-en-tdnn_250-r20190609/model/final.mdl /opt/kaldi/egs/kaldi-generic-en-tdnn_250-r20190609/model/graph/HCLG.fst 'ark:echo utter1 utter1|' 'scp:echo utter1 /opt/kaldi/egs/3_5_10_2_10.wav|' ark:/dev/null

DG9UBF commented 4 years ago

Has anyone managed to install Zamia on an RPI4 yet? I just can't get it to work, even with the steps described above

dolomiti70 commented 3 years ago

I've been trying to install either Zamia or Kaldi-asr to support the Sepia Framework SST. Sadly I haven't been able to get them to work as the links no longer work, and the name of the packages seems to have changed and possibly not supported anymore? Any information that could steer me in the right direction would be helpful Thanks

pguyot commented 2 years ago

You can find precompiled binaries for Raspberry Pi here:

https://github.com/pguyot/kaldi/releases https://github.com/pguyot/py-kaldi-asr/releases