DenseNet-Caffe
DenseNet-Caffe copied to clipboard
Replace ceil_mode with round_mode
The param ceil_mode was proposed in https://github.com/BVLC/caffe/pull/3057 , but never merged. Its replacement, https://github.com/BVLC/caffe/pull/6282 , fulfills the same need with some syntactic variance. The param is now called "round_mode" and it is an enum, instead of a boolean. This commit modifies the files accordingly.
This will allow usage of the models without having to modify Caffe code, addressing https://github.com/shicai/DenseNet-Caffe/issues/1, https://github.com/shicai/DenseNet-Caffe/issues/6, as well as averting issues like https://github.com/shicai/DenseNet-Caffe/issues/15.
Getting an error with both ceil_mode: false and round_mode:FLOOR for caffe-gpu installed via anaconda, as explained #37.