Closed lawpdas closed 6 years ago
Ok, I have solved this problem.
In the deformable_conv_layer.cpp
:
change
#ifdef CPU_ONLY
STUB_GPU(DeformableConvolutionLayer);
#endif
INSTANTIATE_CLASS(DeformableConvolutionLayer);
} // namespace caffe
to
#ifdef CPU_ONLY
STUB_GPU(DeformableConvolutionLayer);
#endif
INSTANTIATE_CLASS(DeformableConvolutionLayer);
REGISTER_LAYER_CLASS(DeformableConvolution); // add register
} // namespace caffe
this will work in old caffe version.
Sorry, I don't remember the version of caffe. But I didn't use cmake ..
, just make all test runtest
.
thanks,I solved the same problem; the version of caffe is caffe-window
I added
cpp cu hpp
and proto definition to my caffe, compile is ok. But when I ran the MNIST example, I got this error.