FocalLoss icon indicating copy to clipboard operation
FocalLoss copied to clipboard

About focal loss layer

Open zhanglonghao1992 opened this issue 6 years ago • 1 comments

Hi, I'm wondering have you changed a two-stage net like faster-rcnn or FPN to a one-stage net like the paper said? Do I just need to change the softmax loss layer to your focal loss layer for classification?

zhanglonghao1992 avatar Sep 18 '17 02:09 zhanglonghao1992

@zhanglonghao1992 Focal loss is not necessary in two-stage detection frameworks. The class imbalance problem only exists in one-stage detection networks such as YOLO and SSD.

chuanqi305 avatar Sep 20 '17 01:09 chuanqi305