Error while analyzing my deep learning model(.h5) in stm32 mx (board used is nucleo-h753zi)
- March 24, 2025
- 1 reply
- 728 views
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']
