EfficientWord-Net icon indicating copy to clipboard operation
EfficientWord-Net copied to clipboard

onnxruntime issue on raspberry pi zero 2w

Open rpatapa opened this issue 1 year ago • 6 comments

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?

rpatapa avatar May 11 '24 17:05 rpatapa

Soon we will have a tflite model with much lower sizes, once that is created the current models would be deprecated, stay tuned

TheSeriousProgrammer avatar Aug 08 '24 20:08 TheSeriousProgrammer

Thank you,

I am not sure if you plan to continue resnet based detection or not, if yes, in the current version, its functionality does not work for new wakeword training. If the resent is going to exist in tflite based approach, please take a look at the associated issues so that it works too..! Thanks for noting!

rpatapa avatar Aug 26 '24 05:08 rpatapa

let me do one thing, will try to incorporate tiny classifiers on top of the embedding model to increase the robustness of the prediction, this should be fairly simple to make , will update soon

TheSeriousProgrammer avatar Aug 27 '24 20:08 TheSeriousProgrammer

let me do one thing, will try to incorporate tiny classifiers on top of the embedding model to increase the robustness of the prediction, this should be fairly simple to make , will update soon

Hi, is there any progress?

Jotakak-yu avatar Dec 05 '24 03:12 Jotakak-yu

Hi, Happy New year! Just wondering.. if the fine tuned tflite model can be made available. Thanks!

rpatapa avatar Jan 15 '25 08:01 rpatapa

Thanks for the amazing support guys will try my best to ship the feature by this week

TheSeriousProgrammer avatar Jan 19 '25 15:01 TheSeriousProgrammer