mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-28 18:50:26 +01:00
tf.image.resize_image_with_crop_or_pad was renamed to tf.image.resize_with_crop_or_pad
This commit is contained in:
@@ -691,7 +691,7 @@
|
|||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
"images_resized = tf.image.resize_image_with_crop_or_pad(images, 224, 224)\n",
|
"images_resized = tf.image.resize_with_crop_or_pad(images, 224, 224)\n",
|
||||||
"plot_color_image(images_resized[0])\n",
|
"plot_color_image(images_resized[0])\n",
|
||||||
"plt.show()"
|
"plt.show()"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user