application_vnd.jupyter.stderr_output_1.png
from keras.preprocessing.image import ImageDataGenerator

from keras.preprocessing.image import ImageDataGenerator
val_batch = 10
train_batch = 32
train_datagen = ImageDataGenerator(rescale=1.0 / 255, shear_range=0.4, zoom_range=0.3, validation_split=0.3, horizontal_flip=True)
train_generator = train_datagen.flow_from_directory('/kaggle/working/train', target_size=(130, 130), batch_size=train_batch, class_mode='binary', subset='training', color_mode='rgb', shuffle=True)
validation_generator = train_datagen.flow_from_directory('/kaggle/working/train', target_size=(130, 130), batch_size=val_batch, class_mode='binary', subset='validation', color_mode='rgb', shuffle=True)