FocalLoss
FocalLoss copied to clipboard
About α
Hi, The original paper introduces a weighting factor α for class 1 and 1-α for class -1, but in your code I just see α, I think it is wrong, if α does not change.
I agree with you. α is different for class 1 and class -1