cancel
Showing results for 
Search instead for 
Did you mean: 

How to use custom AI model for Stm32n6570?

Anhem
Associate III

My question is same the title. I know that you have zoo model with custom training script to training or fine tuning based on provided model. But I have a new model, that is trained in other environment, I exported it to ONNX. How can I deploy this model to this board? Thank you.

12 REPLIES 12
Anhem
Associate III

Hi @Julian E. 

Have a nice day.

Maybe you missed my above question. Please take a look.

Thank you.

Hello @Anhem,

 

Indeed, I forgot to answer sorry.

In my opinion, we still lack easy tutorial, starting from zero, integrating simple CNN and creating a small demo as you mentioned. We are working on it.

 

In the meantime, we already have some materials:

 

STM32N6 (DK board) getting started:

STM32N6-AI - AI software ecosystem for STM32N6 with Neural-ART accelerator - STMicroelectronics

Standalone or used with model zoo, you can find application example and source code for multiple use cases (image classification, object detection, segmentation etc).

In the docs, you can find how to integrate your own model manually, or you can find how to do it with model zoo here (image classification example): 

https://github.com/STMicroelectronics/stm32ai-modelzoo-services/blob/main/object_detection/deployment/README_STM32N6.md 

 

N6, NPU and ST Edge AI Core documentation:

You can find most information here: https://stedgeai-dc.st.com/assets/embedded-docs/index.html 

I would look in particular to these:

 

Then you also have X Cube AI for cube MX to generate a project for any MCU and integrate your model:

https://www.st.com/en/embedded-software/x-cube-ai.html#documentation 

This document in particular: https://www.st.com/resource/en/user_manual/um2526-getting-started-with-xcubeai-expansion-package-for-artificial-intelligence-ai-stmicroelectronics.pdf 

 

Have a good day,

Julian

 


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi @Julian E. 

Good morning.

In my opinion, we still lack easy tutorial, starting from zero, integrating simple CNN and creating a small demo as you mentioned. We are working on it.

Yes. That's good news. I am looking forward to see it. Please notify me when we have completed. I think that it is worth to build custom model from scratch, especially for beginnners.

Thanks for sharing other materials, I known these materials.