未验证 提交 4ede0614 编写于 作者: R Ryan_Huang 提交者: GitHub

Update Pix2pix_network.py

`dropout` 中, `updeconv` 未被更新
上级 b87761f8
...@@ -335,7 +335,7 @@ def Unet_block(inputunet, ...@@ -335,7 +335,7 @@ def Unet_block(inputunet,
use_bias=use_bias) use_bias=use_bias)
if use_dropout: 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) return fluid.layers.concat([inputunet, updeconv], 1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册