Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
4712db75
Unverified
Commit
4712db75
authored
Feb 07, 2021
by
ZhangShilong
Committed by
GitHub
Feb 07, 2021
Browse files
Fix bug of DCN (#819)
* fix bug of DCN * fix clang=format
parent
a4c37026
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
mmcv/ops/csrc/pytorch/deform_conv_cuda.cu
mmcv/ops/csrc/pytorch/deform_conv_cuda.cu
+2
-0
No files found.
mmcv/ops/csrc/pytorch/deform_conv_cuda.cu
View file @
4712db75
...
@@ -278,6 +278,8 @@ void DeformConvForwardCUDAKernelLauncher(Tensor input, Tensor weight,
...
@@ -278,6 +278,8 @@ void DeformConvForwardCUDAKernelLauncher(Tensor input, Tensor weight,
}
}
columns
=
columns
=
columns
.
view
({
columns
.
size
(
0
)
*
columns
.
size
(
1
),
columns
.
size
(
2
)});
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
(
output_buffer
=
output_buffer
.
view
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment