mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #464] What is the best practice to train image with multiple captions/keywords #393
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#393
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 @pengzhao-life on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/openai/CLIP/issues/464
Hi, I am trying to finetune clip model on my own dataset. My data has multiple texts per image. My understanding is that I need to create each ground truth label to ensure the positive relationship between the image and its every single text. Otherwise, they may be considered as negative pair during the training. Is this correct? Any sample code or post related to this concern?
My second question is that the texts may include image captions, keywords, categories, etc. Do I need to handle them differently? Many thanks!
@tengshaofeng commented on GitHub (Feb 18, 2025):
@pengzhao-life this is my training code. https://github.com/tengshaofeng/finetune-jina-clip-v2