Issue:
I trained an image classification model on Edge Impulse and wanted to deploy it on the OpenMV N6 using the OpenMV Library export format from Edge Impulse. I used the below steps for that:
- Trained and validated a model on Edge Impulse
- Exported using Deployment → OpenMV Library in Edge Impulse — downloaded the
.zipcontaining the.tflitemodel file and theei_libraryPython bindings - Copied the
.tflitefile to the N6’s PYBFLASH storage - Attempted to load it using:
import ml
model = ml.Model("my_model.tflite")
Error received:
RuntimeError: Failed to load network
Device: OpenMV N6 (STM32N657X0, Neural-ART NPU)
IDE Version: OpenMV IDE 4.8.9
Firmware: v4.8.1
I also tried Edge Impulse Firmware deployment option but found that there is no supported option for the OpenMV N6 in that.
Is there a supported path to run an Edge Impulse OpenMV Library export on the OpenMV N6? Or is there a different loading method for standard TFLite on the N6?
Thanks
Swathi