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_bottomvec’ was not declared in this scope
diff_bottomvec.clear();
^
src/caffe/layers/l1loss_layer.cpp:43:7: error: ‘dot_topvec’ was not declared in this scope
dot_topvec.clear();
^
src/caffe/layers/l1losslayer.cpp:44:31: error: ‘dot’ was not declared in this scope
dot_topvec.pushback(&dot);
^
src/caffe/layers/l1loss_layer.cpp:45:7: error: ‘dot_bottomvec’ was not declared in this scope
dot_bottomvec.clear();
^
src/caffe/layers/l1loss_layer.cpp:50:7: error: ‘dotlayer’ was not declared in this scope
dotlayer.reset(new EltwiseLayer(dot_param));
^
src/caffe/layers/l1loss_layer.cpp:53:7: error: ‘dot_topvec’ was not declared in this scope
dot_topvec=diff_topvec;
^
src/caffe/layers/l1loss_layer.cpp:70:26: error: ‘dot_topvec’ was not declared in this scope
squarelayer->SetUp(dot_topvec, square_topvec);
^
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_topvec’ was not declared in this scope
difflayer->Reshape(bottom, dot_topvec);
^
src/caffe/layers/l1loss_layer.cpp:115:28: error: ‘dot_topvec’ was not declared in this scope
squarelayer->Reshape(dot_topvec, square_topvec);
^
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
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_bottomvec’ was not declared in this scope
diff_bottomvec.clear();
^
src/caffe/layers/l1loss_layer.cpp:43:7: error: ‘dot_topvec’ was not declared in this scope
dot_topvec.clear();
^
src/caffe/layers/l1losslayer.cpp:44:31: error: ‘dot’ was not declared in this scope
dot_topvec.pushback(&dot);
^
src/caffe/layers/l1loss_layer.cpp:45:7: error: ‘dot_bottomvec’ was not declared in this scope
dot_bottomvec.clear();
^
src/caffe/layers/l1loss_layer.cpp:50:7: error: ‘dotlayer’ was not declared in this scope
dotlayer.reset(new EltwiseLayer(dot_param));
^
src/caffe/layers/l1loss_layer.cpp:53:7: error: ‘dot_topvec’ was not declared in this scope
dot_topvec=diff_topvec;
^
src/caffe/layers/l1loss_layer.cpp:70:26: error: ‘dot_topvec’ was not declared in this scope
squarelayer->SetUp(dot_topvec, square_topvec);
^
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_topvec’ was not declared in this scope
difflayer->Reshape(bottom, dot_topvec);
^
src/caffe/layers/l1loss_layer.cpp:115:28: error: ‘dot_topvec’ was not declared in this scope
squarelayer->Reshape(dot_topvec, square_topvec);
^
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