FocalLoss icon indicating copy to clipboard operation
FocalLoss copied to clipboard

About α

Open igoodboy opened this issue 6 years ago • 1 comments

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.

igoodboy avatar Jun 27 '18 08:06 igoodboy

I agree with you. α is different for class 1 and class -1

kisstea avatar Nov 01 '18 03:11 kisstea