del Annotation code

This commit is contained in:
WenmuZhou 2021-09-01 12:43:34 +08:00
parent f8f7153526
commit 3374ad7620
1 changed files with 0 additions and 16 deletions

View File

@ -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,