mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #104] ViT self-attention has no Q,K,V weights #96
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openai/CLIP#96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @drjinying on GitHub (May 7, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/104
Just to make sure, is it intended that the ViT's MultiHeadAttention layer has no Q, K and V matrixes?
In the code, x value is used for q, k and v. The paper didn't mention this. Could you please share any insights?
I figured this out. The nn.MultiheadAttention built wq, wk, wv inside. Thanks!