Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 4, 2022
1 parent e79e422 commit 265274c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/torchmetrics/detection/mean_ap.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ def _fix_empty_tensors(boxes: Tensor) -> Tensor:


class MeanAveragePrecision(Metric):
r"""`Computes the `Mean-Average-Precision (mAP) and Mean-Average-Recall (mAR) <https://jonathan-hui.medium.com/map-mean-average-precision-for-object-detection-45c121a31173>`_
for object detection predictions.
Optionally, the mAP and mAR values can be calculated per class.
r"""`Computes the `Mean-Average-Precision (mAP) and Mean-Average-Recall (mAR) <https://jonathan-
hui.medium.com/map-mean-average-precision-for-object-detection-45c121a31173>`_ for object detection
predictions. Optionally, the mAP and mAR values can be calculated per class.
Predicted boxes and targets have to be in Pascal VOC format
(xmin-top left, ymin-top left, xmax-bottom right, ymax-bottom right).
Expand Down

0 comments on commit 265274c

Please sign in to comment.