cancel
Showing results for 
Search instead for 
Did you mean: 

Validation Error: Unable to generate the "libai_network" library

Jinchen
Associate II

 

Hello,

I am currently working on validating a machine learning model that I have deployed on an STM32 microcontroller. While the model successfully runs on the STM32, the results it produces differ significantly from those obtained when running the model on a computer.

Additionally, when I attempt to perform validation on a desktop environment, I encounter the following error: 

E103(CliRuntimeError): Unable to generate the "libai_network" library.

Since the website could not accept the .tflite file, I have attached the picture of the structure of the model. The model was trained using TensorFlow 2.17 and utilizes approximately 75KB of flash memory and 15KB of RAM.

I would greatly appreciate any guidance or assistance in resolving these issues.

Thank you!

10 REPLIES 10

I have correct inference loop on my side with this project, could you please give it a shot and see if it is ok on your side?

 

Could you also share with us what is your version of STM32CubeMX ?

Thanks

 


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.