Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install on a Raspberry Pi 4 #102

Open
sushipan opened this issue Apr 5, 2020 · 9 comments
Open

Install on a Raspberry Pi 4 #102

sushipan opened this issue Apr 5, 2020 · 9 comments

Comments

@sushipan
Copy link

sushipan commented Apr 5, 2020

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
Copy link
Author

sushipan commented Apr 6, 2020

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
Copy link
Owner

gooofy commented Apr 6, 2020

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
Copy link
Author

sushipan commented Apr 7, 2020

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
Copy link

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

@r4nc0r
Copy link

r4nc0r commented May 29, 2020

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

@sushipan
Copy link
Author

sushipan commented Jun 5, 2020

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
Copy link

DG9UBF commented Jul 7, 2020

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
Copy link

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
Copy link
Contributor

pguyot commented Jun 12, 2022

You can find precompiled binaries for Raspberry Pi here:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants