I have a generator I\'ve built to encode and feed data from folders.
it yields a tuple of ([X1,X2],Y) as it uses two inputs and this is used by the fit method.
Is