mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #379] Input image size #325
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#325
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 @MarkIsDoingIt on GitHub (Jul 20, 2023).
Original GitHub issue: https://github.com/openai/CLIP/issues/379
I want to use a pretrained vision transformer from clip to extract feature from images. My original image size is 10241024. What is the largest input image size for any clip pretrained version? Resize the image to classical 224224 will have a loss of information. Thanks!
@hrithickcodes commented on GitHub (Jul 27, 2023):
CLIP's ViT-Large can take images of size 336. It's inevitable that there will be loss of information when downscale a 1024x1024 image to 336x336, but I think CLIP is robust enough. Make sure you use the ViT-L which has the smallest patch size (14).