mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[PR #140] [MERGED] Reduce half of similarity muls after encoding (optimization) #465
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#465
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?
📋 Pull Request Information
Original PR: https://github.com/openai/CLIP/pull/140
Author: @or-toledano
Created: 8/13/2021
Status: ✅ Merged
Merged: 8/29/2021
Merged by: @jongwook
Base:
main← Head:patch-3📝 Commits (1)
a8aa7cbReduce half of similarity muls after encoding📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
clip/model.py(+1 -1)📄 Description
(cAB)^T = c B^T A^T
Saves half of the similarity products in the CLIP model.py after the visual/text encoding stages
Relevant when using a lot of labels / multiple images
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.