Skip to content

Commit

Permalink
fix a bug in AP
Browse files Browse the repository at this point in the history
  • Loading branch information
canwang committed Jun 3, 2019
1 parent 3efaedf commit 785e70d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crowdpose-api/PythonAPI/crowdposetools/cocoeval.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,11 @@ def _summarizeKps():
stats[6] = _summarize(0, maxDets=20, iouThr=.5)
stats[7] = _summarize(0, maxDets=20, iouThr=.75)
type_result = self.get_type_result(first=0.2, second=0.8)
stats[8] = _summarize(-1, maxDets=20,
stats[8] = _summarize(1, maxDets=20,
areaRng='easy', type_score=type_result[0])
stats[9] = _summarize(-1, maxDets=20,
stats[9] = _summarize(1, maxDets=20,
areaRng='medium', type_score=type_result[1])
stats[10]=_summarize(-1, maxDets=20,
stats[10]=_summarize(1, maxDets=20,
areaRng='hard', type_score=type_result[2])
return stats
if not self.eval:
Expand Down

0 comments on commit 785e70d

Please sign in to comment.