CUDNN_STATUS_NOT_SUPPORTED
- face_recognition version:
- Python version:
- Operating System: Windows 10
Description
Installed the face_recognition library through pip on windows 10. same with dlib. when I try to run a simple code I get error that
CUDNN_STATUS_NOT_SUPPORTED
Here is code:
imagePath = '202124219280011710.jpg'
image = cv2.imread(imagePath)
rgb = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
# detect the (x, y)-coordinates of the bounding boxes
# corresponding to each face in the input image
boxes = face_recognition.face_locations(rgb, model='hog')
# compute the facial embedding for the face
encodings = face_recognition.face_encodings(rgb, boxes)
print(encodings)
and here is the error:
File "encode_mine.py", line 49, in
Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen. IMPORTANT: If your issue is related to a specific picture, include it so others can reproduce the issue.
What I Did
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
Hello, @Primadual I am experiencing the same issue, have you found a solution yet? I'd really appreciate your feedback.
Hello, @SamuelAjayiBG, @Primadual I am facing this problem, did you find a solution?
Hello, @Primadual @SamuelAjayiBG @Karshiev I'm facing the same issue, did you find a solution? thanks
Hello, @Primadual @SamuelAjayiBG @Karshiev @j22054022 I'm facing the same issue when I use cnn mode, did you find a solution? thanks
You should downgrade dlib:
pip uninstall dlib
pip install dlib==19.22.1