Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"cl" or "itc" loss in forward #6

Open
Markin-Wang opened this issue Mar 28, 2024 · 0 comments
Open

"cl" or "itc" loss in forward #6

Markin-Wang opened this issue Mar 28, 2024 · 0 comments

Comments

@Markin-Wang
Copy link

Hi, thank you for your great work.

I am trying to reproduce the results and found that it seems a issue regarding the name of the contrastive learning loss.

The image-text contrastive loss is defined as "itc" in config file, while in the line below

if "cl" in self.current_tasks:

the if statement is for loss name "cl" which seems cause the image-text contrastive loss not included and also the wrong validation score ( itc value always Nan).

Could you please help confirm the right loss name, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant