cancel
Showing results for 
Search instead for 
Did you mean: 

E010(InvalidModelError): Couldn't load Keras model

AI_I
Associate II

c84d46c9-9747-4f4c-b9c6-3c0103af8bf1.jpeg

I want to deploy a model I've trained on my STM processor using STM32 Cube AI, but I am encountering some issues. Could someone with experience in this area assist me? I don’t see any obvious issues in my model, but there could still be something wrong with it. Since I don’t have much experience in this area, any help would be greatly appreciated.
I am encountering an error when trying to perform the 'validate on desktop' operation. The error message is as follows:

E010(InvalidModelError): Couldn't load Keras model W:\BYS_Tez\LSTM\model_RNN.h5, Error when deserializing class 'InputLayer' using config={'batch_shape': [None, 10, 3], 'dtype': 'float32', 'sparse': False, 'name': 'input_layer_9'}. Exception encountered: Unrecognized keyword arguments: ['batch_shape']

I have attached the model. I would greatly appreciate any help with resolving this issue.

0 REPLIES 0