cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot Analyze Keras Model

ramyg1
Associate

Hi STM community, I'm a fairly new user of the STMcubeMX software. I followed this tutorial (https://youtu.be/grgNXdkmzzQ?si=gDybMlGQxgTNwpPC) and every time I try to analyse my model under the 'MCU/MPU Filters' tab it just stays greyed out and does not analyse/generate anything or give me any notification. 

 

I'm working with an STM32F746G-Disco to learn model integration and eventually implement my own onto the board.

Any help would be greatly appreciated. Thank you!

ramyg1_0-1738520699368.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
STea
ST Employee

Hello @ramyg1 ,

This is most probably a problem related to you paths in which the cube ai and model are placed which are exceeding 40 characters you will need to enable the long path in your system for it to work properly see How to enable long file path names in Windows 11 - Microsoft Q&A 
after enabling this I'm able to analyze the model and by the way it is bigger than internal flash size of your device 

STea_0-1738598147579.png

This is done by starting a project inside MX and not from the MCU selector interface this was reported internally for investigation under ticket number 202125 (for internal reference only)
Regards

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.

View solution in original post

1 REPLY 1
STea
ST Employee

Hello @ramyg1 ,

This is most probably a problem related to you paths in which the cube ai and model are placed which are exceeding 40 characters you will need to enable the long path in your system for it to work properly see How to enable long file path names in Windows 11 - Microsoft Q&A 
after enabling this I'm able to analyze the model and by the way it is bigger than internal flash size of your device 

STea_0-1738598147579.png

This is done by starting a project inside MX and not from the MCU selector interface this was reported internally for investigation under ticket number 202125 (for internal reference only)
Regards

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.