I am trying to import face_recognition on Google Colab after installing it using pip.However the following error appears : RuntimeError: Error while calling cudaGetDevice(&the_device_id) in file /tmp/pip-install-m826kloy/dlib/dlib/cuda/gpu_data.cpp:178. code: 30, reason: unknown error
!pip install face_recogntion
import face_recogntion
The error was

Hey mate @avinsit123. That fixed for me when i changed my runtime type to 'GPU'
you can do this by clicking 'Runtime' (in the tool bar) --> then 'Change Runtime Type' --> 'Hardware Accelerator' to 'GPU'
Hey mate @avinsit123. That fixed for me when i changed my runtime type to 'GPU'
you can do this by clicking 'Runtime' (in the tool bar) --> then 'Change Runtime Type' --> 'Hardware Accelerator' to 'GPU'
Thank you sooo much. This thing was disturbing me from so much time.
Most helpful comment
Hey mate @avinsit123. That fixed for me when i changed my runtime type to 'GPU'
you can do this by clicking 'Runtime' (in the tool bar) --> then 'Change Runtime Type' --> 'Hardware Accelerator' to 'GPU'