pdlib icon indicating copy to clipboard operation
pdlib copied to clipboard

Processing photos not finding faces.

Open santacl4ws opened this issue 5 years ago • 2 comments

Hello,

I am running dlib / pdlib with my GPU on ubuntu 18.04 to scan photos for faces. I seem to be scanning the photos with no errors, however it is not finding faces, Looking into my databse I can see the follwoing errors:

Error while calling cudaGetLastError() in file /home/ncadmin/dlib/dlib/cuda/gpu_data.cpp:114. code: 8, reason: invalid device function

Error while calling cudaOccupancyMaxPotentialBlockSize(&num_blocks,&num_threads,K) in file /home/ncadmin/dlib/dlib/cuda/cuda_utils.h:164. code: 8, reason: invalid device function

santacl4ws avatar Jun 13 '19 19:06 santacl4ws

Same issue on: OS: Windows 10 x64 dlib: 19.19.0 using CUDA CUDA: 9.1 graphic card: NVIDIA GEFORCE 820M

gvizdpeter avatar Dec 16 '19 10:12 gvizdpeter

Heya both, are you using https://github.com/matiasdelellis/facerecognition project or your own? If former, please open issues for this on that repo (simply because that owners of that repo are aware of this issue and can handle it in calling code). If latter, can you try it out with regular C++ or Python code and see if you are getting same error? Also, if you using CUDA, can you write here steps to compile it with it and version of CUDE and dlib (as it seems there is already report online about this cudaOccupancyMaxPotentialBlockSize function missing, so I might think it is related to old CUDE libraries)?

stalker314314 avatar Dec 17 '19 07:12 stalker314314