Skip to content

Conversation

ice-tong
Copy link
Collaborator

@ice-tong ice-tong commented Sep 14, 2022

Motivation

Add VOCMeanAP and OIDMeanAP metric.

mmdet PR: open-mmlab/mmdetection#8897

Modification

  • mmeval/detection/voc_map.py
  • mmeval/detection/oid_map.py
  • mmeval/detection/utils/bbox.py
  • mmeval/detection/utils/average_precision.py
  • mmeval/detection/utils/open_images.py

@ice-tong ice-tong changed the base branch from main to yancong/dev-base_metric September 14, 2022 06:31
@ice-tong ice-tong force-pushed the yancong/dev-base_metric branch from ceb2f3d to b4b4c23 Compare September 15, 2022 02:18
@ice-tong ice-tong changed the base branch from yancong/dev-base_metric to main September 15, 2022 12:19
@ice-tong ice-tong changed the title [WIP][Feat] Add VOCMeanAP [Feat] Add VOCMeanAP Sep 27, 2022
@ice-tong ice-tong requested a review from RangiLyu September 27, 2022 15:56
@ice-tong ice-tong changed the title [Feat] Add VOCMeanAP [Feat] Add VOCMeanAP and OIDMeanAP Sep 27, 2022
Copy link
Member

@RangiLyu RangiLyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reduce the test data size, no need to use the full 600-class hierarchy file.

@ice-tong
Copy link
Collaborator Author

ice-tong commented Sep 29, 2022

Reduce the test data size, no need to use the full 600-class hierarchy file.

Done with the following changes:

  • Use a mini hierarchy JSON within 300 lines. (For each Subcategory, only take the first 10 elements.)
  • Reduce the sample number to 200 in data/openimages_detection.200.pkl
  • Do not use pickle test data.

Copy link
Collaborator

@BIGWangYuDong BIGWangYuDong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhouzaida zhouzaida requested a review from ZwwWayne September 30, 2022 16:03
@ice-tong ice-tong force-pushed the yancong/dev-meanap branch 2 times, most recently from c81ae82 to 058f974 Compare October 14, 2022 01:54
@ice-tong ice-tong force-pushed the yancong/dev-meanap branch 2 times, most recently from 7141a4f to 754a1f9 Compare October 14, 2022 08:52
@zhouzaida
Copy link
Collaborator

Please add more unit tests to cover the invalid inputs.

@ice-tong
Copy link
Collaborator Author

Please add more unit tests to cover the invalid inputs.

Updated

@zhouzaida zhouzaida changed the title [Feat] Add VOCMeanAP and OIDMeanAP [Feature] Add VOCMeanAP and OIDMeanAP Oct 19, 2022
@zhouzaida zhouzaida merged commit 446d470 into main Oct 19, 2022
@zhouzaida zhouzaida deleted the yancong/dev-meanap branch October 19, 2022 02:35
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.

4 participants