From 35641bcd9cdd6e92cff56cb660bf596e466ac979 Mon Sep 17 00:00:00 2001 From: Kaipeng Deng Date: Mon, 21 Sep 2020 11:29:01 +0800 Subject: [PATCH] fix voc mAP %. (#1442) * 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