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

softmax along wrong dimension in the jupyter notebook #1

Open
saikrn112 opened this issue Jan 27, 2025 · 0 comments
Open

softmax along wrong dimension in the jupyter notebook #1

saikrn112 opened this issue Jan 27, 2025 · 0 comments

Comments

@saikrn112
Copy link

Hi,
Thanks for this amazing tutorial. I see that in jupyter notebook when the attention weights are being calculated, the softmax is taken along the wrong dimension. I am still learning about ViT so any clarification would be great!

Image

Ideally, it should be dim=-1 or dim=2 in this

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