You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
py-RFCN-priv/caffe-priv/src/caffe/layers/box_annotator_ohem_layer.cu(50):
warning: lambda expressions are a C++11 feature
py-RFCN-priv/caffe-priv/src/caffe/layers/box_annotator_ohem_layer.cu(49):
error: a template argument may not reference a local type
detected during instantiation of "void caffe::BoxAnnotatorOHEMLayer<Dtype>::Forward_gpu(
const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const
std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=float]"
(80): here
py-RFCN-priv/caffe-priv/src/caffe/layers/box_annotator_ohem_layer.cu(49):
error: a template argument may not reference a local type
detected during instantiation of "void caffe::BoxAnnotatorOHEMLayer<Dtype>::Forward_gpu(
const std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &, const
std::vector<caffe::Blob<Dtype> *, std::allocator<caffe::Blob<Dtype> *>> &) [with Dtype=double]"
(80): here
The text was updated successfully, but these errors were encountered:
panovr
changed the title
CuDNN 8.0 compile error
CUDA 8.0 compile error
Feb 18, 2018
@panovr
because box_annotator_ohem_layer.cu need C++11 feature
So add . -std=c++11 . in your Makefile
or modify your_path/py-RFCN-priv/caffe-priv/CMakeLists.txt . line 48 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -Wall -std=c++11)
run mkdir build cd build cmake .. make all make install
The text was updated successfully, but these errors were encountered: