I am trying to run my Autoencoder on Google Cloud Datalab. I just can't figure out how to use the Keras Image Data Generator. I uploaded all my images to the Google Cloud Bucket. I just don't know how to acces my data.
datagen = ImageDataGenerator(rescale=1./255)
training_set = datagen.flow_from_directory(
r'DIR',
target_size=(112,112),
batch_size=32,
class_mode='input')
test_set = datagen.flow_from_directory(
r'DIR',
target_size=(112,112),
batch_size=32,
class_mode='input')
I don't know if there is a simple way to solve this. I don't mind not using the Image Data Generator and I am open to every possible solution. Thank you very much for your time and help in advance.