-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building with Cuda9.0 #13
Comments
It seems this caffe version is not compatible with Cuda 9.0. Can you try using recent caffe version and 'manually' adding the 'bilateralNN' layers to that? You can follow these instructions in the readme file for manually adding the layers to recent caffe: Manual wayAlternatively, you can manually copy all but
|
when i executed make -j
|
Did you try manual way of adding layers into your caffe, as described in a message above? |
Actually I don't really understand part of the instruction about the manual way. you mean I just directly copy the bilateralNN to the Caffe repository without executing Cmake command in the build file? |
Yes, copy the relevant layers and use standard caffe cmake and installation, not the cmake given here. |
Here is the log:
[ 1%] Built target proto
[ 1%] Building NVCC (Device) object src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_math_functions.cu.o
/home/jingweih/caffe-rc5/include/caffe/util/cudnn.hpp(112): error: too few arguments in function call
1 error detected in the compilation of "/tmp/tmpxft_00002801_00000000-4_math_functions.cpp4.ii".
CMake Error at cuda_compile_generated_math_functions.cu.o.cmake:266 (message):
Error generating file
/home/jingweih/bilateralNN/build/bin/src/caffe/CMakeFiles/cuda_compile.dir/util/./cuda_compile_generated_math_functions.cu.o
src/caffe/CMakeFiles/caffe.dir/build.make:469: recipe for target 'src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_math_functions.cu.o' failed
make[5]: *** [src/caffe/CMakeFiles/cuda_compile.dir/util/cuda_compile_generated_math_functions.cu.o] Error 1
CMakeFiles/Makefile2:272: recipe for target 'src/caffe/CMakeFiles/caffe.dir/all' failed
make[4]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/CaffeUpstream.dir/build.make:111: recipe for target 'CaffeUpstream-prefix/src/CaffeUpstream-stamp/CaffeUpstream-build' failed
make[2]: *** [CaffeUpstream-prefix/src/CaffeUpstream-stamp/CaffeUpstream-build] Error 2
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/CaffeUpstream.dir/all' failed
make[1]: *** [CMakeFiles/CaffeUpstream.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
How can I solve this issue? Thanks.
The text was updated successfully, but these errors were encountered: