From 6726ad56b591bdf69e0a464efef950342d0d3116 Mon Sep 17 00:00:00 2001 From: Ryan_Huang <44900829+DrRyanHuang@users.noreply.github.com> Date: Wed, 2 Sep 2020 10:10:18 +0800 Subject: [PATCH] Update Pix2pix_network.py (#4829) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `dropout `中, `updeconv` 未被更新 --- PaddleCV/gan/network/Pix2pix_network.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaddleCV/gan/network/Pix2pix_network.py b/PaddleCV/gan/network/Pix2pix_network.py index 3b37d821..b86806ba 100644 --- a/PaddleCV/gan/network/Pix2pix_network.py +++ b/PaddleCV/gan/network/Pix2pix_network.py @@ -335,7 +335,7 @@ def Unet_block(inputunet, use_bias=use_bias) if use_dropout: - upnorm = fluid.layers.dropout(upnorm, dropout_prob=0.5) + updeconv = fluid.layers.dropout(updeconv, dropout_prob=0.5) return fluid.layers.concat([inputunet, updeconv], 1) -- GitLab