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

log_relative_position_index #1

Open
jakubMitura14 opened this issue Dec 18, 2022 · 0 comments
Open

log_relative_position_index #1

jakubMitura14 opened this issue Dec 18, 2022 · 0 comments

Comments

@jakubMitura14
Copy link

Hello Thank You for publishing this repository!
I have question to the jax implementation https://github.com/minyoungpark1/swin_transformer_v2_jax

in first line of setup function in Window attention module there is a line

        self.log_relative_position_index = log_space_continuous_position_bias(self.window_size)#krowa - not used

As far as I understand this is a novelty from swin transformer v2 relative to v1 - Hovewer I can not find then any way that this log space relative position encoding is used, Why is it so?

Thank You!

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

1 participant