result not updated from pycocotools

This commit is contained in:
Glenn Jocher 2020-04-27 11:20:27 -07:00
parent 4a4bfb20de
commit f799c15611
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ def test(cfg,
cocoEval.evaluate() cocoEval.evaluate()
cocoEval.accumulate() cocoEval.accumulate()
cocoEval.summarize() cocoEval.summarize()
mf1, map = cocoEval.stats[:2] # update to pycocotools results (mAP@0.5:0.95, mAP@0.5) # mf1, map = cocoEval.stats[:2] # update to pycocotools results (mAP@0.5:0.95, mAP@0.5)
# Return results # Return results
maps = np.zeros(nc) + map maps = np.zeros(nc) + map