RankPose icon indicating copy to clipboard operation
RankPose copied to clipboard

It is seems something wrong in use nn.MarginRankingLoss

Open Etpoem opened this issue 4 years ago • 0 comments

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

Etpoem avatar Jul 02 '20 07:07 Etpoem