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

Build Error. Why it is obligatory to use GPU? #26

Open
kmonachopoulos opened this issue Jun 16, 2017 · 4 comments
Open

Build Error. Why it is obligatory to use GPU? #26

kmonachopoulos opened this issue Jun 16, 2017 · 4 comments

Comments

@kmonachopoulos
Copy link

In file included from ./include/caffe/common.hpp:19:0,
from ./include/caffe/blob.hpp:8,
from ./include/caffe/layers/detection_loss_layer.hpp:6,
from src/caffe/layers/detection_loss_layer.cpp:6:
./include/caffe/util/device_alternate.hpp:15:36: error: no ‘void caffe::DetectionLossLayer::Forward_gpu(const std::vector<caffe::Blob>&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::DetectionLossLayer’
const vector<Blob>& top) { NO_GPU; }
^
src/caffe/layers/detection_loss_layer.cpp:222:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(DetectionLossLayer);
^
./include/caffe/util/device_alternate.hpp:19:39: error: no ‘void caffe::DetectionLossLayer::Backward_gpu(const std::vector<caffe::Blob
>&, const std::vector&, const std::vector<caffe::Blob>&)’ member function declared in class ‘caffe::DetectionLossLayer’
const vector<Blob
>& bottom) { NO_GPU; }
^
src/caffe/layers/detection_loss_layer.cpp:222:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(DetectionLossLayer);
^
Makefile:572: recipe for target '.build_release/src/caffe/layers/detection_loss_layer.o' failed
make: *** [.build_release/src/caffe/layers/detection_loss_layer.o] Error 1
make: *** Waiting for unfinished jobs....

@kmonachopoulos kmonachopoulos changed the title Error wile building. Why it is obligatory to use GPU? Build Error. Why it is obligatory to use GPU? Jun 16, 2017
@shihanjiao
Copy link

I encountered the same problem with you. Could I ask that have you solved it?

@kmonachopoulos
Copy link
Author

No I haven't try anything. Maybe consider switching to another repo could help ...

@shresthamalik
Copy link

I am facing the same problem

@mjjdick
Copy link

mjjdick commented May 9, 2018

I found there is no Forward_gpu function in detection_loss_layer,so I think it can not use GPU to train.

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

4 participants