Skip to content

Commit d38dc7d

Browse files
authored
Update images.ipynb
Change at line 468, follow the tf.image.resize, the new size format should be [IMG_HEIGHT, IMG_WIDTH]
1 parent f8569ae commit d38dc7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/load_data/images.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
465465
" # Use `convert_image_dtype` to convert to floats in the [0,1] range.\n",
466466
" img = tf.image.convert_image_dtype(img, tf.float32)\n",
467467
" # resize the image to the desired size.\n",
468-
" return tf.image.resize(img, [IMG_WIDTH, IMG_HEIGHT])"
468+
" return tf.image.resize(img, [IMG_HEIGHT, IMG_WIDTH])"
469469
]
470470
},
471471
{

0 commit comments

Comments
 (0)