From aedb999ecf6790f8cf6b16070ae5701d8b7c39c0 Mon Sep 17 00:00:00 2001 From: Kaipeng Deng Date: Mon, 21 Sep 2020 11:29:37 +0800 Subject: [PATCH] fix voc mAP %. (#1441) * fix voc mAP %. --- ppdet/utils/voc_eval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ppdet/utils/voc_eval.py b/ppdet/utils/voc_eval.py index 1b82928ff..4ffd91260 100644 --- a/ppdet/utils/voc_eval.py +++ b/ppdet/utils/voc_eval.py @@ -107,8 +107,8 @@ def bbox_eval(results, logger.info("Accumulating evaluatation results...") detection_map.accumulate() map_stat = 100. * detection_map.get_map() - logger.info("mAP({:.2f}, {}) = {:.2f}".format(overlap_thresh, map_type, - map_stat)) + logger.info("mAP({:.2f}, {}) = {:.2f}%".format(overlap_thresh, map_type, + map_stat)) return map_stat -- GitLab