From e919e4d19e2e983a0438d1e3e0ed0546c70b7f3d Mon Sep 17 00:00:00 2001 From: Jared Carlson <35511086+Carlson-J@users.noreply.github.com> Date: Fri, 11 Nov 2022 11:02:44 -0700 Subject: [PATCH] Updated import path for DetectionModel sahi changed the import path to DetectionModel. This fixes that conflict. --- icevision/models/inference_sahi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icevision/models/inference_sahi.py b/icevision/models/inference_sahi.py index 6a4a7b5a4..a350b88c3 100644 --- a/icevision/models/inference_sahi.py +++ b/icevision/models/inference_sahi.py @@ -11,7 +11,7 @@ from icevision.tfms.albumentations import albumentations_adapter -from sahi.model import DetectionModel +from sahi.models.base import DetectionModel from sahi.prediction import ObjectPrediction from sahi.predict import get_sliced_prediction as sahi_get_sliced_prediction