floydhub / dl-docker

An all-in-one Docker image for deep learning. Contains all the popular DL frameworks (TensorFlow, Theano, Torch, Caffe, etc.)
https://www.floydhub.com
3.86k stars 821 forks source link

Error in make #87

Closed jeya-maria-jose closed 4 years ago

jeya-maria-jose commented 6 years ago

jose@jose-Inspiron-3543:~/caffe-fr-chairs$ make all [ 1%] Built target proto [ 1%] Building CXX object src/caffe/CMakeFiles/caffe.dir/layers/label_to_onehot_layer.cpp.o In file included from /home/jose/caffe-fr-chairs/include/caffe/common.hpp:19:0, from /home/jose/caffe-fr-chairs/include/caffe/blob.hpp:8, from /home/jose/caffe-fr-chairs/src/caffe/layers/label_to_onehot_layer.cpp:3: /home/jose/caffe-fr-chairs/include/caffe/util/device_alternate.hpp:15:36: error: no ‘void caffe::LabelToOnehotLayer::Forward_gpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::LabelToOnehotLayer’ const vector<Blob>& top) { NO_GPU; } \ ^ /home/jose/caffe-fr-chairs/src/caffe/layers/label_to_onehot_layer.cpp:50:1: note: in expansion of macro ‘STUB_GPU’ STUB_GPU(LabelToOnehotLayer); ^ /home/jose/caffe-fr-chairs/include/caffe/util/device_alternate.hpp:19:39: error: no ‘void caffe::LabelToOnehotLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::LabelToOnehotLayer’ const vector<Blob>& bottom) { NO_GPU; } \ ^ /home/jose/caffe-fr-chairs/src/caffe/layers/label_to_onehot_layer.cpp:50:1: note: in expansion of macro ‘STUB_GPU’ STUB_GPU(LabelToOnehotLayer); ^ make[2]: [src/caffe/CMakeFiles/caffe.dir/layers/label_to_onehot_layer.cpp.o] Error 1 make[1]: [src/caffe/CMakeFiles/caffe.dir/all] Error 2 make: *** [all] Error 2