Data Augmentation Multi Outputs
You should pass X and Y collectively to the ImageDataGenerator.flow() method.

Please refer to this answer in case you are looking for a multi-output classification model using ImageDataGenerator in Keras.

https://datascience.stackexchange.com/a/75034/98109