Skip to main content
Associate
May 14, 2025
Solved

ST Edge AI Developer Cloud Error Code Generating Error

  • May 14, 2025
  • 3 replies
  • 378 views

I have a tflite model that I want to test on my B-U585I-IOT02A Discovery kit, after some issues with X-Cube.AI expansion for CubeMX I decided to try use ST Edge AI Developer Cloud. Everything goes smoothly until I try to generate the code, All option to generate fail apart from the C code of the nn. As the error gives no explanation I have no clue of what happend and no way to fix it.Screenshot 2025-05-15 013447.png

Best answer by Julian E.

Hello @YuriM1,

 

I replicated it, we are working on a fix.

The issue is that the model triggers a timeout because of its size and the time it takes to finish the operation launched.

Have a good day,

Julian

3 replies

hamitiya
ST Employee
May 15, 2025

Hello @YuriM1 

It is possible that your model uses larger RAM and/or size than available on the target.

Did you try a benchmark on B-U585I-IOT02A to see it your model fits ?

Is it possible to share your model ?

 

Best regards,

Yanis

​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.
YuriM1Author
Associate
May 15, 2025

The model benchmarks without problems and does not use more RAM or flash than the maximum. I added some pictures of the benchmark session and it uses 1.16 MiB of flash over 2 and 349.87 KiB over 768 so it should fit and runs in 2 seconds approximately.

As .tflite cannot be uploaded here I added the repo where the model is in case it can be useful

https://github.com/YuriManna/Weed-Detection-eSys/blob/main/models/v4_pruned_0.566_full_integer_quant.tflite 

 

Screenshot 2025-05-15 130946.png

YuriM1_0-1747307549393.png

 

Julian E.
Julian E.Best answer
Technical Moderator
May 21, 2025

Hello @YuriM1,

 

I replicated it, we are working on a fix.

The issue is that the model triggers a timeout because of its size and the time it takes to finish the operation launched.

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.