Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Calculate mAP for each class? #690

Closed
Jacobew opened this issue Apr 18, 2019 · 4 comments
Closed

Calculate mAP for each class? #690

Jacobew opened this issue Apr 18, 2019 · 4 comments

Comments

@Jacobew
Copy link
Contributor

Jacobew commented Apr 18, 2019

❓ Questions and Help

Hi, I want to calculate box AP and mask AP for each class, which is not currently supported in your code. I found this module somewhere in cocoapi. However, the evaluation code in coco_eval.py in this repo is an alternative rather than a standard version. Can I replace coco_eval.py with the one in cocoapi? If not, I'll appreciate it if your can give some advice on it.

@chengyangfu
Copy link
Contributor

Hi @Jacobew,
You can find the answer in this thread.
#524
I think the modification should be easy and straightforward.

@Jacobew
Copy link
Contributor Author

Jacobew commented Apr 19, 2019

It works, thanks a lot! @chengyangfu

@Jacobew Jacobew closed this as completed Apr 19, 2019
@fmassa
Copy link
Contributor

fmassa commented Apr 20, 2019

@Jacobew would you mind sending a PR adding a section somewhere in the documentation highlighting the solution?

@Jacobew
Copy link
Contributor Author

Jacobew commented Apr 21, 2019

@chengyangfu My Pleasure. Please check it out here.

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

No branches or pull requests

3 participants