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

Why Swin-Large-W12 contains [36, 36] encoder.layers.3.blocks.0.attn.relative_position_index #30

Open
nijkah opened this issue Aug 9, 2022 · 1 comment

Comments

@nijkah
Copy link

nijkah commented Aug 9, 2022

Original Swin-Large and the current code seem to have same window_size across layers, and if their window_size set to be 12, then the shape of all relative_position_index should be [144, 144].

But I found that the provided checkpoint has [36, 36] for encoder.layers.3.blocks.0.attn.relative_position_index.

Am I missing something?

@Lewislou
Copy link

Same question

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