add unit test for sep_fcn_head: debug 4

pull/58/head
johnzja 2020-08-12 10:29:15 +08:00
parent 03ca449baa
commit c89674d6cb
1 changed files with 1 additions and 1 deletions

View File

@ -550,7 +550,7 @@ def test_sep_fcn_head():
concat_input=False,
num_classes=19,
in_index=-1,
norm_cfg=dict(type='SyncBN', requires_grad=True, momentum=0.01))
norm_cfg=dict(type='BN', requires_grad=True, momentum=0.01))
x = [torch.rand(2, 128, 32, 32)]
output = head(x)
assert output.shape == (2, head.num_classes, 32, 32)