File "prdPC_api_f2.py", line 8, in import face_recognition File "/home/rudram/anaconda3/envs/face/lib/python3.8/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 "/home/rudram/anaconda3/envs/face/lib/python3.8/site-packages/face_recognition/api.py", line 26, in cnn_face_detector = dlib.cnn_face_detection_model_v1(cnn_face_detection_model) RuntimeError: Error while calling cudaGetDevice(&the_device_id) in file /tmp/pip-install-xg9trdl2/dlib_3d23b814c78442ab98826b9abadd92d6/dlib/cuda/gpu_data.cpp:204. code: 999, reason: unknown error
I am facing this issue which is related to face recognition when I was using the code using face-recognition library in cpu system, it was working fine. Later I used gpu machine and installed all libraries and dependencies but facing above issue. Face recognition library is based on hog and cnn based select automatically depending upon cuda right? I have installed cuda but still facing above error, How can I ignore cuda or can use cuda properly? Please guide...