Does Any one got “AttributeError: 'str' object has no attribute 'decode' ” , while Loading a Keras Saved Model

后端 未结 5 1897
轮回少年
轮回少年 2021-01-01 17:01

After Training, I saved Both Keras whole Model and Only Weights using

model.save_weights(MODEL_WEIGHTS) and model.save(MODEL_NAME)

Models

5条回答
  •  余生分开走
    2021-01-01 17:43

    For me it was the version of h5py that was superior to my previous build.
    Fixed it by setting to 2.10.0.

提交回复
热议问题