From b7ac56301f5e0717449a198008ea9d424f3e9b2b Mon Sep 17 00:00:00 2001 From: michaelowenliu Date: Mon, 28 Sep 2020 12:07:09 +0800 Subject: [PATCH] fix indent typo and remove used variable --- dygraph/paddleseg/models/common/pyramid_pool.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dygraph/paddleseg/models/common/pyramid_pool.py b/dygraph/paddleseg/models/common/pyramid_pool.py index d768a364..2b345982 100644 --- a/dygraph/paddleseg/models/common/pyramid_pool.py +++ b/dygraph/paddleseg/models/common/pyramid_pool.py @@ -23,7 +23,7 @@ from paddleseg.models.common import layer_libs class ASPPModule(nn.Layer): """ - Atrous Spatial Pyramid Pooling + Atrous Spatial Pyramid Pooling Args: aspp_ratios (tuple): the dilation rate using in ASSP module. @@ -156,7 +156,6 @@ class PPModule(nn.Layer): def forward(self, input): cat_layers = [] for i, stage in enumerate(self.stages): - size = self.bin_sizes[i] x = stage(input) x = F.resize_bilinear(x, out_shape=input.shape[2:]) cat_layers.append(x) -- GitLab