From 2a1babbe142e025c5c57cbda347a9c1e269ea23c Mon Sep 17 00:00:00 2001 From: raghucharan16 Date: Fri, 28 Feb 2025 16:08:15 +0530 Subject: [PATCH] updated optional requirements for Buffalo_L --- deepface/models/facial_recognition/Buffalo_L.py | 5 +++-- requirements_additional.txt | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/deepface/models/facial_recognition/Buffalo_L.py b/deepface/models/facial_recognition/Buffalo_L.py index 32ab9f3..5f27110 100644 --- a/deepface/models/facial_recognition/Buffalo_L.py +++ b/deepface/models/facial_recognition/Buffalo_L.py @@ -23,8 +23,9 @@ class Buffalo_L(FacialRecognition): from insightface.model_zoo import get_model except ModuleNotFoundError as err: raise ModuleNotFoundError( - "InsightFace is an optional dependency for the Buffalo_L model." - "You can install it with: pip install insightface>=0.7.3" + "InsightFace and its dependencies are optional for the Buffalo_L model. " + "Please install them with: " + "pip install insightface>=0.7.3 onnxruntime>=1.9.0 typing-extensions pydantic" ) from err # Define the model filename and subdirectory diff --git a/requirements_additional.txt b/requirements_additional.txt index 94d82dd..dd30b95 100644 --- a/requirements_additional.txt +++ b/requirements_additional.txt @@ -6,4 +6,6 @@ facenet-pytorch>=2.5.3 torch>=2.1.2 insightface>=0.7.3 onnxruntime>=1.9.0 -tf-keras \ No newline at end of file +tf-keras +typing-extensions +pydantic \ No newline at end of file