zamia-speech icon indicating copy to clipboard operation
zamia-speech copied to clipboard

Install on a Raspberry Pi 4

Open sushipan opened this issue 4 years ago • 9 comments

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 avatar Apr 05 '20 13:04 sushipan

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 ?

sushipan avatar Apr 06 '20 03:04 sushipan

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

gooofy avatar Apr 06 '20 12:04 gooofy

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

sushipan avatar Apr 07 '20 03:04 sushipan

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

man4567890 avatar May 20 '20 11:05 man4567890

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

r4nc0r avatar May 29 '20 09:05 r4nc0r

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

sushipan avatar Jun 05 '20 13:06 sushipan

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

DG9UBF avatar Jul 07 '20 09:07 DG9UBF

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

dolomiti70 avatar May 13 '21 13:05 dolomiti70

You can find precompiled binaries for Raspberry Pi here:

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

pguyot avatar Jun 12 '22 07:06 pguyot