LibtorchSegmentation
LibtorchSegmentation copied to clipboard
DiceLoss function was really iou?
DiceLoss function in loss.h,just like iou.
Slightly different from IoU actually as IoU is not differentiable.