未验证 提交 621d2bdd 编写于 作者: C cnn 提交者: GitHub

set mAP=0.0 as default (#3739) (#3777)

上级 44c9fe56
...@@ -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.
先完成此消息的编辑!
想要评论请 注册