cancel
Showing results for 
Search instead for 
Did you mean: 

error deserializing class "inputLayer" Exception encountered: Unrecognized keyword arguments:["batch_shape"]]

qs202310
Associate III

qs202310_0-1738934592410.png

I have useed TensorFlow Version 2.18.0 and keras version 3.8.0 to design and train GRU Model. The GRU model was analysed with X-Cube-AI 10.0.0. The error results are in the picture above. 

Please help me sort the problem. Thanks.

 

4 REPLIES 4
Julian E.
ST Employee

Hello @qs202310 ,

Can you share your model in a .zip file please

 

Have a good day,

Julian


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.

Hello Julian,

 the model file is attached with this message.

 

QS

The issue has been sorted out by using the model in .tflite format. I do not know yet why do the .h5 & .hdf5 format have the issue.

QS

Julian E.
ST Employee

Hello @qs202310,

 

Nice, thanks for your comment.

Your input size for the original model is [None,20,9], sometimes it creates errors.

Can you share your quantized model please? With the ST tool, I get errors when trying to quantize the model.

I would like to see what you've done.

 

Have a good day,

Julian


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.