提交 424db1a2 编写于 作者: W wangguanzhong 提交者: GitHub

refine name define in deformable conv (#3189)

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