Keras ValueError: Unknown layer:name, when trying to load model to another platform

前端 未结 3 553
小鲜肉
小鲜肉 2021-01-24 11:16

I have trained a convolutional neural network using Keras 2.2.4 on Nvidia Quadro board. I have saved the trained model in tow separate files: one file (model.json) that describe

相关标签:
3条回答
  • 2021-01-24 11:52

    I had the same problem yesterday, I just updated keras through conda and everything worked perfectly.

    0 讨论(0)
  • 2021-01-24 12:02

    It turned out to be different tensorflow versions for me. The model was created with tensorflow v2.1.0 and I was trying to load it with tensorflow v1.10.0. Just make sure that tensorflow versions are consistent.

    0 讨论(0)
  • 2021-01-24 12:10

    just update the keras package to recent one using following command

    conda update keras

    0 讨论(0)
提交回复
热议问题