Skip to content

Commit

Permalink
[Fix] Fix mdcn trt (open-mmlab#2075)
Browse files Browse the repository at this point in the history
  • Loading branch information
grimoire authored Jun 26, 2022
1 parent 5e6ede9 commit d71d067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mmcv/ops/csrc/tensorrt/plugins/trt_deform_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ nvinfer1::IPluginV2 *DeformableConvPluginDynamicCreator::createPlugin(
}
}

if (field_name.compare("deformable_group") == 0) {
if (field_name.compare("deform_groups") == 0) {
deformableGroup = static_cast<const int *>(fc->fields[i].data)[0];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ nvinfer1::IPluginV2 *ModulatedDeformableConvPluginDynamicCreator::createPlugin(
}
std::string field_name(fc->fields[i].name);

if (field_name.compare("deformable_group") == 0) {
if (field_name.compare("deform_groups") == 0) {
deformableGroup = static_cast<const int *>(fc->fields[i].data)[0];
}

Expand Down

0 comments on commit d71d067

Please sign in to comment.