Skip to content

Commit

Permalink
Fix init bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sennnnn committed Jun 24, 2021
1 parent 8f6473a commit ebcb241
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmseg/models/decode_heads/setr_up_head.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self,
assert isinstance(self.in_channels, int)

self.init_cfg = [
dict(dict='Constant', val=1.0, bias=0, layer='LayerNorm')
dict(type='Constant', val=1.0, bias=0, layer='LayerNorm')
]

_, self.norm = build_norm_layer(norm_layer, self.in_channels)
Expand Down

0 comments on commit ebcb241

Please sign in to comment.