def pop_indices(self, ind_list):
    selected_images = self.images[ind_list]
    keep_idx = np.delete(np.arange(self.images.shape[0]), ind_list)
    self.images = self.images[keep_idx]
    return selected_images
def pop_indices(self, ind_list):
    selected_images = self.images[ind_list]
    keep_idx = np.delete(np.arange(self.images.shape[0]), ind_list)
    self.images = self.images[keep_idx]
    return selected_images