Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: Error while calling cudnnConvolutionForward #17

Open
Cryptoevil opened this issue Jan 24, 2020 · 2 comments
Open

RuntimeError: Error while calling cudnnConvolutionForward #17

Cryptoevil opened this issue Jan 24, 2020 · 2 comments

Comments

@Cryptoevil
Copy link

When I try to run recognition I getting this:

File "faceswap/lib/FaceFilter.py", line 9, in init
self.encoding = face_recognition.face_encodings(image)[0] # Note: we take only first face, so the reference file should only contain one face.
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 210, in face_encodings
return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
File "/usr/local/lib/python3.6/dist-packages/face_recognition/api.py", line 210, in
return [np.array(face_encoder.compute_face_descriptor(face_image, raw_landmark_set, num_jitters)) for raw_landmark_set in raw_landmarks]
RuntimeError: Error while calling cudnnConvolutionForward( context(), &alpha, descriptor(data), data.device(), (const cudnnFilterDescriptor_t)filter_handle, filters.device(), (const cudnnConvolutionDescriptor_t)conv_handle, (cudnnConvolutionFwdAlgo_t)forward_algo, forward_workspace, forward_workspace_size_in_bytes, &beta, descriptor(output), output.device()) in file /tmp/pip-wheel-b9ck8go0/dlib/dlib/cuda/cudnn_dlibapi.cpp:1004. code: 8, reason: CUDNN_STATUS_EXECUTION_FAILED

@EvanGee
Copy link

EvanGee commented Aug 16, 2021

me too

@hamzakhalil798
Copy link

@EvanGee !pip install dlib==19.22.1 This will fix it. Worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants