Question
Error when converting from .tflite to .nb with the --target option
Hello
ST Edge AI: Guide for STM32MPU 、 Section 3.2.1. Referring to “Generate NBG from TensorFlow™ Lite or ONNX,”
I converted the .tflite file downloaded from ModelZoo to .nb, but I’m getting an error.
$ /opt/ST/STEdgeAI/4.0/Utilities/linux/stedgeai generate -m ./yolov8n_256_quant_pc_uf_od_coco-person-st.tflite --target stm32mp25
ST Edge AI Core v4.0.1-20581 7ed50de05
E102(CliArgumentError): stm32mp25 not recognized as target. Supported targets are
ispu --device DEVICE
mlc
stm32f4
stm32l4
stm32l4p
stm32g4
stm32f3
stm32wb
stm32n6 [--st-neural-art]
stm32f0
stm32l0
stm32g0
stm32c0
stm32wl
stm32v8
stm32u3 [--hsp]
stm32h7
stm32f7
stm32u5
stm32l5
stm32h5
stm32c5
stm32mp157c
If you change the target name slightly, you'll get the following error:
$ /opt/ST/STEdgeAI/4.0/Utilities/linux/stedgeai generate -m ./yolov8n_256_quant_pc_uf_od_coco-person-st.tflite --target stm32mp2
ST Edge AI Core v4.0.1-20581 7ed50de05
E102(CliArgumentError): stm32mp2 is not availableCould you tell me how to convert a .tflite file to a .nb file that can be used on the STM32MP255?
ST EdgeAI is using the latest version, 4.1.
--
Best Regards
