ligang-cs / PseCo

An official implementation of the PseCo (ECCV2022)
Apache License 2.0
133 stars 19 forks source link

unexpected key in source state_dict: conv1.bias #7

Closed liyiying closed 1 year ago

liyiying commented 2 years ago

Hi, when I run the code (I only use the pretrained backbone resnet, and start training on my own dataset), I met this:

warnings.warn( 2022-09-13 15:15:48,002 - mmcv - INFO - load model from: open-mmlab://detectron2/resnet50_caffe 2022-09-13 15:15:48,002 - mmcv - INFO - Use load_from_openmmlab loader 2022-09-13 15:15:48,052 - mmcv - WARNING - The model and loaded state dict do not match exactly

unexpected key in source state_dict: conv1.bias

I don't know why and how to solve it? It seems like the progress can run, but if this will affect the performance or something else?

Looking forward to your reply!

ligang-cs commented 1 year ago

Unexpected key conv1.bias won't affect performance, just ignore it.