I have construct my model on pytorch. But the pooling layer is ‘floor’ of the value. In caffe, pooling layer is ‘ceil’ of the value. So I add padding in pooling layer.
However, the result of the caffe and pytorch is so different! The result of pytorch is lower than caffe about 4%. I don’t know why the difference is so large.
Did I miss something?