From 2530c41ffa9de5b62e39ffabe66410191ce02dd2 Mon Sep 17 00:00:00 2001 From: LinasKo Date: Thu, 10 Oct 2024 13:00:07 +0300 Subject: [PATCH] docs: fix datatype of class_agnostic in MeanAveragePrecisionResult --- supervision/metrics/mean_average_precision.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supervision/metrics/mean_average_precision.py b/supervision/metrics/mean_average_precision.py index ed556719..dbd60b2e 100644 --- a/supervision/metrics/mean_average_precision.py +++ b/supervision/metrics/mean_average_precision.py @@ -395,7 +395,8 @@ class MeanAveragePrecisionResult: Attributes: metric_target (MetricTarget): the type of data used for the metric - boxes, masks or oriented bounding boxes. - class_agnostic: When computing class-agnostic results, class ID is set to `-1`. + class_agnostic (bool): When computing class-agnostic results, class ID + is set to `-1`. mAP_map50_95 (float): the mAP score at IoU thresholds from `0.5` to `0.95`. mAP_map50 (float): the mAP score at IoU threshold of `0.5`. mAP_map75 (float): the mAP score at IoU threshold of `0.75`.