mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #383] Cosine Similarity Calculation and Number Range Inquiry #328
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#328
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 @Externalhappy on GitHub (Aug 25, 2023).
Original GitHub issue: https://github.com/openai/CLIP/issues/383
So, if we calculate the similarity using ,
similarity = F.cosine_similarity(x, y)without normalizing the image and text features, the computed cosine similarity will have the same output as
Is that correct?