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

contrastive is inconsistency between papers and code #27

Open
pickwu opened this issue Jan 4, 2023 · 0 comments
Open

contrastive is inconsistency between papers and code #27

pickwu opened this issue Jan 4, 2023 · 0 comments

Comments

@pickwu
Copy link

pickwu commented Jan 4, 2023

In section3.1 of the paper , contrastive loss = -log(pos/neg).but in code,contrastive loss = -log(pos/(neg+pos)).Why the denominator needs to add pos in the code?

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