New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make error #17
Comments
@txacuhan The errors happened because the program didn't support the CPU only mode then. We've updated it and it supports CPU only mode now. Please download it again. Thank you:-). |
@tianzhi0549 Thanks |
@tianzhi0549 hi CXX src/caffe/blob.cpp Thank you very much |
go to the loss_layers.hpp and change tr1/unordered_map with unordered_map and remove the ::t r:: also |
@HamdiHamed1992 我在我的macbookpro上编译通过,你说的方法好使。
|
In file included from ./include/caffe/common.hpp:19:0,
from src/caffe/layers/more_sparse_im2col_layer.cpp:3:
./include/caffe/util/device_alternate.hpp:15:36: error: no ‘void caffe::MoreSparseIm2colLayer::Forward_gpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::MoreSparseIm2colLayer’
const vector<Blob>& top) { NO_GPU; }
^
src/caffe/layers/more_sparse_im2col_layer.cpp:89:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(MoreSparseIm2colLayer);
^
./include/caffe/util/device_alternate.hpp:19:39: error: no ‘void caffe::MoreSparseIm2colLayer::Backward_gpu(const std::vector<caffe::Blob>&, const std::vector&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::MoreSparseIm2colLayer’
const vector<Blob>& bottom) { NO_GPU; }
^
src/caffe/layers/more_sparse_im2col_layer.cpp:89:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(MoreSparseIm2colLayer);
^
Makefile:518: recipe for target '.build_release/src/caffe/layers/more_sparse_im2col_layer.o' failed
make: *** [.build_release/src/caffe/layers/more_sparse_im2col_layer.o] Error 1
Any help would be appreciated.
I am compiling this on Ubuntu 16.04 without cudnn
Thanks so much
The text was updated successfully, but these errors were encountered: