Open
Description
module 'tensorflow.keras.preprocessing' has no attribute 'image_dataset_from_directory'
train_ds = tf.keras.preprocessing.image_dataset_from_directory(
data_dir,
validation_split=0.2,
subset="training",
seed=123,
image_size=(img_height, img_width),
batch_size=batch_size)
in image_classification.py