Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
a7dd1e29
Commit
a7dd1e29
authored
Jun 16, 2017
by
Andrew Selle
Committed by
GitHub
Jun 16, 2017
Browse files
Update cifar10_input.py
parent
c5462fb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
tutorials/image/cifar10/cifar10_input.py
tutorials/image/cifar10/cifar10_input.py
+2
-0
No files found.
tutorials/image/cifar10/cifar10_input.py
View file @
a7dd1e29
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment