Skip to content

Commit

Permalink
Update resnet_model.py
Browse files Browse the repository at this point in the history
'elipson' should be epsilon
  • Loading branch information
toxic-0518 authored Jun 2, 2017
1 parent fe2a01d commit 0ce70bd
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 0ce70bd

Please sign in to comment.