ASL
ASL copied to clipboard
the problem of shifted probability
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) "
You can refer to the issue #10.