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
When I run "make all pycaffe", I get the following error:
src/caffe/layers/pose_data_layer.cpp: In member function ‘virtual void caffe::PoseDataLayer::DataLayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’:
src/caffe/layers/pose_data_layer.cpp:294:3: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto joint_stats_file = this->layer_param().pose_data_param().has_joint_pairs_stats() ?
^
src/caffe/layers/pose_data_layer.cpp:294:8: error: ‘joint_stats_file’ does not name a type
auto joint_stats_file = this->layer_param().pose_data_param().has_joint_pairs_stats() ?
^
src/caffe/layers/pose_data_layer.cpp:298:43: error: ‘joint_stats_file’ was not declared in this scope
neighbour_stats_ = readMatricesFromFile(joint_stats_file);
^
src/caffe/layers/pose_data_layer.cpp: In member function ‘virtual void caffe::PoseDataLayer::load_batch(caffe::MultiBatch)’:
src/caffe/layers/pose_data_layer.cpp:515:9: error: ‘iota’ is not a member of ‘std’
std::iota(data_indices_.begin(), data_indices_.end(), 0);
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::DataLayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = float]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:290:7: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::load_batch(caffe::MultiBatch) [with Dtype = float]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:573:9: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp:420:14: warning: unused variable ‘sequential’ [-Wunused-variable]
const bool sequential = this->layer_param_.pose_data_param().sequential();
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::DataLayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:290:7: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::load_batch(caffe::MultiBatch*) [with Dtype = double]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:573:9: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp:420:14: warning: unused variable ‘sequential’ [-Wunused-variable]
const bool sequential = this->layer_param_.pose_data_param().sequential();
^
Makefile:563: recipe for target '.build_release/src/caffe/layers/pose_data_layer.o' failed
make: *** [.build_release/src/caffe/layers/pose_data_layer.o] Error 1
How can I fix that?
Thanks!
The text was updated successfully, but these errors were encountered:
When I run "make all pycaffe", I get the following error:
src/caffe/layers/pose_data_layer.cpp: In member function ‘virtual void caffe::PoseDataLayer::DataLayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’:
src/caffe/layers/pose_data_layer.cpp:294:3: warning: ‘auto’ changes meaning in C++11; please remove it [-Wc++0x-compat]
auto joint_stats_file = this->layer_param().pose_data_param().has_joint_pairs_stats() ?
^
src/caffe/layers/pose_data_layer.cpp:294:8: error: ‘joint_stats_file’ does not name a type
auto joint_stats_file = this->layer_param().pose_data_param().has_joint_pairs_stats() ?
^
src/caffe/layers/pose_data_layer.cpp:298:43: error: ‘joint_stats_file’ was not declared in this scope
neighbour_stats_ = readMatricesFromFile(joint_stats_file);
^
src/caffe/layers/pose_data_layer.cpp: In member function ‘virtual void caffe::PoseDataLayer::load_batch(caffe::MultiBatch)’:
src/caffe/layers/pose_data_layer.cpp:515:9: error: ‘iota’ is not a member of ‘std’
std::iota(data_indices_.begin(), data_indices_.end(), 0);
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::DataLayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = float]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:290:7: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::load_batch(caffe::MultiBatch) [with Dtype = float]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:573:9: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp:420:14: warning: unused variable ‘sequential’ [-Wunused-variable]
const bool sequential = this->layer_param_.pose_data_param().sequential();
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::DataLayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&) [with Dtype = double]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:290:7: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp: In instantiation of ‘void caffe::PoseDataLayer::load_batch(caffe::MultiBatch*) [with Dtype = double]’:
src/caffe/layers/pose_data_layer.cpp:937:1: required from here
src/caffe/layers/pose_data_layer.cpp:573:9: warning: unused variable ‘num_labels’ [-Wunused-variable]
int num_labels = this->num_labels_;
^
src/caffe/layers/pose_data_layer.cpp:420:14: warning: unused variable ‘sequential’ [-Wunused-variable]
const bool sequential = this->layer_param_.pose_data_param().sequential();
^
Makefile:563: recipe for target '.build_release/src/caffe/layers/pose_data_layer.o' failed
make: *** [.build_release/src/caffe/layers/pose_data_layer.o] Error 1
How can I fix that?
Thanks!
The text was updated successfully, but these errors were encountered: