Skip to content

pairwise loss in pytorch code #17

@bfan

Description

@bfan

Hi, I have difficult in understanding the pairwise loss in your pytorch code. Particularly,

  1. I can not relate it to the Equation (4) in the paper. What is the meaning of a parameter "l_threshold" in your code?

  2. The returned loss in the code seems to be weighted with 1/w_ij defined in the paper, i.e., Equation (2), as I find that the loss is final divided by |S|. Can you give me some explanation about this point?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions