chuanqi305 / FocalLoss

Caffe implementation of FAIR paper "Focal Loss for Dense Object Detection" for SSD.
MIT License
171 stars 58 forks source link

About α #7

Open igoodboy opened 6 years ago

igoodboy commented 6 years ago

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.

kisstea commented 6 years ago

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