下载darknet
git clone https://github.com/AlexeyAB/darknet
编译项目
cd darknet
make
报错:chmod +x *.sh
解决方法:
make clean
make
报错:/bin/sh: 1: nvcc: not found
Makefile:185: recipe for target ‘obj/convolutional_kernels.o’ failed
make: *** [obj/convolutional_kernels.o] Error 127
查了一下,说是因为没有安装cuda。但是我的cuda明明已经安装了。解决方法:
添加环境变量,打开~/.bashrc:
sudo gedit ~/.<