I am running tensorflow-macos and tensorflow-metal on Big Sur.
I am getting this error: AttributeError: module 'tensorflow.keras' has no attribute 'utils_dataset_from_directory'
https://github.com/keras-team/keras-io/issues/12
Can I install tf_nightly? Or does it conflict with tensorflow-macos?
from tensorflow import keras from tensorflow.python.framework.ops import disable_eager_execution dataset = keras.utils_dataset_from_directory( "celeba_gan", label_mode=None, image_size=(64, 64), batch_size=32, smart_resize=True) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /var/folders/3n/56fpv14n4wj0c1l1sb106pzw0000gn/T/ipykernel_41859/2519466253.py in <module> 1 from tensorflow import keras 2 from tensorflow.python.framework.ops import disable_eager_execution ----> 3 dataset = keras.utils_dataset_from_directory( 4 "celeba_gan", 5 label_mode=None, AttributeError: module 'tensorflow.keras' has no attribute 'utils_dataset_from_directory'