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

Does this only work with a specific version of caffe? #2

Open
greenberet opened this issue Sep 14, 2015 · 2 comments
Open

Does this only work with a specific version of caffe? #2

greenberet opened this issue Sep 14, 2015 · 2 comments

Comments

@greenberet
Copy link

Am getting this error while compiling .. Do you know why?

ylee3@sviyer:~/caffe$ make pycaffe
CXX/LD -o python/caffe/_caffe.so python/caffe/_caffe.cpp
In file included from ./include/caffe/layer.hpp:10:0,
from ./include/caffe/caffe.hpp:10,
from python/caffe/_caffe.cpp:17:
./include/caffe/layer_factory.hpp: In function ‘void caffe::init_module__caffe()’:
./include/caffe/layer_factory.hpp:87:17: error: ‘static std::string caffe::LayerRegistry::LayerTypeList() [with Dtype = float; std::string = std::basic_string]’ is private
static string LayerTypeList() {
^
python/caffe/_caffe.cpp:218:53: error: within this context
bp::def("layer_type_list", &LayerRegistry::LayerTypeList);
^
Makefile:445: recipe for target 'python/caffe/_caffe.so' failed
make: *** [python/caffe/_caffe.so] Error 1

@shi69
Copy link

shi69 commented Oct 15, 2015

@greenberet It works with the version under @piergiaj 's repository

@longpeng2008
Copy link

I encounterd several issues.
1 src/caffe/layers/contrastive_loss_layer.cpp:69:66: error: ‘const class caffe::ContrastiveLossParameter’ has no member named ‘legacy_version’
2 src/caffe/blob.cpp:470:13: error: ‘const class caffe::BlobProto’ has no member named ‘double_data_size’

add so on, can you provide some suggestions?

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

3 participants