Skip to content
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

Gpu is forced? make with cpu_only = 1 failed. #7

Open
jingmouren opened this issue Dec 6, 2018 · 0 comments
Open

Gpu is forced? make with cpu_only = 1 failed. #7

jingmouren opened this issue Dec 6, 2018 · 0 comments

Comments

@jingmouren
Copy link

I think running demo with pretrained model don't need a GPU.
So I change the Makefile.config with cpu_only := 1
but the following erroe occurs when make:

../lib/libcaffe.a(layer_factory.cpp.o):(.data.rel.ro._ZTVN5caffe16ConvolutionLayerIfEE[_ZTVN5caffe16ConvolutionLayerIfEE]+0xd0):对‘caffe::ConvolutionLayer::RotateARF_gpu()’未定义的引用
../lib/libcaffe.a(layer_factory.cpp.o):(.data.rel.ro._ZTVN5caffe16ConvolutionLayerIfEE[_ZTVN5caffe16ConvolutionLayerIfEE]+0xe0):对‘caffe::ConvolutionLayer::AlignARF_gpu()’未定义的引用
../lib/libcaffe.a(layer_factory.cpp.o):(.data.rel.ro._ZTVN5caffe16ConvolutionLayerIdEE[_ZTVN5caffe16ConvolutionLayerIdEE]+0xd0):对‘caffe::ConvolutionLayer::RotateARF_gpu()’未定义的引用
../lib/libcaffe.a(layer_factory.cpp.o):(.data.rel.ro._ZTVN5caffe16ConvolutionLayerIdEE[_ZTVN5caffe16ConvolutionLayerIdEE]+0xe0):对‘caffe::ConvolutionLayer::AlignARF_gpu()’未定义的引用
collect2: error: ld returned 1 exit status
tools/CMakeFiles/convert_imageset.dir/build.make:130: recipe for target 'tools/convert_imageset' failed
make[2]: *** [tools/convert_imageset] Error 1
CMakeFiles/Makefile2:441: recipe for target 'tools/CMakeFiles/convert_imageset.dir/all' failed
make[1]: *** [tools/CMakeFiles/convert_imageset.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant