Skip to content
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

error when no gpu? #13

Open
Pinnh opened this issue Jan 8, 2019 · 0 comments
Open

error when no gpu? #13

Pinnh opened this issue Jan 8, 2019 · 0 comments

Comments

@Pinnh
Copy link

Pinnh commented Jan 8, 2019

when make in cpu model errors happen as follow:

/caffe-augmentation/include/caffe/util/device_alternate.hpp:15:36: error: no ‘void caffe::K1_EuclideanLossLayer::Forward_gpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::K1_EuclideanLossLayer’
const vector<Blob>& top) { NO_GPU; }
^
/caffe-augmentation/src/caffe/layers/K1_euclidean_loss_layer.cpp:86:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(K1_EuclideanLossLayer);
/caffe-augmentation/include/caffe/util/device_alternate.hpp:19:39: error: no ‘void caffe::K1_EuclideanLossLayer::Backward_gpu(const std::vector<caffe::Blob
>&, const std::vector&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::K1_EuclideanLossLayer’
const vector<Blob
>& bottom) { NO_GPU; }
^
/caffe-augmentation/src/caffe/layers/K1_euclidean_loss_layer.cpp:86:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(K1_EuclideanLossLayer);

@Pinnh Pinnh changed the title error when no gpu error when because no gpu? Jan 8, 2019
@Pinnh Pinnh changed the title error when because no gpu? error when no gpu? Jan 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant