提交 ec7184ac 编写于 作者: W wangyang59

fixed a bug in conv_projection issue #1681

上级 62735747
...@@ -724,7 +724,8 @@ class ConvProjection(ConvBaseProjection): ...@@ -724,7 +724,8 @@ class ConvProjection(ConvBaseProjection):
num_filters=None, num_filters=None,
conv_conf=None, conv_conf=None,
**xargs): **xargs):
super(ConvProjection, self).__init__(input_layer_name, **xargs) super(ConvProjection, self).__init__(input_layer_name, num_filters,
conv_conf, **xargs)
parse_conv(conv_conf, self.input_layer_name, self.proj_conf.conv_conf, parse_conv(conv_conf, self.input_layer_name, self.proj_conf.conv_conf,
num_filters) num_filters)
...@@ -742,7 +743,8 @@ class ConvTransProjection(ConvBaseProjection): ...@@ -742,7 +743,8 @@ class ConvTransProjection(ConvBaseProjection):
num_filters=None, num_filters=None,
conv_conf=None, conv_conf=None,
**xargs): **xargs):
super(ConvTransProjection, self).__init__(input_layer_name, **xargs) super(ConvTransProjection, self).__init__(input_layer_name, num_filters,
conv_conf, **xargs)
parse_conv( parse_conv(
conv_conf, conv_conf,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册