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

Is it possible the positional encoding rather than VSA works? #3

Open
RebornForPower opened this issue Sep 24, 2022 · 1 comment
Open

Comments

@RebornForPower
Copy link

In your code file ViTAE-VSA\Image-Classification\vitaev2_vsa\NormalCell.py L130:
self.pos = nn.Conv2d(dim, dim, window_size//2*2+1, 1, window_size//2, groups=dim, bias=True)
your window_sizeis 7,so the self.pos convolution kernel is 7 too, in most Positional Encoding extractor it is so large.

So is it possible that the positional encoding rather than VSA is working ?

@RebornForPower RebornForPower changed the title Is it possible the positional encoding not VSA works? Is it possible the positional encoding rather than VSA works? Sep 24, 2022
@RebornForPower
Copy link
Author

@Roger-QMZhang

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