I tried to install mxnet with caffe. However I got the following errors.
plugin/caffe/caffe_blob.cc:40:14: error: ‘class caffe::Blob
(_blob)->set_gpu_data(data_ptr);
^
plugin/caffe/caffe_blob.cc:42:14: error: ‘class caffe::Blob
(_blob)->set_gpu_diff(data_ptr);
I check the caffe code, and I actually don't find these two functions in Blob class. Are you doing something to fix it?
please follow the installation guide carefully http://dmlc.ml/mxnet/2016/07/29/use-caffe-operator-in-mxnet.html. There is a patch that you need to apply to caffe
https://github.com/BVLC/caffe/pull/4527/files
@HrWangChengdu Could you put a readme in plugin/caffe and example/caffe?
@piiswrong Sorry, I didn't notice there is a separate doc for adding caffe plugin. Thank you for you reference.
@piiswrong Please check pr list
hello everybody, the patch doesn't apply any more :/
error: patch failed: include/caffe/blob.hpp:218
error: include/caffe/blob.hpp: patch does not apply
@HrWangChengdu Can we get that PR merged into caffe?
@piiswrong Is There any solution for patch applying error?
I got the same problem with you, @n1kt0 , did you solve it?
dear all, the patch doesn't apply any more :/
error: patch failed: include/caffe/blob.hpp:218
error: include/caffe/blob.hpp: patch does not apply
Most helpful comment
hello everybody, the patch doesn't apply any more :/
error: patch failed: include/caffe/blob.hpp:218
error: include/caffe/blob.hpp: patch does not apply