1.Install NVIDIA Driver 352.39 + CUDA + CUDA-Sample + OpenCV
2.Download and build darknet (See more:http://pjreddie.com/darknet/install/)
--sudogedit Makefile: OPENCV=1 or GPU=1
--makeclean
--make
Iffound following issue while running ./darknet:
libcudart.so.7.5:cannot open shared object file: No such file or directory
needto add lib path into system by following steps:
1)sudo cp /etc/ld.so.conf.d/libc.conf /etc/ld.so.conf.d/cuda-lib.conf
2)sudo gedit /etc/ld.so.conf.d/cuda-lib.conf, remove all of content in .conffile, then add the following content:
/usr/local/cuda-7.5/lib
/usr/local/cuda-7.5/lib64
3)sudo/sbin/ldconfig -v
3.Run YOLO:
./darknetyolo test cfg/yolo.cfg "../YOLO data/yolo.weights"data/dog.jpg