Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COCOeval.summarize: allow arbitrary maxDets param #559

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bertsky
Copy link

@bertsky bertsky commented Nov 30, 2021

This generalizes the AP summary output such that non-default values for the parameter maxDets become possible:

  • upper boundary other than 100 (the default)
  • intervals of different length than 3 (the default)
  • None instead of fixed number for unlimited (which gets shown as 'all')

Here is an example output for cocoeval.params.maxDets = [None]:

 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=all ] = 0.419
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=all ] = 0.468
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=all ] = 0.421
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=all ] = 0.183
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=all ] = 0.417
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=all ] = 0.028
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=all ] = 0.466
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=all ] = 0.187
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=all ] = 0.516
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=all ] = 0.045

@HJoonKwon
Copy link

@bertsky I thought the same thing and found this PR right away lol. Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants