"vscode:/vscode.git/clone" did not exist on "53aff1c82157ee339be70543decfa12b2f04d31a"
Commit c5bb0543 authored by Lukasz Kaiser's avatar Lukasz Kaiser Committed by GitHub
Browse files

Merge pull request #448 from cshallue/master

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