what is the best option for machine learning on esp32(s3)? #10786
Replies: 3 comments
-
Hi @JiewenGuan . It seems that not so many are working on Machine Learning with MicroPython (yet!). Did you get closer to something working? |
Beta Was this translation helpful? Give feedback.
-
I have started https://github.com/emlearn/emlearn-micropython - an implementation of scikit-learn compatible models for MicroPython. But emlearn has mel-spectrogram support, so we could add MicroPython bindings for that. |
Beta Was this translation helpful? Give feedback.
-
Jiewen I found also that can be interest for you (I hope). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good day,
I'm trying to detect spikes and categorize patterns from the i2s audio signals with theESP32-S3-DevKitC-1, similar to micro speech. I figure that I need to have ulab for FFT and some machine-learning framework to build a categorizer.
I was able to compile the ulab into the latest firmware as a user module, but for the ML frameworks, I've attempted with the tflm examples (https://github.com/mocleiri/tensorflow-micropython-examples), the build process returns success but all the s3 firmware doesn't run on my device (including the ones that I build on my computer and the ones from GitHub action artifacts). after flash the device will be stuck in a boot loop and prints out esp back trance in the serial port.
I've also attempted to build with the upytorch(https://github.com/ljk53/upytorch), but I have not had any success so far.
I find that all the projects above are using the CMAKE differently, the ulab uses the standard user module mechanism provided by micropython, but as someone with little C language experience, I find it quite difficult to understand the build mechanism the other two uses.
which framework should I use? or should I build a minimal neural net runner that accepts trained weights?
thanks,
Beta Was this translation helpful? Give feedback.
All reactions