I need to use a two output label for image classification. ImageDataGenerator does not allow more than one output so I tried the following custom generator:
def m