digitalbrain79 / pyyolo

Simple python wrapper for YOLO.
126 stars 65 forks source link

fatal error: cudnn.h: No such file or directory #54

Open barzan-hayati opened 4 years ago

barzan-hayati commented 4 years ago

I run these codes respectively and I have got this error :

gcc  -DGPU -I/usr/local/cuda/include/ -DCUDNN  -Wall -Wfatal-errors -Wno-unused-result -fPIC -I./darknet/src -I./darknet/include -Ofast -DGPU -DCUDNN -c libyolo.c -o obj/libyolo.o
In file included from libyolo.c:5:0:
./darknet/include/darknet.h:19:14: fatal error: cudnn.h: No such file or directory
     #include "cudnn.h"
              ^~~~~~~~~
compilation terminated.
Makefile:66: recipe for target 'obj/libyolo.o' failed
make: *** [obj/libyolo.o] Error 1

Screenshot from 2019-08-26 12-20-30 But yet cudnn.h does not exit yet in this directory. I run these codes and tried them, but they didn't work yet. 1.

git clone --recursive git@github.com:rayhou0710/pyyolo.git
make

2.

 git clone --recurse-submodules https://github.com/digitalbrain79/pyyolo.git
make

Also I downloaded pjreddie/darknet directly.