在目标检测中都会给定一个IOU阈值,这个阈值的意思是预测的框和标注的框的IOU大于0.5表示物体被检测出来,否则没有。
positive_iou_thresh: 0.5 negative_iou_thresh: 0.5
本来是狗检测为狗,为True positives
本来是猫检测为狗,为Falsepositive
本来是狗预测为猫,为Falsenegative
本来是猫检测为猫,为Truenegative
Precision=True positives/(True positives+Falsepositive)
Recall=True positives/(True positives+Falsepositive)