I am aware deepspeech on raspi would be experimental but I tried anyways.
I installed python3 on my Rasberry Pi (Raspian with ARMv7)
Then I did pip3 install deepspeech.
The library installed without any error.
I am trying to run pretrained models using command prompt but it gives me error ‘Illegal Instruction’ after it prints ‘Loading model from
/model/output_graph.pb’.
Does someone knows what to do to fix? or what to try?
Thanks in advance
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
2
RPi or RPi3 ? The very first RPi is not even ARMv7. We do specifically target the RPi3.
Hold on. Sorry. I think I misinterpreted. The raspberry I have is rpi2modelb v1.1. Will this still work?
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
7
Nope, RPi3B is Cortex-A53 which we target for, and yours is Cortex-A7. So it’s likely there’s differences in the instructions set. If you feel brave enough, it’s doable to rebuild (cross-compilation), but you will have to adjust a few flags to match your hardware when building: https://github.com/mozilla/tensorflow/blob/r1.6/tools/bazel.rc#L52-L56
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
8
Could you update your initial topic title ? So that people know easier it’s RPi2 v1.1 hardware.