SeqFace icon indicating copy to clipboard operation
SeqFace copied to clipboard

caffe compilation fails

Open Source82 opened this issue 6 years ago • 3 comments

Hello,

make all for the caffe comes with error

src/caffe/layers/dsa_loss_layer.cpp:366:1: note: in expansion of macro ‘STUB_GPU’ STUB_GPU(DSALossLayer); ^~~~~~~~ Makefile:573: recipe for target '.build_release/src/caffe/layers/dsa_loss_layer.o' failed make: *** [.build_release/src/caffe/layers/dsa_loss_layer.o] Error 1 make: *** Waiting for unfinished jobs....

Source82 avatar Jun 27 '19 17:06 Source82

@Source82 You could try to compile the caffe without dsa_loss_layer. After success, you can add it and recompile the caffe.

huangyangyu avatar Aug 01 '19 09:08 huangyangyu

Same error, have u solved it?

nerddd avatar Nov 04 '19 07:11 nerddd

@huangyangyu hi, I met same error. When I remove dsa loss in caffe.proto, the error as follows

caffe/include/caffe/util/device_alternate.hpp:15:36: error: no ‘void caffe::DSALossLayer<Dtype>::Forward_gpu(const std::vector<caffe::Blob<Dtype>*>&, const std::vector<caffe::Blob<Dtype>*>&)’ member function declared in class ‘caffe::DSALossLayer<Dtype>’
    const vector<Blob<Dtype>*>& top) { NO_GPU; } \

nerddd avatar Nov 04 '19 08:11 nerddd