in DataGenerator.py [0:0]
def __len__(self): if self.data is None: self.prepareData() return len(self.data)