AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.68k stars 7.96k forks source link

rtx 3080 darknet error #7012

Open yonghoney opened 3 years ago

yonghoney commented 3 years ago

ubuntu : 20.04 gpu driver : 455.23.04 cuda : 11.1 cudnn : 8.0.4 opencv : 4.4.0

################################### nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2020 NVIDIA Corporation Built on Mon_Oct_12_20:09:46_PDT_2020 Cuda compilation tools, release 11.1, V11.1.105 Build cuda_11.1.TC455_06.29190527_0 ###################################

define CUDNN_MAJOR 8

define CUDNN_MINOR 0

define CUDNN_PATCHLEVEL 4

--

define CUDNN_VERSION (CUDNN_MAJOR 1000 + CUDNN_MINOR 100 + CUDNN_PATCHLEVEL)

endif / CUDNN_VERSION_H /

###################################

ARCH= -gencode arch=compute_86,code=[sm_86,compute_86]

option1 - good """ GPU=0 CUDNN=0 CUDNN_HALF=0 OPENCV=1 AVX=1 OPENMP=1 LIBSO=1 ZED_CAMERA=0 ZED_CAMERA_v2_8=0 """

option2 - error GPU=1 CUDNN=1 CUDNN_HALF=1 OPENCV=1 AVX=0 OPENMP=0 LIBSO=1 ZED_CAMERA=0 ZED_CAMERA_v2_8=0

############## error code ############## $ make ... /usr/bin/ld: cannot find -lcuda collect2: error: ld returned 1 exit status make: *** [Makefile:172: darknet] Error 1

Yupjun commented 3 years ago

How did you solve this problem?

yonghoney commented 3 years ago

How did you solve this problem?

cannot solve yet