mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
updated optional requirements for Buffalo_L
This commit is contained in:
parent
2c9847e256
commit
b8494b01a1
@ -21,8 +21,8 @@ class Buffalo_L(FacialRecognition):
|
|||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
from insightface.model_zoo import get_model
|
from insightface.model_zoo import get_model
|
||||||
except ModuleNotFoundError as err:
|
except Exception as err:
|
||||||
raise ModuleNotFoundError(
|
raise Exception(
|
||||||
"InsightFace and its dependencies are optional for the Buffalo_L model. "
|
"InsightFace and its dependencies are optional for the Buffalo_L model. "
|
||||||
"Please install them with: "
|
"Please install them with: "
|
||||||
"pip install insightface>=0.7.3 onnxruntime>=1.9.0 typing-extensions pydantic"
|
"pip install insightface>=0.7.3 onnxruntime>=1.9.0 typing-extensions pydantic"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user