Skip to content

Commit

Permalink
[Fix] fix a bug in sot resnet backbone
Browse files Browse the repository at this point in the history
  • Loading branch information
ToumaKazusa3 committed May 13, 2021
1 parent 56f2383 commit cc0f9c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mmtrack/models/backbones/sot_resnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ def __init__(self,
conv_cfg=None,
norm_cfg=dict(type='BN'),
dcn=None,
plugins=None):
plugins=None,
init_cfg=None):
"""Bottleneck block for ResNet.
If style is "pytorch", the stride-two layer is the 3x3 conv layer, if
Expand All @@ -35,7 +36,8 @@ def __init__(self,
conv_cfg=None,
norm_cfg=dict(type='BN'),
dcn=None,
plugins=None)
plugins=None,
init_cfg=init_cfg)
assert style in ['pytorch', 'caffe']
assert dcn is None or isinstance(dcn, dict)
assert plugins is None or isinstance(plugins, list)
Expand Down

0 comments on commit cc0f9c6

Please sign in to comment.