I meet this error when I try to add BN layer to this version:
In file included from src/caffe/layers/batch_norm_layer.cpp:4:0:
./include/caffe/layers/batch_norm_layer.hpp: In instantiation of ‘class caffe::BatchNormLayer<float>’:
src/caffe/layers/batch_norm_layer.cpp:249:1: required from here
./include/caffe/layers/batch_norm_layer.hpp:49:30: error: conflicting return type specified for ‘const char* caffe::BatchNormLayer<Dtype>::type() const [with Dtype = float]’
virtual inline const char* type() const { return "BatchNorm"; }
I really have no idea how to solve it because I believe it is correct.
I meet this error when I try to add BN layer to this version:
I really have no idea how to solve it because I believe it is correct.