From 72ae22b16966c3769563f101738c1bc95b5bf548 Mon Sep 17 00:00:00 2001 From: Chen Weihang Date: Thu, 16 Jan 2020 15:50:59 +0800 Subject: [PATCH] fix repeat name error in se_resnet (#4204) --- dygraph/se_resnet/train.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dygraph/se_resnet/train.py b/dygraph/se_resnet/train.py index a0ff8cd6..67b9dacf 100644 --- a/dygraph/se_resnet/train.py +++ b/dygraph/se_resnet/train.py @@ -99,8 +99,7 @@ class ConvBNLayer(fluid.dygraph.Layer): padding=(filter_size - 1) // 2, groups=groups, act=None, - bias_attr=False, - param_attr=fluid.ParamAttr(name="weights")) + bias_attr=False) self._batch_norm = BatchNorm(num_filters, act=act) -- GitLab