I am using ImageDataGenerator to load data. My code is below, When I try to fit, I'm getting error this error: ValueError: Failed to find data adapter that can handle input: (<class 'list'> containing values of types {"<class 'keras.src.preprocessing.image.DirectoryIterator'>"}), <class 'NoneType'> from tensorflow.keras.preprocessing.image import ImageDataGenerator from tensorflow.keras.layers import Input, Conv2D, MaxPooling2D, Flatten, Dense # Loading Data train_a = ImageDataGenerator(rescale=1/255) train_a_gen = train_a.flow_from_directory(path+'/a/', target_size=(500, 500), batch_size=32, class_mode='binary') train_b = ImageDataGenerator(rescale=1/255) train_b_gen = train_b.flow_from_directory(path+'/b/', target_size=(500, 500), batch_size=32, class_mode='binary') # Layers conv1 = Conv2D(32, (3, 3), activation='relu') pool1 = MaxPool2D(pool_size=(2, 2)) conv2 = Conv2D(64, (3, 3), ac...