diff --git a/paddlex/cv/nets/resnet.py b/paddlex/cv/nets/resnet.py index 4589d792c87a1d590702f2f7524f59f60af4c6c7..30cb834e43e3f593ed115bb784014a6badb3fa34 100644 --- a/paddlex/cv/nets/resnet.py +++ b/paddlex/cv/nets/resnet.py @@ -476,7 +476,6 @@ class ResNet(object): param_attr=fluid.param_attr.ParamAttr( initializer=fluid.initializer.Uniform(-stdv, stdv))) self.features.append(out) -# out.persistable=True return out, self.features return OrderedDict([('res{}_sum'.format(self.feature_maps[idx]), feat)