From ec7184ac18ae64c2bd0cbe98f71336a9be416160 Mon Sep 17 00:00:00 2001 From: wangyang59 Date: Wed, 22 Mar 2017 13:51:51 -0700 Subject: [PATCH] fixed a bug in conv_projection issue #1681 --- python/paddle/trainer/config_parser.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python/paddle/trainer/config_parser.py b/python/paddle/trainer/config_parser.py index e9f5d53678c..1394773b4ff 100644 --- a/python/paddle/trainer/config_parser.py +++ b/python/paddle/trainer/config_parser.py @@ -724,7 +724,8 @@ class ConvProjection(ConvBaseProjection): num_filters=None, conv_conf=None, **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, num_filters) @@ -742,7 +743,8 @@ class ConvTransProjection(ConvBaseProjection): num_filters=None, conv_conf=None, **xargs): - super(ConvTransProjection, self).__init__(input_layer_name, **xargs) + super(ConvTransProjection, self).__init__(input_layer_name, num_filters, + conv_conf, **xargs) parse_conv( conv_conf, -- GitLab