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

deep_discriminator - missed relu #1720

Merged
merged 1 commit into from
Oct 3, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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