Skip to content

Commit

Permalink
Fix bug of DCN (#819)
Browse files Browse the repository at this point in the history
* fix bug of DCN

* fix clang=format
  • Loading branch information
jshilong authored Feb 7, 2021
1 parent a4c3702 commit 4712db7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mmcv/ops/csrc/pytorch/deform_conv_cuda.cu
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ void DeformConvForwardCUDAKernelLauncher(Tensor input, Tensor weight,
}
columns =
columns.view({columns.size(0) * columns.size(1), columns.size(2)});
weight = weight.view({weight.size(0) * weight.size(1), weight.size(2),
weight.size(3), weight.size(4)});
}
output_buffer = output_buffer.view(
Expand Down

0 comments on commit 4712db7

Please sign in to comment.