Skip to content

Questions about mmpose.evaluation.metrics.CocoMetric #2938

Answered by Ben-Louis
WinnerMeat asked this question in Q&A
Discussion options

You must be logged in to vote

This parameter specifies how the confidence score of each prediction is calculated. For more information, you can refer to

if self.score_mode == 'bbox':
instance['score'] = instance['bbox_score']
elif self.score_mode == 'keypoint':
instance['score'] = np.mean(instance['keypoint_scores'])
else:
bbox_score = instance['bbox_score']
if self.score_mode == 'bbox_rle':
keypoint_scores = instance['keypoint_scores']
instance['score'] = float(bbox_score +
np.mean(keypoint_scores) +
np.max(keypoint_scores))
else: # self.score_mode == 'bbox_keypoint':

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@WinnerMeat
Comment options

Answer selected by WinnerMeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants