tianzhi0549 / FCOS

FCOS: Fully Convolutional One-Stage Object Detection (ICCV'19)
https://arxiv.org/abs/1904.01355
Other
3.26k stars 630 forks source link

focal loss parameters #285

Open gewenbin292 opened 4 years ago

gewenbin292 commented 4 years ago

Cause the num of positive labels using center_on is much less than using in_bbox, I found classification scores are much lower when CENTER_POS_RADIOS = 1.5 than CENTER_POS_RADIOS = 3.0, should I set the alpha parameter of focal loss to a smaller value? The default alpha is 0.25, gamma is 2.0.

shaunzhuyw commented 4 years ago

i think should reduce the value of gamma, because with the increase of CENTER_POS_RADIOS, some background area is included in the GT, which may make focal loss performes not excellent.