Skip to content

Commit 2b64f0c

Browse files
fix(pre_commit): 🎨 auto format pre-commit hooks
1 parent 7c02a2f commit 2b64f0c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎supervision/metrics/detection.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,9 @@ def from_tensors(
736736
per_class_ap50_95=average_precisions,
737737
)
738738

739-
def compute_average_precision(self, recall: np.ndarray, precision: np.ndarray) -> float:
739+
def compute_average_precision(
740+
self, recall: np.ndarray, precision: np.ndarray
741+
) -> float:
740742
"""
741743
Compute the average precision using 101-point interpolation (COCO), given
742744
the recall and precision curves.

0 commit comments

Comments
 (0)