Skip to content

Commit

Permalink
Merge branch 'main' into malfet/prefer-nvidia-channel-for-conda-builds
Browse files Browse the repository at this point in the history
  • Loading branch information
datumbox authored Mar 20, 2022
2 parents 2366633 + fc63f82 commit 33a72da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def test_mobilenet_norm_layer(model_fn):
assert any(isinstance(x, nn.BatchNorm2d) for x in model.modules())

def get_gn(num_channels):
return nn.GroupNorm(32, num_channels)
return nn.GroupNorm(1, num_channels)

model = model_fn(norm_layer=get_gn)
assert not (any(isinstance(x, nn.BatchNorm2d) for x in model.modules()))
Expand Down

0 comments on commit 33a72da

Please sign in to comment.