(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)
(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)