Skip to content

It is seems something wrong in use nn.MarginRankingLoss #4

Description

@Etpoem

I The loss function of nn.MarginRankingLoss is "loss(x1,x2,y)=max(0,−y∗(x1−x2)+margin) " where y expect 1 or -1, but labels only has value in 0 or 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions