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
d71d067d
Unverified
Commit
d71d067d
authored
Jun 26, 2022
by
q.yao
Committed by
GitHub
Jun 26, 2022
Browse files
[Fix] Fix mdcn trt (#2075)
parent
5e6ede99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mmcv/ops/csrc/tensorrt/plugins/trt_deform_conv.cpp
mmcv/ops/csrc/tensorrt/plugins/trt_deform_conv.cpp
+1
-1
mmcv/ops/csrc/tensorrt/plugins/trt_modulated_deform_conv.cpp
mmcv/ops/csrc/tensorrt/plugins/trt_modulated_deform_conv.cpp
+1
-1
No files found.
mmcv/ops/csrc/tensorrt/plugins/trt_deform_conv.cpp
View file @
d71d067d
...
@@ -282,7 +282,7 @@ nvinfer1::IPluginV2 *DeformableConvPluginDynamicCreator::createPlugin(
...
@@ -282,7 +282,7 @@ nvinfer1::IPluginV2 *DeformableConvPluginDynamicCreator::createPlugin(
}
}
}
}
if
(
field_name
.
compare
(
"deform
able
_group"
)
==
0
)
{
if
(
field_name
.
compare
(
"deform_group
s
"
)
==
0
)
{
deformableGroup
=
static_cast
<
const
int
*>
(
fc
->
fields
[
i
].
data
)[
0
];
deformableGroup
=
static_cast
<
const
int
*>
(
fc
->
fields
[
i
].
data
)[
0
];
}
}
...
...
mmcv/ops/csrc/tensorrt/plugins/trt_modulated_deform_conv.cpp
View file @
d71d067d
...
@@ -254,7 +254,7 @@ nvinfer1::IPluginV2 *ModulatedDeformableConvPluginDynamicCreator::createPlugin(
...
@@ -254,7 +254,7 @@ nvinfer1::IPluginV2 *ModulatedDeformableConvPluginDynamicCreator::createPlugin(
}
}
std
::
string
field_name
(
fc
->
fields
[
i
].
name
);
std
::
string
field_name
(
fc
->
fields
[
i
].
name
);
if
(
field_name
.
compare
(
"deform
able
_group"
)
==
0
)
{
if
(
field_name
.
compare
(
"deform_group
s
"
)
==
0
)
{
deformableGroup
=
static_cast
<
const
int
*>
(
fc
->
fields
[
i
].
data
)[
0
];
deformableGroup
=
static_cast
<
const
int
*>
(
fc
->
fields
[
i
].
data
)[
0
];
}
}
...
...
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