def _split_generators(self, dl_manager):
    val_path = os.path.join(dl_manager.manual_dir, 'ILSVRC2012_img_val.tar')
    if (not tf.io.gfile.exists(val_path)):
        raise AssertionError('ImageNet requires manual download of the data. Please download the train and val set and place them into: {}'.format(val_path))
    return [tfds.core.SplitGenerator(name=tfds.Split.VALIDATION, gen_kwargs={'archive': dl_manager.iter_archive(val_path), 'original_labels': self._get_original_labels(val_path), 'real_labels': self._get_real_labels(dl_manager)})]
def _split_generators(self, dl_manager):
    val_path = os.path.join(dl_manager.manual_dir, 'ILSVRC2012_img_val.tar')
    if (not tf.io.gfile.exists(val_path)):
        raise AssertionError('ImageNet requires manual download of the data. Please download the train and val set and place them into: {}'.format(val_path))
    return [tfds.core.SplitGenerator(name=tfds.Split.VALIDATION, gen_kwargs={'archive': dl_manager.iter_archive(val_path), 'original_labels': self._get_original_labels(val_path), 'real_labels': self._get_real_labels(dl_manager)})]