Skip to content

Commit

Permalink
Fix wrong type of default act_cfg (#7794)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarthThomas committed May 8, 2022
1 parent 172f9b9 commit 2a643e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mmdet/models/backbones/swin.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ class SwinTransformer(BaseModule):
use_abs_pos_embed (bool): If True, add absolute position embedding to
the patch embedding. Defaults: False.
act_cfg (dict): Config dict for activation layer.
Default: dict(type='LN').
Default: dict(type='GELU').
norm_cfg (dict): Config dict for normalization layer at
output of backone. Defaults: dict(type='LN').
with_cp (bool, optional): Use checkpoint or not. Using checkpoint
Expand Down

0 comments on commit 2a643e4

Please sign in to comment.