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

rs/roi_align_layer.cpp:30:19: error: expected initializer before ‘<’ token void ROIAlign #11

Open
PapaMadeleine2022 opened this issue Apr 16, 2018 · 0 comments

Comments

@PapaMadeleine2022
Copy link

hello, when I compile caffe I get this error:

src/caffe/layers/roi_align_layer.cpp:30:19: error: expected initializer before ‘<’ token
 void ROIAlignLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
                   ^
src/caffe/layers/roi_align_layer.cpp:45:19: error: expected initializer before ‘<’ token
 void ROIAlignLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom,
                   ^
src/caffe/layers/roi_align_layer.cpp:62:19: error: expected initializer before ‘<’ token
 void ROIAlignLayer<Dtype>::Forward_cpu(const vector<Blob<Dtype>*>& bottom,
                   ^
src/caffe/layers/roi_align_layer.cpp:203:19: error: expected initializer before ‘<’ token
 void ROIAlignLayer<Dtype>::Backward_cpu(const vector<Blob<Dtype>*>& top,
                   ^
In file included from ./include/caffe/blob.hpp:8:0,
                 from src/caffe/layers/roi_align_layer.cpp:15:
src/caffe/layers/roi_align_layer.cpp:261:19: error: ‘ROIAlignLayer’ is not a class template
 INSTANTIATE_CLASS(ROIAlignLayer);

how to fix it?
can you give some advises? thank you very much~

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