-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
[Fix]: fix mask AP of small/medium/large #4898
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4898 +/- ##
==========================================
- Coverage 65.61% 64.87% -0.74%
==========================================
Files 255 267 +12
Lines 19990 20649 +659
Branches 3396 3478 +82
==========================================
+ Hits 13117 13397 +280
- Misses 6171 6496 +325
- Partials 702 756 +54
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
This is indeed a breaking change. I think we'd better design a better way to inform the users about the change. |
Co-authored-by: Jerry Jiarui XU <xvjiarui0826@gmail.com>
Any suggestion? For now, I plan to inform to do that through the compatibility documentation and the changelog. |
How about adding a reminder in the logger? |
Agree, will do that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR delete the key
bbox
in the prediction results when calculating the mask AP of predictions.When calculating
segm AP
, if keybbox
is in the prediction, the area of instance will be calculated by the box area rather than the mask area, which will not affect the overall mask AP but will lead to a different mask APs of small/medium/large instances. A comparison is as below