Open yongjingli opened 5 years ago
I also suffer this problem, and I modify the layer_param.py/ pool_param function: pool_param.stride_h = stride[0] pool_param.stride_w = stride[1] pool_param.kernel_h = kernel[0] pool_param.kernel_w = kernel[1]
I also suffer this problem, and I modify the layer_param.py/ pool_param function: pool_param.stride_h = stride[0] pool_param.stride_w = stride[1] pool_param.kernel_h = kernel[0] pool_param.kernel_w = kernel[1]
I wonder if this change would work in case kernel_w != kernel_h, although it compiled successfully. Because there is nothing about "# TODO w,h different kernel, stride and padding" in python_to_caffe.py line._pool() line 213
hi, I suffer the problem is that I use different stride=(1, 2) in max pooling layer, which is not support in pytorch2caffe: