roboflow / roboflow/supervision
Instance Segmentation Mean Average Precision
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 50.9k
- Forks
- 4.8k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 85
Description
Search before asking
- I have searched the Supervision issues and found no similar feature requests.
Description
Currently the metrics have a MeanAveragePrecision class that works for object detection. It would be great to have an implementation for mAP for masks of an instance segmentation model.
I'd expect only from_detections static method would be used, instead of the from_tensors, without any API change, as the former uses Detections, and these have a mask attribute already.
This goes probably hand in hand with #238.
Use case
No response
Additional
No response
Are you willing to submit a PR?
- Yes I'd like to help by submitting a PR!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing MeanAveragePrecision class and its from_detections and from_tensors entry points. Review how Detections exposes mask data and compare the related work in issue #238. Done means mask-based instance-segmentation mAP is available through from_detections without changing the existing API.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision, machine-learning
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100