You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Thanks for your great work! I'm very impressed by the strong performance of your method and trying to reproduce the result on Swin-large. However, as only the swin-tiny evaluation script is provided and not the swin-large, I tried to run with swin-large ckpt by replacing "--backbone swin_tiny" with "--backbone swin_large". However, I came across such error:
size mismatch for backbone.0.body.layers.2.blocks.4.attn.relative_position_index: copying a param with shape torch.Size([144, 144]) from checkpoint, the shape in current model is torch.Size([49, 49]).
How can I fix this and run with your swin-large ckpt? Can you provide the evaluation script for swin-large?
I'm looking forward to your reply. Thanks a lot!
The text was updated successfully, but these errors were encountered:
Use swin_large_384 as the parameter instead of swin_large. Leave pretrain_model_path "". If it still asks for the pretrained swin tiny model, then just comment out that related code segment to avoid loading it.
The loading logic is in backbone.py, it only detects key words, i.e., swin, large, and 384.
Hi,
Thanks for your great work! I'm very impressed by the strong performance of your method and trying to reproduce the result on Swin-large. However, as only the swin-tiny evaluation script is provided and not the swin-large, I tried to run with swin-large ckpt by replacing "--backbone swin_tiny" with "--backbone swin_large". However, I came across such error:
How can I fix this and run with your swin-large ckpt? Can you provide the evaluation script for swin-large?
I'm looking forward to your reply. Thanks a lot!
The text was updated successfully, but these errors were encountered: