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
a2986acc
Commit
a2986acc
authored
Feb 14, 2017
by
piper
Browse files
correct order of argument for tf.image.resize_image_with_crop_or_pad
parent
596c9e23
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tutorials/image/cifar10/cifar10_input.py
tutorials/image/cifar10/cifar10_input.py
+1
-1
No files found.
tutorials/image/cifar10/cifar10_input.py
View file @
a2986acc
...
...
@@ -237,7 +237,7 @@ def inputs(eval_data, data_dir, batch_size):
# Image processing for evaluation.
# Crop the central [height, width] of the image.
resized_image
=
tf
.
image
.
resize_image_with_crop_or_pad
(
reshaped_image
,
width
,
height
)
height
,
width
)
# Subtract off the mean and divide by the variance of the pixels.
float_image
=
tf
.
image
.
per_image_standardization
(
resized_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