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
Nice work!
However, I found that ceil_mode is not supported in the master version of caffe.
Is there an open-sourced caffe version that supports ceil_mode in pooing? Thanks.
Oh, this is interesting. I mean, is it compatible with cudnn_pooling implementation? Or, just to make the output a little bit larger, even though the elements in the last row/col may still be zeros?
can anyone sent me your caffe? I don't know which version of caffe should be used. I have tried to use a order version without working.But the new caffe didn't have vision_layers.hpp . I don't know what to do.please help me.
Follow this link. Add the + lines and delete the - lines.
Instead of file vision_layers.hpp,, modify the file pooling_layers.hpp. Modify these 3 files i.e. pooling_layers.hpp, pooling_layers.cpp and caffe.proto according to link above and you are done.
gh279760559, Beprominent, Yukin1218, keerthanss and yolunghiu
With the latest version of Caffe, you can also get around this by replacing "ceil_mode: false" with "round_mode: FLOOR". No editing of Caffe source code necessary. Refer BVLC/caffe#6282 .
Activity
shicai commentedon Feb 16, 2017
@quietsmile pls see: https://github.com/BVLC/caffe/pull/3057/files
just add several lines of code.
quietsmile commentedon Feb 16, 2017
Oh, this is interesting. I mean, is it compatible with cudnn_pooling implementation? Or, just to make the output a little bit larger, even though the elements in the last row/col may still be zeros?
Thanks.
shicai commentedon Feb 16, 2017
As i know, cudnn does not support ceil mode, but you'd better check cudnn manual by yourself.
I use caffe's own pooling layer to support ceil mode.
oujieww commentedon Sep 21, 2017
can anyone sent me your caffe? I don't know which version of caffe should be used. I have tried to use a order version without working.But the new caffe didn't have vision_layers.hpp . I don't know what to do.please help me.
Sarah635 commentedon Nov 15, 2017
New version doesnot have vision_layers.hpp. In new version the file pooling_layer.hpp is to be modified.
JinmingZhao commentedon Nov 26, 2017
@Sarah635 I have the same problem ,how to modify on the new version?
Sarah635 commentedon Nov 26, 2017
https://github.com/BVLC/caffe/pull/3057/files
Follow this link. Add the + lines and delete the - lines.
Instead of file vision_layers.hpp,, modify the file pooling_layers.hpp. Modify these 3 files i.e. pooling_layers.hpp, pooling_layers.cpp and caffe.proto according to link above and you are done.
JinmingZhao commentedon Nov 27, 2017
@Sarah635 Thank you very much, done!
XUYUNYUN666 commentedon Dec 21, 2018
Need I change the code of pooling layer.cu? Thank U.
keerthanss commentedon Feb 26, 2019
With the latest version of Caffe, you can also get around this by replacing "ceil_mode: false" with "round_mode: FLOOR". No editing of Caffe source code necessary. Refer BVLC/caffe#6282 .
4 remaining items