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