cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying a deep learning model on NUCLEO-H753ZI

Pinagadi_Meghana
Associate II

Can anyone please help with the step by step process for deploying a deep learning model on NUCLEO-H753ZI board using STM32CubeIDE and XCubeAI package...
I am not able to do it even after trying multiple times...
please help me through this .... using a video or something... as i tried many solutions here...
Or i can provide the remote access of my system to you... if it is possible... 
It is really urgent and needed... 

17 REPLIES 17

Please respond mam... it will be really helpful

 

Julian E.
ST Employee

Hello @Pinagadi_Meghana ,

It blocks at 70%, I wait a little bit after that and close it. I don't know if waiting helps, that just what I did and it worked.

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.

I did that too.... but ended with the same error

Julian E.
ST Employee

It is very strange...

Can you try to use the dev Cloud instead: Session - ST Edge AI Developer Cloud

 

  • Load you model to the dev Cloud
  • Select the STM32 MCU as platform
  • Quantize it if not already done and optimize it following the step
  • Click to "Go to benchmark"

First try to benchmark it on the STM32h7 Disco or any other powerful board) and tell me if you get an estimation of the inference time.

JulianE_0-1741616347666.png

 

Then in the last step,

  • download the .elf of the project
  • Select you board
  • flash it to your board with STM32CubeProgrammer and open a serial terminal with a baudrate of 115200 to see if you get metrics via serial of your model running on the board.

JulianE_1-1741616501443.png

 

If this works, you can download the MX or IDE project to have the sources instead of the .elf firmarwe.

 

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.

If u dont mind.... please help me with this doubt...

After downloading .elf file... how to open that in IDE ....

Can u please send screenshots from start to end(like u have done before).... please....

Hello @Pinagadi_Meghana ,

 

You need to open it with STM32CubeProgrammer:

  1. Connect the board to the pc and click connect in STM32CubeProgrammer
  2. Go to the left and click the second icon
  3. Browse for your .elf
  4. Click Start programming

JulianE_0-1741681510608.png

 

Then if you open Tera Term for example, select the right COM Port and set the baudrate to 115200, you should have the results of inference with a random input:

JulianE_1-1741681610301.png

 

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.

Is this the end output i should get???

there are no accuracies... so i got doubt....

please clarify

Hello @Pinagadi_Meghana,

 

Yes, there is no accuracy because this code only does the inference with a random input (and this random input has no label, so you don't have an accuracy).

With this we at least have confirmed that your board and model works.

Now, you can try to download the MX project instead of the .elf. When opening it, you should have everything set in STM32CubeMX, so you can try a validation on target.

 

Let me know how it went.

 

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.