jin-s13 / xtcocoapi

Extended COCO-API
Other
63 stars 24 forks source link

change maxDets for keypoints evaluation #15

Closed zwfcrazy closed 2 years ago

zwfcrazy commented 2 years ago

Hi, I want to change maxDets for keypoints evaluation, please add this instead of using a fixed maxDet = 20.

jin-s13 commented 2 years ago

Can you explain your use case in more details? I am not sure if this use case is general enough. Do you want to evaluate keypoint estimation on a private dataset or on a public dataset?

jin-s13 commented 2 years ago

And why do you want to change this?

zwfcrazy commented 2 years ago

In my case, I only require the network to recognize one person in a photo, the person may be the dominant one or the one closest to the center of a photo. I'm not sure if this is a general case...

jin-s13 commented 2 years ago

Instead of changing the evaluation codes, I recommend adding a post-processing procedure to only keep one dominant person before evaluation.