I have exactly the same problem as that addressed in this post: I cannot use generator in the training input of model.fit in keras, so I should unw
model.fit
keras