unbalanced dataset
占个坑,导到其他博客和 Github 仓库
focal loss(FL)
国外博主的通俗解释: https://medium.com/visionwizard/understanding-focal-loss-a-quick-read-b914422913e7#b6bc
论文: https://arxiv.org/abs/1708.02002
官方代码链接: https://github.com/clcarwin/focal_loss_pytorch/blob/e11e75bad957aecf641db6998a1016204722c1bb/focalloss.py#L6
Generalised Dice Loss (GDL)
论文地址: https://arxiv.org/abs/1707.03237,文中介绍了其他 unbalance 数据处理的办法
github 上找的一个源码 https://github.com/wolny/pytorch-3dunet/blob/eafaa5f830eebfb6dbc4e570d1a4c6b6e25f2a1e/pytorch3dunet/unet3d/losses.py