From 3df33f0f9d686ce1ec08749162d12064571e4e72 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 11:24:22 +0000 Subject: [PATCH] =?UTF-8?q?fix(pre=5Fcommit):=20=F0=9F=8E=A8=20auto=20form?= =?UTF-8?q?at=20pre-commit=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supervision/detection/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supervision/detection/core.py b/supervision/detection/core.py index c5633ea2..1a5c86ea 100644 --- a/supervision/detection/core.py +++ b/supervision/detection/core.py @@ -540,7 +540,7 @@ class Detections: return cls( xyxy=detectron2_results["instances"].pred_boxes.tensor.cpu().numpy(), confidence=detectron2_results["instances"].scores.cpu().numpy(), - mask=detectron2_results['instances'].pred_masks.detach().cpu().numpy(), + mask=detectron2_results["instances"].pred_masks.detach().cpu().numpy(), class_id=detectron2_results["instances"] .pred_classes.cpu() .numpy()