qqwweee / keras-yolo3

A Keras implementation of YOLOv3 (Tensorflow backend)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yolo3 make error

ShanakaRG opened this issue · comments

tried to build yolo3 model with the instructions of here. https://pjreddie.com/darknet/yolo/ . but when i change my make file for GPU configuration as follows and set all the paths in the makefile.

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

But when I make it, the following error occurred. Can someone help me with this?
used versions
cuda 10
Opencv 4.4.0

chmod +x *.sh
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] -gencode arch=compute_61,code=[sm_61,compute_61] -Iinclude/ -I3rdparty/stb/include -DOPENCV `pkg-config --cflags opencv4 2> /dev/null || pkg-config --cflags opencv` -DGPU -I/usr/lib/cuda/include -DCUDNN --compiler-options "-Wall -Wfatal-errors -Wno-unused-result -Wno-unknown-pragmas -fPIC -Ofast -DOPENCV -DGPU -DCUDNN -I/usr/local/cudnn/include -DZED_STEREO -I/usr/local/zed/include" -c ./src/convolutional_kernels.cu -o obj/convolutional_kernels.o
/usr/include/c++/8/utility(307): error: pack expansion does not make use of any argument packs

/usr/include/c++/8/utility(329): error: pack expansion does not make use of any argument packs

/usr/include/c++/8/utility(329): error: expected a ">"
          detected during instantiation of type "std::make_integer_sequence<std::size_t, _Num>" 
(340): here

3 errors detected in the compilation of "/tmp/tmpxft_00008ad9_00000000-10_convolutional_kernels.compute_61.cpp1.ii".
make: *** [Makefile:180: obj/convolutional_kernels.o] Error 1

Hey @ShanakaRG,

Have you, by any chance, solved the issue. I have the exact same problem, but can't find anything that works.

PS. I know this thread is over a year old