This commit is contained in:
Glenn Jocher 2019-02-26 15:15:39 +01:00
parent a6fdc7413b
commit eb6a4b5b84
1 changed files with 3 additions and 1 deletions

View File

@ -152,7 +152,9 @@ def test(
cocoEval = COCOeval(cocoGt, cocoDt, 'bbox') cocoEval = COCOeval(cocoGt, cocoDt, 'bbox')
cocoEval.params.imgIds = imgIds # [:32] # only evaluate these images cocoEval.params.imgIds = imgIds # [:32] # only evaluate these images
cocoEval.evaluate().accumulate().summarize() cocoEval.evaluate()
cocoEval.accumulate()
cocoEval.summarize()
# Return mAP # Return mAP
return mean_mAP, mean_R, mean_P return mean_mAP, mean_R, mean_P