Skip to content

Commit

Permalink
Update cifar10_input.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aselle authored Jun 16, 2017
1 parent c5462fb commit a7dd1e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tutorials/image/cifar10/cifar10_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def distorted_inputs(data_dir, batch_size):

# Because these operations are not commutative, consider randomizing
# the order their operation.
# NOTE: since per_image_standardization zeros the mean and makes
# the stddev unit, this likely has no effect see tensorflow#1458.
distorted_image = tf.image.random_brightness(distorted_image,
max_delta=63)
distorted_image = tf.image.random_contrast(distorted_image,
Expand Down

0 comments on commit a7dd1e2

Please sign in to comment.