Hi guys, I have a issue about implementing fit_generator with multi-input-output, here's my problem:
my model is 3 inputs and 3 outputs, I have to build a generator myself like:
def multi_input_generator(data_path):
gen = image.ImageDataGenerator()
trn_a = gen.flow_from_directory(data_path + 'a/', target_size=(224, 224), batch_size=1, class_mode=None, shuffle=False)
trn_p = gen.flow_from_directory(data_path + 'p/', target_size=(224, 224), batch_size=1, class_mode=None, shuffle=False)
trn_n = gen.flow_from_directory(data_path + 'n/', target_size=(224, 224), batch_size=1, class_mode=None, shuffle=False)