SeqFace
SeqFace copied to clipboard
caffe compilation fails
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 You could try to compile the caffe without dsa_loss_layer. After success, you can add it and recompile the caffe.
Same error, have u solved it?
@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; } \