dscripka / openWakeWord

An open-source audio wake word (or phrase) detection framework with a focus on performance and simplicity.
Apache License 2.0
629 stars 59 forks source link

Update onnx to tflite conversion to remove onnx-tf #75

Open dscripka opened 10 months ago

dscripka commented 10 months ago

There is an alternate way to convert .onnx models to tflite that doesn't require the no-longer-maintained onnx-tf library:

https://github.com/dscripka/openWakeWord/issues/70#issuecomment-1783151333

The training scripts and example notebooks should be updated to use this method.

alior101 commented 7 months ago

Found another way: with https://github.com/MPolaris/onnx2tflite.git converter.py --weights "/my_custom_model/al-lexa.onnx" --outpath "/my_custom_model/" --formats "tflite"