Instance Segmentation Mean Average Precision
Author: cgrtriforkCreated Oct 14, 2023Updated Jun 10, 2026
Labelsenhancement
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!
Source: roboflow/supervision