Face_recognition: Error in importing on Google Colab

Created on 10 Jan 2019  路  2Comments  路  Source: ageitgey/face_recognition

Description

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

What I Did

!pip install face_recogntion
import face_recogntion

The error was
screenshot 2019-01-10 at 1 27 31 pm

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'

All 2 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

InnovativeInventor picture InnovativeInventor  路  6Comments

xiao543348405 picture xiao543348405  路  5Comments

safaad picture safaad  路  4Comments

damey2011 picture damey2011  路  3Comments

Sparviero-Sughero picture Sparviero-Sughero  路  4Comments