cancel
Showing results for 
Search instead for 
Did you mean: 

ST Edge AI Developer Cloud Error Code Generating Error

YuriM1
Visitor

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

2 REPLIES 2
hamitiya
ST Employee

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.
YuriM1
Visitor

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