Skip to content

Commit

Permalink
Merge pull request tensorflow#1525 from toxic-0518/patch-1
Browse files Browse the repository at this point in the history
Update resnet_model.py
  • Loading branch information
nealwu authored Jun 9, 2017
2 parents 62b3395 + 0ce70bd commit 71e106f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resnet/resnet_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def _batch_norm(self, name, x):
trainable=False)
tf.summary.histogram(mean.op.name, mean)
tf.summary.histogram(variance.op.name, variance)
# elipson used to be 1e-5. Maybe 0.001 solves NaN problem in deeper net.
# epsilon used to be 1e-5. Maybe 0.001 solves NaN problem in deeper net.
y = tf.nn.batch_normalization(
x, mean, variance, beta, gamma, 0.001)
y.set_shape(x.get_shape())
Expand Down

0 comments on commit 71e106f

Please sign in to comment.