未验证 提交 47d40bf5 编写于 作者: F Feng Ni 提交者: GitHub

fix ShuffleNetV2 config (#6138)

* fix ShuffleNetV2 x2_0 stage_out_channels

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