2025-07-16 2:30 PM - last edited on 2025-07-16 2:55 PM by Andrew Neil
Original title (over long): "using stedgeai, i can generate network.c/ network_data.c/ network_data_params.c, however, how can i generate the ll-aton runtime related files?"
Dear ST.
How can I generate the ll-aton runtime related file with my weight such as network.c, network_data.c, network_params.c? i already generate the above c files using stedgeai cli command.
I fine-tune the weight of yolov8n.pt with my dataset to best.pt and best.onnx.
i can convert best.onnx to saved_models or h5, eventually tflite which includes quantization int8.
after that, using stedgeai cli, it is easy to me for generating the above c files. however i can't generated aton related files. how can i generate the aton related files?
for the information, i use the stm32n657 nucleo board.
2025-07-17 12:28 AM - edited 2025-07-17 12:28 AM
Hello @yiulsup,
To get atonn related files, you need to have a quantized model in int8, else, your model will be mapped in SW (software: MCU). And more importantly, you need to use this option in the generate command: --st-neural-art.
For example:
stedgeai generate -m model.onnx --target stm32n6 --st-neural-art
https://stedgeai-dc.st.com/assets/embedded-docs/stneuralart_getting_started.html
Have a good day,
Julian