From 4ede0614629cf3b33dbabf5a448bb82683090088 Mon Sep 17 00:00:00 2001 From: Ryan_Huang <44900829+DrRyanHuang@users.noreply.github.com> Date: Fri, 7 Aug 2020 11:43:04 +0800 Subject: [PATCH] Update Pix2pix_network.py 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