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

how to select one positive sample and multiple negative samples and compute CR loss? #33

Open
jchenTech opened this issue Jul 17, 2022 · 1 comment

Comments

@jchenTech
Copy link

In your CR.py file , you select postive and negative samples with the number of batch size. However, how to select one positive sample and multiple negative samples and compute CR loss as shown in your paper? Can you explain or update the code?
Thanks for your reply.

@booker-max
Copy link

Hello, I also encountered the same problem as you, have you solved it, I don't know how to implement this in 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

2 participants