Commit a2986acc authored by piper's avatar piper
Browse files

correct order of argument for tf.image.resize_image_with_crop_or_pad

parent 596c9e23
...@@ -237,7 +237,7 @@ def inputs(eval_data, data_dir, batch_size): ...@@ -237,7 +237,7 @@ def inputs(eval_data, data_dir, batch_size):
# Image processing for evaluation. # Image processing for evaluation.
# Crop the central [height, width] of the image. # Crop the central [height, width] of the image.
resized_image = tf.image.resize_image_with_crop_or_pad(reshaped_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. # Subtract off the mean and divide by the variance of the pixels.
float_image = tf.image.per_image_standardization(resized_image) float_image = tf.image.per_image_standardization(resized_image)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment