Incubator-mxnet: No set_gpu_data when installing caffe plugin

Created on 28 Sep 2016  Â·  7Comments  Â·  Source: apache/incubator-mxnet

I tried to install mxnet with caffe. However I got the following errors.

plugin/caffe/caffe_blob.cc:40:14: error: ‘class caffe::Blob’ has no member named ‘set_gpu_data’
(_blob)->set_gpu_data(data_ptr);
^
plugin/caffe/caffe_blob.cc:42:14: error: ‘class caffe::Blob’ has no member named ‘set_gpu_diff’
(_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?

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

All 7 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phunterlau picture phunterlau  Â·  3Comments

dushoufu picture dushoufu  Â·  3Comments

WangcsShuai picture WangcsShuai  Â·  3Comments

xzqjack picture xzqjack  Â·  3Comments

ranti-iitg picture ranti-iitg  Â·  3Comments