未验证 提交 77716bf0 编写于 作者: W wangguanzhong 提交者: GitHub

refine name define in deformable conv (#3189)

上级 cae1e97f
......@@ -103,8 +103,10 @@ class ResNet(object):
filter_size=filter_size,
stride=stride,
padding=padding,
param_attr=ParamAttr(initializer=Constant(0.0)),
bias_attr=ParamAttr(initializer=Constant(0.0)),
param_attr=ParamAttr(
initializer=Constant(0.0), name=name + ".w_0"),
bias_attr=ParamAttr(
initializer=Constant(0.0), name=name + ".b_0"),
act=act,
name=name)
return out
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册