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

[Refactor] Refactor COCOMetric, CocoOccludedSeparatedMetric, and ProposalRecallMetric by using MMEval #9079

Open
wants to merge 19 commits into
base: refactor_metrics
Choose a base branch
from

Conversation

BIGWangYuDong
Copy link
Collaborator

@BIGWangYuDong BIGWangYuDong commented Oct 19, 2022

Follor PR: open-mmlab/mmeval#23 and open-mmlab/mmeval#29

should be merged after open-mmlab/mmeval#98 and open-mmlab/mmeval#112 has been merged

CocoMetric

Before refactor

image

After refactor

Not load ann_file:

The area in coco is based on gt_mask. if using gt_bbox, it will lead to different small/medium/large AP results. Moreover, the area calculated from gt_mask area in CocoDetectionMetric is almost equal to coco-json file (still a little difference in small AP). So if only calculate bbox ap, and do not load ann_file, it is suggested to load mask at the same time.

Using gt_box area:
image

Using gt_mask area:
image

Load ann_file:

image

ProposalRecallMetric

Before refactor

image

After refactor

image

CocoOccludedSeparatedMetric

Before refactor

FKGbPDqvBs

After refactor

zfU3490gpL

@BIGWangYuDong BIGWangYuDong changed the title [WIP] Update COCOMetric to use MMEval [WIP] Update COCOMetric and ProposalRecallMetric to use MMEval Oct 21, 2022
@ZwwWayne ZwwWayne added this to the 3.0.0rc5 milestone Nov 21, 2022
@BIGWangYuDong BIGWangYuDong changed the title [WIP] Update COCOMetric and ProposalRecallMetric to use MMEval [Refactor] Refactor COCOMetric and ProposalRecallMetric by using MMEval Feb 21, 2023
@BIGWangYuDong
Copy link
Collaborator Author

Optimized the log style:

image

@BIGWangYuDong
Copy link
Collaborator Author

Supporting saving coco summarize information

@BIGWangYuDong BIGWangYuDong changed the base branch from dev-3.x to refactor_metrics February 28, 2023 07:20
@BIGWangYuDong BIGWangYuDong changed the title [Refactor] Refactor COCOMetric and ProposalRecallMetric by using MMEval [Refactor] Refactor COCOMetric, CocoOccludedSeparatedMetric, and ProposalRecallMetric by using MMEval Mar 15, 2023
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.

3 participants