(self)
Updates indexes after each epoch
Updates indexes after each epoch
Updates indexes after each epoch
def on_epoch_end(self):
        'Updates indexes after each epoch'
        self.indexes = np.arange(len(self.list_IDs))
        if self.shuffle:
            np.random.shuffle(self.indexes)
def on_epoch_end ( self ) : self . indexes = np . arange ( len ( self . list_IDs ) ) if self . shuffle : np . random . shuffle ( self . indexes )