Closed DerekChia closed 2 years ago
Changed keras.utils_dataset_from_directory to keras.utils.image_dataset_from_directory to resolve the following error
keras.utils_dataset_from_directory
keras.utils.image_dataset_from_directory
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-12-9aa24dbc92fc> in <module>() 1 from tensorflow import keras ----> 2 dataset = keras.utils_dataset_from_directory( 3 "celeba_gan", 4 label_mode=None, 5 image_size=(64, 64), AttributeError: module 'tensorflow.keras' has no attribute 'utils_dataset_from_directory'
Changed
keras.utils_dataset_from_directory
tokeras.utils.image_dataset_from_directory
to resolve the following error