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

Pretrained Model #43

Open
yimuu opened this issue Aug 18, 2021 · 2 comments
Open

Pretrained Model #43

yimuu opened this issue Aug 18, 2021 · 2 comments

Comments

@yimuu
Copy link

yimuu commented Aug 18, 2021

When I use the pretrained model upernet_swin_tiny_patch4_window7_512x512.pth,I got this error KeyError: "EncoderDecoder: 'backbone.layers.0.blocks.0.attn.relative_position_bias_table'"
What should I do ?

python -u /home/wyh/Codes/SwinTransformer/tools/train.py configs/swin/upernet_swin_tiny_patch4_window7_512x512_160k_ade20k.py --options model.pretrained=upernet_swin_tiny_patch4_window7_512x512.pth

@impiga
Copy link
Member

impiga commented Aug 24, 2021

Hi, please refer to this issue: #7 .

@Lsz-20
Copy link

Lsz-20 commented Nov 13, 2021

@yimuu Have you solved this question?the same as yours~~
@impiga it seems that the pretrain offered by 'microsoft/Swin-Transformer' can't work well on this code(it work well on their swin code)
it shows me this :
image
it seems lost many keys
Thanks!

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

3 participants