ValueError: You are trying to load a weight file containing 16 layers into a model with 19 layers.出错

ValueError: You are trying to load a weight file containing 16 layers into a model with 19 layers.

像这些提示出的问题,其出错的真正原因是你的训练时候导入的模型不准确或者说你的导入的该模型的路径是错的。如何解决就是直接找到yml配置文件修改路径,即可。或者重新放置一个新的model。重新测试。。。。。

Supongo que te gusta

Origin blog.csdn.net/weixin_44885180/article/details/114307017
Recomendado
Clasificación