GPU=1 #如果使用GPU训练就设置为1,CPU设置为0CUDNN=1 #使用GPU就需要调用到CUNDD,当使用GPU时就设置为1,否则设置为0OPENCV=0 #需要调用摄像头则设置为1,否则设置为0OPENMP=0DEBUG=0ARCH=-gencode arch=compute_30,code=sm_30 \
-gencode arch=compute_35,code=sm_35 \
-gencode arch=compute_50,code=[sm_50,compute_50] \
-gencode arch=compute_52,code=[sm_52,compute_52]
# -gencode arch=compute_20,code=[sm_20,sm_21] \ This one is deprecated?
# This is what I use, uncomment if you know your arch and want to specify
# ARCH=-gencode arch=compute_52,code=compute_52
VPATH=./src/:./examples
SLIB=libdarknet.so
ALIB=libdarknet.a
EXEC=darknet
OBJDIR=./obj/CC=gcc
CPP=g++NVCC=/usr/local/cuda-10.0/bin