Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The weight size of pretrained model Cswin-L is not the same with the script? #34

Open
Sunting78 opened this issue Apr 20, 2022 · 1 comment

Comments

@Sunting78
Copy link

[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: merge3.conv.weight will not be loaded. Please double check and see if this is desired.
[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: Shape of merge3.norm.bias in checkpoint is torch.Size([1152]), while shape of backbone.merge3.norm.bias in model is torch.Size([576]).
[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: merge3.norm.bias will not be loaded. Please double check and see if this is desired.
[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: Shape of merge3.norm.weight in checkpoint is torch.Size([1152]), while shape of backbone.merge3.norm.weight in model is torch.Size([576]).
[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: merge3.norm.weight will not be loaded. Please double check and see if this is desired.
[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: Shape of stage4.0.attns.0.get_v.bias in checkpoint is torch.Size([1152]), while shape of backbone.stage4.0.attns.0.get_v.bias in model is torch.Size([576]).
[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: stage4.0.attns.0.get_v.bias will not be loaded. Please double check and see if this is desired.
[04/20 19:11:50] d2.checkpoint.c2_model_loading WARNING: Shape of stage4.0.attns.0.get_v.weight in checkpoint is torch.Size([1152, 1, 3, 3]), while shape of backbone.stage4.0.attns.0.get_v.weight in model is torch.Size([576, 1, 3, 3]).

Why the the weights in Cswin-L can not totally loaded?

@ChristinaXu4work
Copy link

I got the same problem. Have you solved that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants