一、评价函数及其实现
**1、**开源代码评价指标(标准实现)。
Scoring Program for Codalab Lits-Challenge
2、使用DICE, IOU, ASD, 等。
IOU
def IoU(preds, truths):
"""
preds: [B, H, W]
truths: [B, H, W]
"""
batch_size = truths.shape[0]
ious
**1、**开源代码评价指标(标准实现)。
Scoring Program for Codalab Lits-Challenge
2、使用DICE, IOU, ASD, 等。
IOU
def IoU(preds, truths):
"""
preds: [B, H, W]
truths: [B, H, W]
"""
batch_size = truths.shape[0]
ious