Commit 1e16f101 authored by Christopher Shallue's avatar Christopher Shallue
Browse files

Fix bug caused by signature change of resize_images().

parent 85ccd4a3
......@@ -109,8 +109,7 @@ def process_image(encoded_image,
assert (resize_height > 0) == (resize_width > 0)
if resize_height:
image = tf.image.resize_images(image,
new_height=resize_height,
new_width=resize_width,
size=[resize_height, resize_width],
method=tf.image.ResizeMethod.BILINEAR)
# Crop to final dimensions.
......
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