updates
This commit is contained in:
parent
a6fdc7413b
commit
eb6a4b5b84
4
test.py
4
test.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue