Skip to main content
SKim.9
Associate II
June 28, 2022
Solved

Unable to load my keras model.

  • June 28, 2022
  • 2 replies
  • 1465 views

Hi,

I created my own model and saved it as .h5.

However, when I analysed I got the error below.

0693W00000NsrOBQAZ.png 

E010(InvalidModelError): Couldn't load Keras model D:\motion.h5,

E010(InvalidModelError): Model saved with Keras 2.9.0 but <= 2.6.0 is supported

Do you have any ideas on how I could handle this situation?

Thanks,

    This topic has been closed for replies.
    Best answer by fauvarque.daniel

    X-Cube-AI 7.2 that will be available early next week has been built with support of Tensorflow/Keras 2.9.

    You should be able to import your model with that version.

    Regards

    Daniel

    2 replies

    fauvarque.daniel
    fauvarque.danielBest answer
    ST Employee
    June 28, 2022

    X-Cube-AI 7.2 that will be available early next week has been built with support of Tensorflow/Keras 2.9.

    You should be able to import your model with that version.

    Regards

    Daniel

    SKim.9
    SKim.9Author
    Associate II
    June 29, 2022

    I downgraded the version as 2.6.0 and it works well.

    Thank you so much.