Ant-Brain / EfficientWord-Net

OneShot Learning-based hotword detection.
https://ant-brain.github.io/EfficientWord-Net/
Apache License 2.0
215 stars 34 forks source link

onnxruntime issue on raspberry pi zero 2w #53

Open rpatapa opened 2 months ago

rpatapa commented 2 months ago

Hi,

I was trying to install EfficientWord-Net on raspberry pi zero 2W.

I am having trouble installing the prerequisite - onnxruntime !

$ python test.py

Traceback (most recent call last): File "/home/aneka/test.py", line 2, in from eff_word_net.streams import SimpleMicStream File "/home/aneka/ewn/lib/python3.9/site-packages/eff_word_net/streams.py", line 4, in from eff_word_net.engine import HotwordDetector File "/home/aneka/ewn/lib/python3.9/site-packages/eff_word_net/engine.py", line 8, in from eff_word_net.audio_processing import First_Iteration_Siamese, ModelRawBackend, Resnet50_Arc_loss File "/home/aneka/ewn/lib/python3.9/site-packages/eff_word_net/audio_processing.py", line 8, in import onnxruntime as rt

ModuleNotFoundError: No module named 'onnxruntime'

$ pip install onnxruntime

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple

ERROR:` Could not find a version that satisfies the requirement onnxruntime

ERROR: No matching distribution found for onnxruntime

Any suggestions?