mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 03:55:21 +00:00
updated optional requirements for Buffalo_L
This commit is contained in:
parent
1a5d74b893
commit
2a1babbe14
@ -23,8 +23,9 @@ class Buffalo_L(FacialRecognition):
|
|||||||
from insightface.model_zoo import get_model
|
from insightface.model_zoo import get_model
|
||||||
except ModuleNotFoundError as err:
|
except ModuleNotFoundError as err:
|
||||||
raise ModuleNotFoundError(
|
raise ModuleNotFoundError(
|
||||||
"InsightFace is an optional dependency for the Buffalo_L model."
|
"InsightFace and its dependencies are optional for the Buffalo_L model. "
|
||||||
"You can install it with: pip install insightface>=0.7.3"
|
"Please install them with: "
|
||||||
|
"pip install insightface>=0.7.3 onnxruntime>=1.9.0 typing-extensions pydantic"
|
||||||
) from err
|
) from err
|
||||||
|
|
||||||
# Define the model filename and subdirectory
|
# Define the model filename and subdirectory
|
||||||
|
@ -6,4 +6,6 @@ facenet-pytorch>=2.5.3
|
|||||||
torch>=2.1.2
|
torch>=2.1.2
|
||||||
insightface>=0.7.3
|
insightface>=0.7.3
|
||||||
onnxruntime>=1.9.0
|
onnxruntime>=1.9.0
|
||||||
tf-keras
|
tf-keras
|
||||||
|
typing-extensions
|
||||||
|
pydantic
|
Loading…
x
Reference in New Issue
Block a user