Skip to content

Commit 2a643e4

Browse files
authored
Fix wrong type of default act_cfg (#7794)
1 parent 172f9b9 commit 2a643e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mmdet/models/backbones/swin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ class SwinTransformer(BaseModule):
504504
use_abs_pos_embed (bool): If True, add absolute position embedding to
505505
the patch embedding. Defaults: False.
506506
act_cfg (dict): Config dict for activation layer.
507-
Default: dict(type='LN').
507+
Default: dict(type='GELU').
508508
norm_cfg (dict): Config dict for normalization layer at
509509
output of backone. Defaults: dict(type='LN').
510510
with_cp (bool, optional): Use checkpoint or not. Using checkpoint

0 commit comments

Comments
 (0)