mirror of
https://github.com/openai/CLIP.git
synced 2026-11-05 01:37:26 +00:00
[GH-ISSUE #42] Clarifying the training setup #39
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#39
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 @nikky4D on GitHub (Feb 12, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/42
I'm confused as to your training loss and setup.
For the setup, you say:
Do you use the non-linear projection in pretraining, then remove it after training as in Chen, 2020b, replacing it with a linear projection after training? or do you use a linear projection in pretraining, and keep the linear projection after training?
And can you explain the speculation you talk about above? I don't understand what you mean there.
For the loss:
Can you clarify that the loss used in training is the same form of the loss function as in Zheng et. al, 2021?
@jongwook commented on GitHub (Feb 12, 2021):
Sorry about the confusion; you could read "we remove" as "we do not use". The projection is linear during training and evaluation.
Looks like we're missing a preposition in that sentence. The speculation was that nonlinear projections might be effective only in self-supervised methods but not in contrastive multimodal settings like CLIP.
The loss function takes the same form as ConVIRT by Zhang et al. (2020).
@nikky4D commented on GitHub (Feb 12, 2021):
Thanks for the update. One last question to clarify: Your linear function is the weight matrix, the
W_i, W_tvariable in the pseudocode?@jongwook commented on GitHub (Feb 12, 2021):
Yes! That corresponds to here, here, and here in the model code.
@nikky4D commented on GitHub (Feb 12, 2021):
Thank you very much. I appreciate it.