Untitled
train_datagen = ImageDataGenerator( rescale = 1/255, shear_range = 0.2, zoom_range = 0.2, horizontal_flip = True, vertical_flip = False) training_set = train_datagen.flow_from_directory(train_path, target_size = (150, 150), class_mode = 'categorical')