in DataGenerator.py [0:0]
def prepareData(self): if self.data_generator is None: raise Exception self.data_generator.prepareData()