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
i compile the residual-attention-network version caffe, it can make ok, but is that means you do not use InterpLayer in residual-attention-network ?
BTW, when i compile your provided caffe with REGISTER_LAYER_CLASS(InterpLayer); it shows the following error:
src/caffe/layers/interp.cpp:111:1: note: in expansion of macro 'REGISTER_LAYER_CLASS'
REGISTER_LAYER_CLASS(InterpLayer);
^
src/caffe/layers/interp.cpp:111:22: error: 'InterpLayerLayer' does not name a type
REGISTER_LAYER_CLASS(InterpLayer);
^
./include/caffe/layer_factory.hpp:135:42: note: in definition of macro 'REGISTER_LAYER_CLASS'
return shared_ptr<Layer >(new type##Layer(param));
^
./include/caffe/layer_factory.hpp:135:59: error: expected primary-expression before '>' token
return shared_ptr<Layer >(new type##Layer(param));
^
src/caffe/layers/interp.cpp:111:1: note: in expansion of macro 'REGISTER_LAYER_CLASS'
REGISTER_LAYER_CLASS(InterpLayer);
^
Makefile:581: recipe for target '.build_release/src/caffe/layers/interp.o' failed
can you show me some tips about why in your residual-attention-network, you comment the REGISTER_LAYER_CLASS(InterpLayer), while in your provided caffe, once umcomment the REGISTER_LAYER_CLASS(InterpLayer), it show errors ?
The text was updated successfully, but these errors were encountered:
in your residual-attention-network caffe , the end of interp.cpp is :
INSTANTIATE_CLASS(InterpLayer);
//REGISTER_LAYER_CLASS(InterpLayer);
which means you comment the InterpLayer;
while in your provided caffe(https://github.com/fwang91/caffe/blob/master/src/caffe/layers/interp.cpp)code, the end of interp.cpp is :
INSTANTIATE_CLASS(InterpLayer);
REGISTER_LAYER_CLASS(InterpLayer);
which means you uncomment the InterpLayer;
i compile the residual-attention-network version caffe, it can make ok, but is that means you do not use InterpLayer in residual-attention-network ?
BTW, when i compile your provided caffe with REGISTER_LAYER_CLASS(InterpLayer); it shows the following error:
src/caffe/layers/interp.cpp:111:1: note: in expansion of macro 'REGISTER_LAYER_CLASS'
REGISTER_LAYER_CLASS(InterpLayer);
^
src/caffe/layers/interp.cpp:111:22: error: 'InterpLayerLayer' does not name a type
REGISTER_LAYER_CLASS(InterpLayer);
^
./include/caffe/layer_factory.hpp:135:42: note: in definition of macro 'REGISTER_LAYER_CLASS'
return shared_ptr<Layer >(new type##Layer(param));
^
./include/caffe/layer_factory.hpp:135:59: error: expected primary-expression before '>' token
return shared_ptr<Layer >(new type##Layer(param));
^
src/caffe/layers/interp.cpp:111:1: note: in expansion of macro 'REGISTER_LAYER_CLASS'
REGISTER_LAYER_CLASS(InterpLayer);
^
Makefile:581: recipe for target '.build_release/src/caffe/layers/interp.o' failed
can you show me some tips about why in your residual-attention-network, you comment the REGISTER_LAYER_CLASS(InterpLayer), while in your provided caffe, once umcomment the REGISTER_LAYER_CLASS(InterpLayer), it show errors ?
The text was updated successfully, but these errors were encountered: