ASL icon indicating copy to clipboard operation
ASL copied to clipboard

the problem of shifted probability

Open xiaochang129 opened this issue 3 years ago • 1 comments

position: https://github.com/Alibaba-MIIL/ASL/blob/main/src/loss_functions/losses.py line: 30, 86 code: xs_neg = (xs_neg + self.clip).clamp(max=1), self.xs_neg.add_(self.clip).clamp_(max=1) problem: In the paper, shifted probability should be " xs_neg = (xs_neg - self.clip).clamp(min=0, max=1) "

xiaochang129 avatar Jan 27 '22 08:01 xiaochang129

You can refer to the issue #10.

poncey avatar Feb 20 '22 15:02 poncey