未验证 提交 17b2c531 编写于 作者: C cnn 提交者: GitHub

set mAP=0.0 as default (#3739)

上级 eef3eb62
...@@ -238,7 +238,7 @@ class DetectionMAP(object): ...@@ -238,7 +238,7 @@ class DetectionMAP(object):
""" """
self.class_score_poss = [[] for _ in range(self.class_num)] self.class_score_poss = [[] for _ in range(self.class_num)]
self.class_gt_counts = [0] * self.class_num self.class_gt_counts = [0] * self.class_num
self.mAP = None self.mAP = 0.0
def accumulate(self): def accumulate(self):
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册