face_recognition
face_recognition copied to clipboard
issue on colab, was working fine 50 days ago, today when I run the same notebook again, I get this error.
RuntimeError Traceback (most recent call last)
1 frames
/usr/local/lib/python3.11/dist-packages/face_recognition/api.py in
RuntimeError: Error while calling cudaOccupancyMaxPotentialBlockSize(&num_blocks,&num_threads,K) in file /root/.cache/uv/sdists-v7/pypi/dlib/19.24.2/4_6PNx5_2RaZQs-tY1P75/src/dlib/cuda/cuda_utils.h:186. code: 222, reason: the provided PTX was compiled with an unsupported toolchain.
I am running on T4 Colab. The exact same notebook worked fine without error 50 days ago, but it gives this error now. What can I do to fix
getting the same problem here
The same problem for me, created an issue on Colab. Could be a Colab problem? Is face_recognition maintained?
Installing the binaries of dlib worked for me:
pip install dlib-bin==19.24.6 face-recognition==1.3.0 Pillow