cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying a deep learning model on NUCLEO-H753ZI

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

41 REPLIES 41

Hello @Julian E. 
Could you please check if the attached .h5 model has anything wrong...
It is not analyzing and always producing error...
If anything is wrong... please correct it and resend please


Analyzing model 
C:/Users/surya/STM32Cube/Repository/Packs/STMicroelectronics/X-CUBE-AI/10.0.0/Utilities/windows/stedgeai.exe analyze --target stm32h7 --name network -m C:/Users/surya/Downloads/updated_cnn.h5 --compression none --verbosity 1 --workspace C:/Users/surya/AppData/Local/Temp/mxAI_workspace1320364323860015601918210486046641 --output C:/Users/surya/.stm32cubemx/network_output 
ST Edge AI Core v2.0.0-20049 
E010(InvalidModelError): Couldn't load Keras model C:\Users\surya\Downloads\updated_cnn.h5, 
Error when deserializing class 'InputLayer' using config={'batch_shape': [None, 128, 1], 'dtype': 'float32', 'sparse': False, 'name': 'input_layer_11'}. 
Exception encountered: Unrecognized keyword arguments: ['batch_shape']

When activate X Cube AI and select Validate template, a window popped up asking me to provide the STEdgeAI-NPU package. Do you know how to solve this? Thanks!屏幕截图 2025-05-26 162108.png