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

can't load swin-tiny checkpoint right #21

Open
ywdong opened this issue May 26, 2022 · 1 comment
Open

can't load swin-tiny checkpoint right #21

ywdong opened this issue May 26, 2022 · 1 comment

Comments

@ywdong
Copy link

ywdong commented May 26, 2022

hi, I use the swin-transformer.py to load the swin-tiny model pretrained by imagenet1k. And the message is here:
msg: _IncompatibleKeys(missing_keys=['layers.0.blocks.1.attn_mask', 'layers.1.blocks.1.attn_mask', 'layers.2.blocks.1.attn_mask', 'layers.2.blocks.3.attn_mask', 'layers.2.blocks.5.attn_mask', 'head.weight', 'head.bias'], unexpected_keys=['head.mlp.0.weight', 'head.mlp.0.bias', 'head.mlp.2.weight', 'head.mlp.2.bias', 'head.mlp.4.weight', 'head.mlp.4.bias', 'head.last_layer.weight_g', 'head.last_layer.weight_v'])
why is there missing keys here?

@sym0926
Copy link

sym0926 commented Aug 14, 2024

Hi,do you have ckpt and train logs , can you share with me ? I got an error ,when I download them.

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