caffe-segnet icon indicating copy to clipboard operation
caffe-segnet copied to clipboard

Cannot compile

Open aleksandrmelnyk opened this issue 8 years ago • 4 comments

Linking CXX static library ../../lib/libproto.a [ 1%] Built target proto [ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o /home/ubuntu/SegNet-Tutorial/caffe-segnet/include/caffe/util/cudnn.hpp(123): error: argument of type "int" is incompatible with parameter of type "cudnnNanPropagation_t"

/home/ubuntu/SegNet-Tutorial/caffe-segnet/include/caffe/util/cudnn.hpp(123): error: too few arguments in function call

2 errors detected in the compilation of "/tmp/tmpxft_00000fa5_00000000-5_im2col.cpp4.ii". CMake Error at cuda_compile_generated_im2col.cu.o.cmake:264 (message): Error generating file /home/ubuntu/SegNet-Tutorial/caffe-segnet/build/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_im2col.cu.o

aleksandrmelnyk avatar Oct 17 '16 08:10 aleksandrmelnyk

cuda version 7.5

aleksandrmelnyk avatar Oct 17 '16 08:10 aleksandrmelnyk

are you using cudnn v2?

alexgkendall avatar Oct 17 '16 15:10 alexgkendall

that was for cudnn v5. But I have successfully compiled for cudnn v3.

Any chances that segment will be moved to latest caffe?

aleksandrmelnyk avatar Oct 18 '16 07:10 aleksandrmelnyk

https://github.com/TimoSaemann/caffe-segnet-cudnn5

Timo-hab avatar Jan 05 '17 21:01 Timo-hab