mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #102] Clip reranking #93
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#93
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 @AdnanAlkhateb on GitHub (May 4, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/102
I try to use CLIP for ranking the image that produce by DALLE model

I must install !pip install git+https://github.com/openai/CLIP.git but it require torch = 1.7.1
and this version of torch haven't torchtext = 0.9.1
when I use torch = 1.7.1 I have this error :
when I use torch = 1.8.1 I have this error :
'CLIP' object has no attribute 'load'
what should I do ,Please?
@jongwook commented on GitHub (Jun 30, 2021):
It's likely from a version discrepancy where torchtext was compiled with a newer version of pytorch but installing CLIP downgraded pytorch to 1.7.1. Until we fix the dependency issue, try this trick to ignore CLIP's dependencies.