Skip to content
Snippets Groups Projects
Commit 55085a85 authored by Ivan Rubachev's avatar Ivan Rubachev Committed by GitHub
Browse files

Fix init_cfg in resnet backbone (#697)

parent 00defd6b
No related branches found
No related tags found
No related merge requests found
......@@ -400,7 +400,7 @@ class ResNet(BaseModule):
zero_init_residual=True,
pretrained=None,
init_cfg=None):
super(ResNet, self).__init__()
super(ResNet, self).__init__(init_cfg)
if depth not in self.arch_settings:
raise KeyError(f'invalid depth {depth} for resnet')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment