Skip to content

Commit 857ac4e

Browse files
authored
fix bug in resnet plugin when two plugins are used (#7797)
1 parent 4aaaf4d commit 857ac4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmdet/models/backbones/resnet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def make_block_plugins(self, in_channels, plugins):
242242
def forward_plugin(self, x, plugin_names):
243243
out = x
244244
for name in plugin_names:
245-
out = getattr(self, name)(x)
245+
out = getattr(self, name)(out)
246246
return out
247247

248248
@property

0 commit comments

Comments
 (0)