mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #232] Encode an image with rscid-v2 and rscid-v2 processor not working #204
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#204
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 @Pinneaple on GitHub (Apr 19, 2022).
Original GitHub issue: https://github.com/openai/CLIP/issues/232
Hello,
I would like to encode an image and a text separately into a vector using clip-rscid-v2 and save them into a nearest neighbor library. What will be the best approach to encode an image? I would like to replicate the model.encode_image(image) from the origin clip model. Also, process = CLIPProcessor.from_pretrained("flax-community/clip-rsicd-v2") does not work.
Thanks
@jongwook commented on GitHub (Apr 19, 2022):
This repo is unrelated to HuggingFace's CLIP implementation (
CLIPProcessor) or independently developedrscid-v2. You can find more information or file issue at https://github.com/huggingface/transformers or https://github.com/arampacha/CLIP-rsicd.