摘要: Focal loss class Focal_loss(nn.Module): def __init__(self, alpha=0.25, gamma=2, num_classes = 3, size_average=True): """ focal_loss损失函数, -α(1-yi)**γ * 阅读全文
posted @ 2023-03-03 10:01 douzujun 阅读(49) 评论(0) 推荐(0) 编辑