Skip to content

Commit 04afdb3

Browse files
authored
use syncbn (open-mmlab#2207)
1 parent 356215b commit 04afdb3

8 files changed

+16
-8
lines changed

configs/mobilenet_v2/deeplabv3_m-v2-d8_512x1024_80k_cityscapes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320),
1213
auxiliary_head=dict(in_channels=96))

configs/mobilenet_v2/deeplabv3_m-v2-d8_512x512_160k_ade20k.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320),
1213
auxiliary_head=dict(in_channels=96))

configs/mobilenet_v2/deeplabv3plus_m-v2-d8_512x1024_80k_cityscapes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320, c1_in_channels=24),
1213
auxiliary_head=dict(in_channels=96))

configs/mobilenet_v2/deeplabv3plus_m-v2-d8_512x512_160k_ade20k.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320, c1_in_channels=24),
1213
auxiliary_head=dict(in_channels=96))

configs/mobilenet_v2/fcn_m-v2-d8_512x1024_80k_cityscapes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320),
1213
auxiliary_head=dict(in_channels=96))

configs/mobilenet_v2/fcn_m-v2-d8_512x512_160k_ade20k.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320),
1213
auxiliary_head=dict(in_channels=96))

configs/mobilenet_v2/pspnet_m-v2-d8_512x1024_80k_cityscapes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320),
1213
auxiliary_head=dict(in_channels=96))

configs/mobilenet_v2/pspnet_m-v2-d8_512x512_160k_ade20k.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
widen_factor=1.,
88
strides=(1, 2, 2, 1, 1, 1, 1),
99
dilations=(1, 1, 1, 2, 2, 4, 4),
10-
out_indices=(1, 2, 4, 6)),
10+
out_indices=(1, 2, 4, 6),
11+
norm_cfg=dict(type='SyncBN', requires_grad=True)),
1112
decode_head=dict(in_channels=320),
1213
auxiliary_head=dict(in_channels=96))

0 commit comments

Comments
 (0)