-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi @AlessioTonioni ,
After I replace the files in flownet with yours, something wrong while making
src/caffe/layers/l1loss_layer.cpp: In member function ‘virtual void caffe::L1LossLayer::LayerSetUp(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’:
src/caffe/layers/l1loss_layer.cpp:28:5: error: ‘diff_bottom_vec_’ was not declared in this scope
diff_bottom_vec_.clear();
^
src/caffe/layers/l1loss_layer.cpp:43:7: error: ‘dot_top_vec_’ was not declared in this scope
dot_top_vec_.clear();
^
src/caffe/layers/l1loss_layer.cpp:44:31: error: ‘dot_’ was not declared in this scope
dot_top_vec_.push_back(&dot_);
^
src/caffe/layers/l1loss_layer.cpp:45:7: error: ‘dot_bottom_vec_’ was not declared in this scope
dot_bottom_vec_.clear();
^
src/caffe/layers/l1loss_layer.cpp:50:7: error: ‘dot_layer_’ was not declared in this scope
dot_layer_.reset(new EltwiseLayer(dot_param));
^
src/caffe/layers/l1loss_layer.cpp:53:7: error: ‘dot_top_vec_’ was not declared in this scope
dot_top_vec_=diff_top_vec_;
^
src/caffe/layers/l1loss_layer.cpp:70:26: error: ‘dot_top_vec_’ was not declared in this scope
square_layer_->SetUp(dot_top_vec_, square_top_vec_);
^
src/caffe/layers/l1loss_layer.cpp: In member function ‘virtual void caffe::L1LossLayer::Reshape(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’:
src/caffe/layers/l1loss_layer.cpp:103:34: error: ‘dot_top_vec_’ was not declared in this scope
diff_layer_->Reshape(bottom, dot_top_vec_);
^
src/caffe/layers/l1loss_layer.cpp:115:28: error: ‘dot_top_vec_’ was not declared in this scope
square_layer_->Reshape(dot_top_vec_, square_top_vec_);
^
Makefile:576: recipe for target '.build_release/src/caffe/layers/l1loss_layer.o' failed
make: *** [.build_release/src/caffe/layers/l1loss_layer.o] Error 1