Skip to content

Commit

Permalink
[Fix] Fix typo in COCOMetric(#2691)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben-Louis authored Sep 14, 2023
1 parent 7bea17c commit ab39ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmpose/evaluation/metrics/coco_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ def results2json(self, keypoints: Dict[int, list],
'score': float(img_kpt['score']),
}
if 'bbox' in img_kpt:
res['bbox'] = img_kpt['bbox'].tolist(),
res['bbox'] = img_kpt['bbox'].tolist()
result.append(res)

cat_results.extend(result)
Expand Down

0 comments on commit ab39ce7

Please sign in to comment.