AttributeError: module 'tensorflow_core._api.v2.image' has no attribute 'resize_images'
The function has been renamed to resize. You should change your code like it was done below. It worked for me.
import tensorflow as tf
img_final = tf.image.resize(img_tensor, [192, 192])
I want to resize images from 28*28 to 32*32,used tf.image.resize_images(x_train, (32, 32)).It returns AttributeError: module 'tensorflow_core._api.v2.image' has no attribute 'resize_images'.The version of tersorflow is 2.0.0. How can I fix it?