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

Question about code. #8

Open
Fay-why opened this issue Jun 27, 2022 · 0 comments
Open

Question about code. #8

Fay-why opened this issue Jun 27, 2022 · 0 comments

Comments

@Fay-why
Copy link

Fay-why commented Jun 27, 2022

mi_loss = self.bce_loss(logits * mask, labels * mask) * (batch_size * (pos_size + neg_size)) \

hi~ Thanks for your clear codes. I have two questions and hope for you to reply.
1.why Line 58 above multiply the (batch_size * (pos_size + neg_size))?? In your paper, this item didn't show up.
2. I saw a lot of mask in your codes, but I'm not much clear about the meaning of mask.

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