title: Applying two training data sets to model.fit or combining the results of two Image Generator function for our CNN model
body: <p>Does anyone know how we can apply two training data sets into the Model.fit section of our CNN model?</p>
  <p>I can ask my question in another way, I am applying some augmentation strategies to my images using the Imagedata generator function in Kers to increase the number of my training data. I am wondering if there is a straightforward way that we can combine the results of two Image generator function without saving into directories and then use them in our model?</p>
  <p>'''train_batches1 = ImageDataGenerator(rescale=1./255).flow_from_directory(directory=&quot;/content/gdrive/Shareddrives/Yihai, Brandon and Mostafa (1)/Images/Cross validation/Fold1/Train&quot;,target_size=(64,64),classes=['Normal','OR21_6','OR7_6','OR14_6','OR7_12','OR7_3','OR21_3','OR21_12'],batch_size=10)</p>
  <p>train_batches2 = ImageDataGenerator(rescale=1./255,horizontal_flip=True).flow_from_directory(directory=&quot;/content/gdrive/Shareddrives/Yihai, Brandon and Mostafa (1)/Images/Cross validation/Fold1/Train&quot;,target_size=(64,64),classes=['Normal','OR21_6','OR7_6','OR14_6','OR7_12','OR7_3','OR21_3','OR21_12'],batch_size=10)'''</p>
  <p>With best regards,
  Mostafa.</p>