2024-03-25 10:59 AM
Can I run a Machine Learning model using Tensor flow lite or Edge Impulse on STM32F103C8T6 with 64kb flash.
Actually I don't have any choice but to try to run the ML model on Blue pill, because my there is unavailability of other MCU boards at the institute.
Any kind of help would be appreciated !
2024-03-25 12:34 PM
Some models should fit on the 64kb of flash budget.
FYI you could also try https://stm32ai.st.com/nanoedge-ai/ or https://stm32ai.st.com/stm32-cube-ai/ tools to fit models on your Blue pill board.
After another option to run models (neural networks) in hardware you do not have in your hands is to try our developer cloud https://stm32ai.st.com/stm32-cube-ai-dc/
There you can tests NN models on our board farm and get idea of inference times
2024-03-25 12:44 PM
Thanks for replying !
If I use a blue pill with 128kb of flash, then there should be no problem, Right ?
Also I can opt for either tensorflow, edge impulse or stm32ai, does it affect the result, reliability and time required to build neural networks ?
Thanks in advance !
2024-03-25 03:35 PM
Regarding memory size it all depends on what you want to do, what input data you are analyzing.
Regarding tools Tensorflow and Edge impulse tools should help you to create and train your NN.
The stm32Cube.ai tool will "compile" a pre-trained NN to make it run on an STM32 micro but you will have to train it with other tools.