huangyangyu / SeqFace

SeqFace : Making full use of sequence information for face recognition
https://arxiv.org/pdf/1803.06524.pdf
MIT License
129 stars 32 forks source link

caffe compilation fails #12

Open Source82 opened 5 years ago

Source82 commented 5 years ago

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....

huangyangyu commented 5 years ago

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

nerddd commented 4 years ago

Same error, have u solved it?

nerddd commented 4 years ago

@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; } \