From d0c041876338de0796b875476db3025676c135d8 Mon Sep 17 00:00:00 2001
From: Zhao Wang <wangzhao2013tsinghua@gmail.com>
Date: Wed, 27 Nov 2019 13:42:20 +0800
Subject: [PATCH] Fix a typo in deform_conv_cuda_kernel.cu (#1716)

Change pad_d to pad_w at line 821 in deform_conv_cuda_kernel.cu, which is a typo.
---
 mmdet/ops/dcn/src/deform_conv_cuda_kernel.cu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mmdet/ops/dcn/src/deform_conv_cuda_kernel.cu b/mmdet/ops/dcn/src/deform_conv_cuda_kernel.cu
index a2b9428..402b449 100644
--- a/mmdet/ops/dcn/src/deform_conv_cuda_kernel.cu
+++ b/mmdet/ops/dcn/src/deform_conv_cuda_kernel.cu
@@ -818,7 +818,7 @@ void modulated_deformable_col2im_cuda(
 
         modulated_deformable_col2im_gpu_kernel<<<GET_BLOCKS(num_kernels), CUDA_NUM_THREADS>>>(
             num_kernels, data_col_, data_offset_, data_mask_, channels, height_im, width_im,
-            kernel_h, kernel_w, pad_h, pad_h, stride_h, stride_w,
+            kernel_h, kernel_w, pad_h, pad_w, stride_h, stride_w,
             dilation_h, dilation_w, channel_per_deformable_group,
             batch_size, deformable_group, height_col, width_col, grad_im_);
       }));
-- 
GitLab