安装Darknet-Ubuntu环境下

1、安装OpenCV:https://blog.csdn.net/qq_27437197/article/details/91375340

2、安装Cuda:https://blog.csdn.net/qq_27437197/article/details/91809039

3、安装Darknet:

下载darknet源码:https://share.weiyun.com/5265QdE

git clone https://github.com/pjreddie/darknet.git
cd darknet
make

下载cuDnn:https://share.weiyun.com/54TpAms

解压后,在cuDnn中,对文件进行复制:

sudo cp cuda/include/cudnn.h /usr/local/cuda-8.0/include
sudo cp -a cuda/lib64/libcudnn* /usr/local/cuda-8.0/lib64

修改darknet中的makefile文件为:

OPENCV=1
GPU=1

重新编译:

make clean
make -j8

最后进行测试:

./darknet imtest data/eagle.jpg

 

参考文章:https://blog.csdn.net/gzj_1101/article/details/78651650

你可能感兴趣的:(环境配置,系统运维)