3

I have recently installed Dlib using pip. But when I am importing it it is giving the following error:

ImportError: /usr/local/cuda/lib64/libcudnn.so.7: file too short

In libcudnn.so.7 is nothing. Please help me in resolving this problem.

talonmies
  • 70,661
  • 34
  • 192
  • 269
Michall
  • 66
  • 3

1 Answers1

0

I tried almost all the solutions here and on the github issues related to the issue and none of them seemed to work. Eventually, I tried to cat the contents of my libcudnn.so files and turns out they were empty. Downloaded them again, copied them to the right place again, and it all worked.