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 understand the get_pos_logits() in the class ProtoLoss #1

Closed
PhDCJojo opened this issue Feb 18, 2022 · 1 comment
Closed

how to understand the get_pos_logits() in the class ProtoLoss #1

PhDCJojo opened this issue Feb 18, 2022 · 1 comment

Comments

@PhDCJojo
Copy link

Dear author: Thank you very much for sharing this code. During learning this code, I can not find the explanation about the function get_pos_logits() in Equation 8 of your paper. Can you tell me what this function does?

def get_pos_logits(self, sim_mat, prop):

Best wishes.

@korawat-tanwisuth
Copy link
Owner

Thanks for your interest in our work. This function computes the logit after the proportion has been updated with exponential moving average. This logit is used in the computation of the bidirectional transport loss in the paper.

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