From 3374ad7620031ed5c5cb6789c8fc1272b13b3fb3 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Wed, 1 Sep 2021 12:43:34 +0800 Subject: [PATCH] del Annotation code --- ppocr/metrics/eval_det_iou.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/ppocr/metrics/eval_det_iou.py b/ppocr/metrics/eval_det_iou.py index 19b9008e..bc05e7df 100644 --- a/ppocr/metrics/eval_det_iou.py +++ b/ppocr/metrics/eval_det_iou.py @@ -168,22 +168,6 @@ class DetectionIoUEvaluator(object): numGlobalCareGt += numGtCare numGlobalCareDet += numDetCare - # perSampleMetrics = { - # 'precision': precision, - # 'recall': recall, - # 'hmean': hmean, - # 'pairs': pairs, - # 'iouMat': [] if len(detPols) > 100 else iouMat.tolist(), - # 'gtPolPoints': gtPolPoints, - # 'detPolPoints': detPolPoints, - # 'gtCare': numGtCare, - # 'detCare': numDetCare, - # 'gtDontCare': gtDontCarePolsNum, - # 'detDontCare': detDontCarePolsNum, - # 'detMatched': detMatched, - # 'evaluationLog': evaluationLog - # } - perSampleMetrics = { 'gtCare': numGtCare, 'detCare': numDetCare, -- GitLab