dsisds / caffe-SPPNet

detection-developing
BSD 2-Clause "Simplified" License
20 stars 10 forks source link

2 errors detected in the compilation of "/tmp/tmpxft_00002086_00000000-19_math_functions.compute_61.cpp1.ii". #2

Open PapaMadeleine2022 opened 6 years ago

PapaMadeleine2022 commented 6 years ago

hello, I get this error when compiling it: `nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning). src/caffe/util/math_functions.cu(181): error: calling a host function("std::signbit ") from a global function("caffe::sgnbit_kernel ") is not allowed

src/caffe/util/math_functions.cu(181): error: calling a host function("std::signbit ") from a global function("caffe::sgnbit_kernel ") is not allowed

2 errors detected in the compilation of "/tmp/tmpxft_00002086_00000000-19_math_functions.compute_61.cpp1.ii". Makefile:466: recipe for target '.build_release/src/caffe/util/math_functions.cuo' failed make: *** [.build_release/src/caffe/util/math_functions.cuo] Error 1 and when I rungit checkout dev`, it shows error:

error: pathspec 'dev' did not match any file(s) known to git.

how to fix it? can you give some advises? thank you very much~~

dsisds commented 6 years ago

Try faster rcnn or ssd, faster and better. https://github.com/rbgirshick/py-faster-rcnn https://github.com/weiliu89/caffe/tree/ssd

PapaMadeleine2022 commented 6 years ago

@dsisds I know, but I want to learn sppnet