tf.keras.utils.text_dataset_from_directory(
dataset_dir,
labels='inferred',
batch_size = 32,
seed = 42,
raw_train_dataset_dir = tf.keras.utils.text_dataset_from_directory(
'aclImdb/train',
batch_size=batch_size,
validation_split=0.2,
subset='training',
seed=seed)
)
I get error when I follow Google Colab tutorial from TensorFlow basic text classification