Python运行出错

mac2022-06-30  42

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

转载于:https://www.cnblogs.com/JadeZhao/p/11287505.html

最新回复(0)