Closed ccc-pno closed 3 years ago
Sorry, may I ask you a question?
In paper, you define the shifted probability, pm, as: pm = max(p-m, 0) But in code, you define it as: xs_neg = (xs_neg + self.clip).clamp(max=1) I think it is means: pm = min(1-p+m, 1)
Why ?
https://github.com/Alibaba-MIIL/ASL/issues/10
10
Thanks!
Sorry, may I ask you a question?
In paper, you define the shifted probability, pm, as:
pm = max(p-m, 0) But in code, you define it as: xs_neg = (xs_neg + self.clip).clamp(max=1) I think it is means: pm = min(1-p+m, 1)
Why ?