Learning-AI

Focal Loss for Dense Object Detection

tl;dr: Focal loss solves the class imbalance problem by modifying the model with a new loss function that focuses on hard negative samples. Concretely, it modulates cross entropy loss by a L2 loss.

Takeaways