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

Questions about CLIP-ViT-L/14@336px #32

Open
Wgkai opened this issue Nov 13, 2024 · 1 comment
Open

Questions about CLIP-ViT-L/14@336px #32

Wgkai opened this issue Nov 13, 2024 · 1 comment

Comments

@Wgkai
Copy link

Wgkai commented Nov 13, 2024

Thank you for your amazing work.I searched online and found that the CLIP-ViT-L/14@336px model divides an image into 14*14=196 patches, and the embedding dimension is 768. In your work the shape of features after CLIP visual encoder is (576,1024). How does it come?

@jzhang38
Copy link
Collaborator

jzhang38 commented Nov 20, 2024

It is (336/14) ** 2 = 576 patches.
The number 14 refers to the patch size, not the number of patches for each dimension.

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