PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

variance is not in pretrained model

Open jasper-cell opened this issue 2 years ago • 1 comments

问题确认 Search before asking

  • [X] 我已经搜索过问题,但是没有找到解答。I have searched the question and found no related answer.

请提出你的问题 Please ask your question

使用pplite-seg进行训练后,加载我自己训练的模型的时候报错: 2023-11-27 11:48:40 [INFO] Loading pretrained model from /mnt/data01/tanling/PaddleSeg-release-2.9/output_1126_jishi_ppliteseg1026/iter_65555/model.pdparams 2023-11-27 11:48:40 [WARNING] features.0.conv.weight is not in pretrained model 2023-11-27 11:48:40 [WARNING] features.0.bn.weight is not in pretrained model 2023-11-27 11:48:40 [WARNING] features.0.bn.bias is not in pretrained model 2023-11-27 11:48:40 [WARNING] features.0.bn._mean is not in pretrained model 2023-11-27 11:48:40 [WARNING] features.0.bn._variance is not in pretrained model 2023-11-27 11:48:40 [WARNING] features.1.conv.weight is not in pretrained model

具体的模型保存如下所示: image

请问这是什么原因呢?

jasper-cell avatar Nov 27 '23 03:11 jasper-cell

可以读取pdparams看下加在的模型键值和真实模型的结果是否对应。

shiyutang avatar Mar 01 '24 06:03 shiyutang