From 621d2bddaeb4de6939e3ba0624f218f2ae8b6e08 Mon Sep 17 00:00:00 2001 From: cnn Date: Wed, 28 Jul 2021 20:16:34 +0800 Subject: [PATCH] set mAP=0.0 as default (#3739) (#3777) --- ppdet/metrics/map_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppdet/metrics/map_utils.py b/ppdet/metrics/map_utils.py index f05953e5f..9c96b9235 100644 --- a/ppdet/metrics/map_utils.py +++ b/ppdet/metrics/map_utils.py @@ -238,7 +238,7 @@ class DetectionMAP(object): """ self.class_score_poss = [[] for _ in range(self.class_num)] self.class_gt_counts = [0] * self.class_num - self.mAP = None + self.mAP = 0.0 def accumulate(self): """ -- GitLab