Skip to main content
Visitor II
September 7, 2026
Question

How to replace AI model in STM32N6570-DK ImageClassification sample for standalone operation

  • September 7, 2026
  • 0 replies
  • 5 views

Body:

I would like to replace the AI model in the STM32N6570-DK sample project "STM32N6-GettingStarted-ImageClassification" and run it in standalone mode.

Purpose:
My goal is simply to try running different AI models, not for development purposes. I would like to confirm operation by powering the board ON/OFF without using a debugger.

Environment:

  • Board: STM32N6570-DK
  • IDE: STM32CubeIDE 2.2.0
  • STM32CubeAI Studio

What I want to do:
I am currently trying to generate C code using STM32CubeAI Studio from the following AI model provided by STMicroelectronics, and replace the files in the sample project:

https://github.com/STMicroelectronics/stm32ai-modelzoo/blob/main/image_classification/mobilenetv2/Public_pretrainedmodel_public_dataset/ImageNet/mobilenetv2_a035_128/mobilenetv2_a035_128_int8.tflite

I am also interested in whether it is possible to run third-party AI models in the same way, such as models from the following repository:

https://github.com/PINTO0309/PINTO_model_zoo

Questions:

  1. What is the correct procedure to replace the C code generated by STM32CubeAI Studio into the sample project and run it in standalone mode (power ON/OFF)?
  2. Is it also possible to run third-party models that are not provided by ST in the same way?

Thank you in advance for your help.