Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.
Open
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
Fix revnet model
  • Loading branch information
shawwn committed Apr 12, 2021
commit 631aa5d3b9c60c05c88f512717a9dad877b96ac8
2 changes: 1 addition & 1 deletion tensor2tensor/models/revnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def f(x, depth1, depth2, dim='2d', first_batch_norm=True, stride=1,
else:
net = conv(net, depth2, 3, strides=stride,
padding=padding, activation=None)
net = tf.layers.batch_normalization(x, training=training)
net = tf.layers.batch_normalization(net, training=training)
net = tf.nn.relu(net)
net = conv(net, depth2, 3, strides=stride,
padding=padding, activation=None)
Expand Down