Skip to main content
Associate II
August 31, 2024
Solved

Maximum Model Size for STM32F303ZE in Machine Learning Projects?

  • August 31, 2024
  • 1 reply
  • 1132 views

I've successfully implemented a small machine learning model on the STM32F303ZE, and it's working well so far. However, I’m curious about the maximum size of the model that this microcontroller can handle. Has anyone experimented with larger models on the STM32F303ZE? What are the limitations in terms of model size, and at what point should I consider switching to another board?

Best answer by Julian E.

Hello @shreyaschandran ,

 

Sorry for the late answer.

Basically, there are 2 factors that may force you to change board:

  • You don't have enough RAM/Flash to use the model you want
  • You consider the inference time being too big and you want to get a more powerful MCU.

I would say that you can stay on your current board as long as it is ok for you and when you encounter an issue, you can look at a board that satisfy your needs based on the model you are trying to implement.

 

There are multiple tools within ST that can help you that:

 

Best regards,

Julian 

 

 

 

1 reply

Julian E.
Julian E.Best answer
Technical Moderator
September 25, 2024

Hello @shreyaschandran ,

 

Sorry for the late answer.

Basically, there are 2 factors that may force you to change board:

  • You don't have enough RAM/Flash to use the model you want
  • You consider the inference time being too big and you want to get a more powerful MCU.

I would say that you can stay on your current board as long as it is ok for you and when you encounter an issue, you can look at a board that satisfy your needs based on the model you are trying to implement.

 

There are multiple tools within ST that can help you that:

 

Best regards,

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.
Associate II
September 26, 2024

Thanks, this helps a lot.