orhir/PoseAnything

checkpoint mismatch

XiongZhongxia opened this issue · 1 comments

Hi, thanks for your contribution!
When using --config configs/1shot-swin/base_split2_config.py --checkpoint pretrained/swinv2_base_22k_500k.pth for demo, I encountered the issue below:

、、、
The model and loaded state dict do not match exactly

unexpected key in source state_dict: model

missing keys in source state_dict: backbone.patch_embed.proj.weight, backbone.patch_embed.proj.bias, backbone.patch_embed.norm.weight, backbone.patch_embed.norm.bias, backbone.layers.0.blocks.0.norm1.weight...
、、、

Is swinv2_base_22k_500k.pth the correct checkpoint?

Hi, thanks for your contribution! When using --config configs/1shot-swin/base_split2_config.py --checkpoint pretrained/swinv2_base_22k_500k.pth for demo, I encountered the issue below:

、、、 The model and loaded state dict do not match exactly

unexpected key in source state_dict: model

missing keys in source state_dict: backbone.patch_embed.proj.weight, backbone.patch_embed.proj.bias, backbone.patch_embed.norm.weight, backbone.patch_embed.norm.bias, backbone.layers.0.blocks.0.norm1.weight... 、、、

Is swinv2_base_22k_500k.pth the correct checkpoint?

sorry I just found that the correct ckpt for demo is 1shot-swin_graph_split1.pth