def __getitem__(self, i):
    batch_file_list = self.file_list[(i * self.sel_movies):((i + 1) * self.sel_movies)]
    (X, _) = self._data_generator(batch_file_list)
    y = X[(- 1)]
    X = X[0]
    return (X, y)
def __getitem__(self, i):
    batch_file_list = self.file_list[(i * self.sel_movies):((i + 1) * self.sel_movies)]
    (X, _) = self._data_generator(batch_file_list)
    y = X[(- 1)]
    X = X[0]
    return (X, y)