-
Notifications
You must be signed in to change notification settings - Fork 112
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
Cannot make caffe version due to reverse_axis_layer error #24
Comments
@DreadPiratePsyopus, Thanks for your interest. I have rebuild it but can't replicate this error. I think you can have a try to use CPU version of this layer. |
I have tried on different computers (different versions of cuda and cudnn) but I am not able to rebuild the project. I already tried with CPU and GPU and the same error on reverse_axis_layer persists. Any idea what could be happening? Do you have a specific guide to build your custom caffe? I am following this tutorial https://github.com/BVLC/caffe/wiki/Ubuntu-16.04-Installation-Guide along with the official caffe tutorial. |
same problem, also waiting for your solution, thanks! |
I managed to make this code work, but most of the problems I encountered were solved when I used Cuda 8.0 and CUDNN 6.0. |
Changing |
Hello @tonghe90 ,
At the moment it is impossible to compile your caffe version due to the following error:
CXX src/caffe/layers/base_conv_layer.cpp
In file included from ./include/caffe/common.hpp:19:0,
from ./include/caffe/blob.hpp:8,
from ./include/caffe/layers/reverse_axis_layer.hpp:6,
from src/caffe/layers/reverse_axis_layer.cpp:1:
./include/caffe/util/device_alternate.hpp:14:15: error: expected initializer before ‘<’ token
void classname::Forward_gpu(const vector<Blob>& bottom,
^
src/caffe/layers/reverse_axis_layer.cpp:61:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(ReverseLayer);
^
./include/caffe/util/device_alternate.hpp:17:15: error: expected initializer before ‘<’ token
void classname::Backward_gpu(const vector<Blob>& top,
^
src/caffe/layers/reverse_axis_layer.cpp:61:1: note: in expansion of macro ‘STUB_GPU’
STUB_GPU(ReverseLayer);
^
Makefile:581: recipe for target '.build_release/src/caffe/layers/reverse_axis_layer.o' failed
make: *** [.build_release/src/caffe/layers/reverse_axis_layer.o] Error 1
make: *** Waiting for unfinished jobs....
Do you have any idea why is this happening?
I am configuring the Makefile.config to run in a CPU rather than GPU.
Let me know any comments.
Thank you!
The text was updated successfully, but these errors were encountered: