Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Deep_discriminator - missed relu (#1720)
Browse files Browse the repository at this point in the history
  • Loading branch information
przemb authored and lukaszkaiser committed Oct 3, 2019
1 parent 1843c72 commit 8be915a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensor2tensor/layers/common_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3724,7 +3724,7 @@ def double_discriminator(x, filters1=128, filters2=None,
tf.reshape(net, [batch_size, -1])
net = tf.nn.relu(net)
net = layers().Conv2D(
filters2, kernel_size, strides=strides, padding="SAME", name="conv2")(x)
filters2, kernel_size, strides=strides, padding="SAME", name="conv2")(net)
if pure_mean:
net2 = tf.reduce_mean(net, [1, 2])
else:
Expand Down

0 comments on commit 8be915a

Please sign in to comment.