[GH-ISSUE #297] Do the text encoders vary between different clip models #255

Open
opened 2026-10-31 21:13:00 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @xiaotingxuan on GitHub (Oct 29, 2022).
Original GitHub issue: https://github.com/openai/CLIP/issues/297

when we load clip model,
eg
model_1, preprocess = clip.load("RN50", device=device, jit=False)
model_2, preprocess = clip.load("ViT-B/16", device=device, jit=False)

Obviously, the image encoders in model_1 and model_2 are different(ResNet and ViT),
how about the text encoder in these two models, are they also different?

Originally created by @xiaotingxuan on GitHub (Oct 29, 2022). Original GitHub issue: https://github.com/openai/CLIP/issues/297 when we load clip model, eg model_1, preprocess = clip.load("RN50", device=device, jit=False) model_2, preprocess = clip.load("ViT-B/16", device=device, jit=False) Obviously, the image encoders in model_1 and model_2 are different(ResNet and ViT), how about the text encoder in these two models, are they also different?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#255
No description provided.