Skip to content

Commit fb96b71

Browse files
authored
Merge pull request tensorflow#1578 from tensorflow/aselle-patch-1
Update cifar10_input.py
2 parents c5462fb + a7dd1e2 commit fb96b71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tutorials/image/cifar10/cifar10_input.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,8 @@ def distorted_inputs(data_dir, batch_size):
175175

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

0 commit comments

Comments
 (0)