From 0f714c63392772e74adcd1da83660c050f81aa38 Mon Sep 17 00:00:00 2001 From: Disty0 Date: Thu, 5 Dec 2024 11:42:24 +0300 Subject: [PATCH 1/2] pin ultralytics --- modules/postprocess/yolo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/postprocess/yolo.py b/modules/postprocess/yolo.py index f42b6bb9f..0e733d419 100644 --- a/modules/postprocess/yolo.py +++ b/modules/postprocess/yolo.py @@ -63,7 +63,7 @@ def enumerate(self): def dependencies(self): import installer - installer.install('ultralytics', ignore=True, quiet=True) + installer.install('ultralytics==8.3.40', ignore=True, quiet=True) def predict( self, From f79e85efeb5c43a344c9979c9dc5fa4c56a0d8ed Mon Sep 17 00:00:00 2001 From: Disty0 Date: Thu, 5 Dec 2024 11:43:49 +0300 Subject: [PATCH 2/2] pin ultralytics --- installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.py b/installer.py index 0b64c3616..682a87f7f 100644 --- a/installer.py +++ b/installer.py @@ -1002,7 +1002,7 @@ def install_optional(): install('optimum-quanto', ignore=True) install('bitsandbytes', ignore=True) install('pynvml', ignore=True) - install('ultralytics', ignore=True) + install('ultralytics==8.3.40', ignore=True) install('Cython', ignore=True) install('insightface', ignore=True) # problematic build install('nncf==2.7.0', ignore=True, no_deps=True) # requires older pandas