Darknet:制作:*** [obj / convolutional_kernels.o]错误127

时间:2019-07-16 03:25:20

标签: python-3.x opencv yolo

系统配置:Ubuntu 18.04,Nvidia Quadro P2000 Cuda工具套件:10.1

我在系统上安装了Cuda 10.1,并能够输出nvidia-smi。我将配置设置为:

  

GPU = 1

     

CUDNN = 0

     

OPENCV = 1

     

OPENMP = 1

     

DEBUG = 0

但是,当我尝试制作文件时,出现以下错误:

nvcc -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] -Iinclude/ -Isrc/ -DGPU -I/usr/local/cuda-10.1/include/ --compiler-options "-Wall -Wno-unused-result -Wno-unknown-pragmas -Wfatal-errors -fPIC -fopenmp -Ofast -DGPU" -c ./src/convolutional_kernels.cu -o obj/convolutional_kernels.o

/bin/sh: 1: nvcc: not found

Makefile:88: recipe for target 'obj/convolutional_kernels.o' failed

make: *** [obj/convolutional_kernels.o] Error 127

0 个答案:

没有答案