tf.image.resize_image_with_crop_or_pad was renamed to tf.image.resize_with_crop_or_pad
parent
abf3bba2d5
commit
48dfa2ce67
|
@ -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()"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue