(1)ValueError: You are trying to load a weight file containing 6 layers into a model with 5 layers.

解决方法:原先为model.load_weights('./0db.h5')

改为  model.load_weights('./0db.h5',by_name=True)

 

(2)

posted on 2019-08-02 11:21  JadeZhao  阅读(466)  评论(0编辑  收藏  举报