You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import Face recognition on Pycharm , and i get this error :
pose_predictor_68_point = dlib.shape_predictor(predictor_68_point_model)
RuntimeError: Unable to open C:\Users...\venv\lib\site-packages\face_recognition_models\models\shape_predictor_68_face_landmarks.dat
i checked , the shape predictor file exists in the models folder
"C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\Scripts\python.exe" "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\Encodeur.py"
Traceback (most recent call last):
File "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\Encodeur.py", line 3, in
import face_recognition
File "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\lib\site-packages\face_recognition_init_.py", line 7, in
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
File "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\lib\site-packages\face_recognition\api.py", line 20, in
pose_predictor_68_point = dlib.shape_predictor(predictor_68_point_model)
RuntimeError: Unable to open C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\lib\site-packages\face_recognition_models\models\shape_predictor_68_face_landmarks.dat
Process finished with exit code 1
The text was updated successfully, but these errors were encountered:
Description
I'm trying to import Face recognition on Pycharm , and i get this error :
pose_predictor_68_point = dlib.shape_predictor(predictor_68_point_model)
RuntimeError: Unable to open C:\Users...\venv\lib\site-packages\face_recognition_models\models\shape_predictor_68_face_landmarks.dat
i checked , the shape predictor file exists in the models folder
"C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\Scripts\python.exe" "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\Encodeur.py"
Traceback (most recent call last):
File "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\Encodeur.py", line 3, in
import face_recognition
File "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\lib\site-packages\face_recognition_init_.py", line 7, in
from .api import load_image_file, face_locations, batch_face_locations, face_landmarks, face_encodings, compare_faces, face_distance
File "C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\lib\site-packages\face_recognition\api.py", line 20, in
pose_predictor_68_point = dlib.shape_predictor(predictor_68_point_model)
RuntimeError: Unable to open C:\Users\SIMO1\OneDrive - Université Mohammed VI Polytechnique\Desktop\MVP AE\venv\lib\site-packages\face_recognition_models\models\shape_predictor_68_face_landmarks.dat
Process finished with exit code 1
The text was updated successfully, but these errors were encountered: