mirror of
https://github.com/serengil/deepface.git
synced 2025-06-07 12:05:22 +00:00
Fix importError menssage
This commit is contained in:
parent
352a8bb17b
commit
dacdca4eae
@ -31,8 +31,8 @@ class YoloClient(Detector):
|
|||||||
from ultralytics import YOLO
|
from ultralytics import YOLO
|
||||||
except ModuleNotFoundError as e:
|
except ModuleNotFoundError as e:
|
||||||
raise ImportError(
|
raise ImportError(
|
||||||
"Yolo is an optional detector, ensure the library is installed. \
|
"Yolo is an optional detector, ensure the library is installed. "
|
||||||
Please install using 'pip install ultralytics' "
|
"Please install using 'pip install ultralytics'"
|
||||||
) from e
|
) from e
|
||||||
|
|
||||||
weight_path = f"{folder_utils.get_deepface_home()}{PATH}"
|
weight_path = f"{folder_utils.get_deepface_home()}{PATH}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user