From 8ad0665c78bbac195a73fdadf6d5e8bfc5c490a8 Mon Sep 17 00:00:00 2001 From: cuicheng01 <45199522+cuicheng01@users.noreply.github.com> Date: Mon, 3 Aug 2020 14:48:13 +0800 Subject: [PATCH] fix bug of resolution fix bug of resolution --- ppcls/modeling/architectures/resnext_vd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppcls/modeling/architectures/resnext_vd.py b/ppcls/modeling/architectures/resnext_vd.py index 2f66c7d5..0abb2419 100644 --- a/ppcls/modeling/architectures/resnext_vd.py +++ b/ppcls/modeling/architectures/resnext_vd.py @@ -46,7 +46,7 @@ class ConvBNLayer(fluid.dygraph.Layer): self.is_vd_mode = is_vd_mode self._pool2d_avg = Pool2D( - pool_size=2, pool_stride=2, pool_padding=0, pool_type='avg') + pool_size=2, pool_stride=2, pool_padding=0, pool_type='avg', ceil_mode=True) self._conv = Conv2D( num_channels=num_channels, num_filters=num_filters, -- GitLab