Projects
View on GitHub
mkocabas/focal-loss-keras
About
Focal Loss implementation in Keras
Other ProjectsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalFocal Loss
This is the keras implementation of focal loss proposed by Lin et. al. in their Focal Loss for Dense Object Detection paper.
Usage
You have to compile your model with focal loss. Sample:
model_prn.compile(optimizer=optimizer, loss=[focal_loss(alpha=.25, gamma=2)])
Explore related projects
Loading…