未验证 提交 909cfbb4 编写于 作者: F Feng Ni 提交者: GitHub

fix ShuffleNetV2 x2_0 stage_out_channels (#6139)

上级 c4f21a12
...@@ -188,7 +188,7 @@ class ShuffleNetV2(nn.Layer): ...@@ -188,7 +188,7 @@ class ShuffleNetV2(nn.Layer):
elif scale == 1.5: elif scale == 1.5:
stage_out_channels = [-1, 24, 176, 352, 704, 1024] stage_out_channels = [-1, 24, 176, 352, 704, 1024]
elif scale == 2.0: elif scale == 2.0:
stage_out_channels = [-1, 24, 224, 488, 976, 2048] stage_out_channels = [-1, 24, 244, 488, 976, 2048]
else: else:
raise NotImplementedError("This scale size:[" + str(scale) + raise NotImplementedError("This scale size:[" + str(scale) +
"] is not implemented!") "] is not implemented!")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册