neodroidvision.segmentation.evaluation.focal_loss

Classes

FocalLoss(class_num[, alpha, gamma, ...])

This criterion is a implementation of Focal Loss, which is proposed in Focal Loss for Dense Object Detection.