From a7dd1e29e783bd11faae72e05f98bce4ab8a80ae Mon Sep 17 00:00:00 2001 From: Andrew Selle Date: Fri, 16 Jun 2017 09:10:45 -0700 Subject: [PATCH] Update cifar10_input.py --- tutorials/image/cifar10/cifar10_input.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tutorials/image/cifar10/cifar10_input.py b/tutorials/image/cifar10/cifar10_input.py index 10c77623d4..323f2f1139 100644 --- a/tutorials/image/cifar10/cifar10_input.py +++ b/tutorials/image/cifar10/cifar10_input.py @@ -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,