You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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’
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
The text was updated successfully, but these errors were encountered: