Skip to content Skip to sidebar Skip to footer

Keras Valueerror: Unknown Layer:name, When Trying To Load Model To Another Platform

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 describes t

Solution 1:

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

Solution 2:

just update the keras package to recent one using following command

conda update keras

Solution 3:

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.

Post a Comment for "Keras Valueerror: Unknown Layer:name, When Trying To Load Model To Another Platform"