From bfcff74d3958ad2fb7646d6566ea88af7c588264 Mon Sep 17 00:00:00 2001 From: David Chatel Date: Sun, 21 Sep 2025 20:36:06 +0200 Subject: [PATCH] fix: remove unused providers argument in landmark inference session --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index d4faef1..f8f9fe7 100644 --- a/utils.py +++ b/utils.py @@ -62,7 +62,7 @@ class Models: @classmethod def lmk(cls, crop): if '_lmk' not in cls.__dict__: - cls._lmk = InferenceSession(os.path.join(models_dir, 'landmarks', 'fan2_68_landmark.onnx'), providers=get_available_providers()) + cls._lmk = InferenceSession(os.path.join(models_dir, 'landmarks', 'fan2_68_landmark.onnx')) lmk = cls._lmk.run(None, {'input': crop})[0] return lmk