diff --git a/ignite/metrics/vision/object_detection_average_precision_recall.py b/ignite/metrics/vision/object_detection_average_precision_recall.py index 0c4a75223cd..700abae36f0 100644 --- a/ignite/metrics/vision/object_detection_average_precision_recall.py +++ b/ignite/metrics/vision/object_detection_average_precision_recall.py @@ -1,4 +1,4 @@ -from typing import Callable, cast, Dict, List, Optional, override, Sequence, Tuple, Union +from typing import Callable, cast, Dict, List, Optional, Sequence, Tuple, Union import torch from typing_extensions import Literal @@ -213,7 +213,6 @@ def _compute_recall_and_precision( return recall, precision - @override def _compute_average_precision(self, recall: torch.Tensor, precision: torch.Tensor) -> torch.Tensor: """Measuring average precision. This method is overriden since :math:`1/#recall_thresholds` is used instead of :math:`r_k - r_{k-1}`