fix grammar

pull/2/head
lixiaojie 2020-06-15 16:30:37 +08:00
parent b0a0248404
commit bb99ca5c66
1 changed files with 2 additions and 2 deletions
tests/test_backbones

View File

@ -75,11 +75,11 @@ def test_shufflenetv2_invertedresidual():
def test_shufflenetv2_backbone():
with pytest.raises(ValueError):
# groups must in 0.5, 1.0, 1.5, 2.0]
# groups must be in 0.5, 1.0, 1.5, 2.0]
ShuffleNetv2(widen_factor=3.0)
with pytest.raises(AssertionError):
# frozen_stages must in [0, 1, 2]
# frozen_stages must be in [0, 1, 2]
ShuffleNetv2(widen_factor=3.0, frozen_stages=3)
with pytest.raises(TypeError):