From 9cb6726cf38c43adc5f961dfd8411d43b3a7b583 Mon Sep 17 00:00:00 2001 From: The TensorFlow Datasets Authors Date: Wed, 3 Jun 2026 05:09:37 -0700 Subject: [PATCH] Internal change PiperOrigin-RevId: 925951764 --- tensorflow_datasets/datasets/sun397/sun397_dataset_builder.py | 4 ++-- .../sun397}/sun397_labels.txt | 0 .../sun397}/sun397_tfds_te.txt | 0 .../sun397}/sun397_tfds_tr.txt | 0 .../sun397}/sun397_tfds_va.txt | 0 5 files changed, 2 insertions(+), 2 deletions(-) rename tensorflow_datasets/{image_classification => datasets/sun397}/sun397_labels.txt (100%) rename tensorflow_datasets/{image_classification => datasets/sun397}/sun397_tfds_te.txt (100%) rename tensorflow_datasets/{image_classification => datasets/sun397}/sun397_tfds_tr.txt (100%) rename tensorflow_datasets/{image_classification => datasets/sun397}/sun397_tfds_va.txt (100%) diff --git a/tensorflow_datasets/datasets/sun397/sun397_dataset_builder.py b/tensorflow_datasets/datasets/sun397/sun397_dataset_builder.py index f2a382b9c04..70282785be2 100644 --- a/tensorflow_datasets/datasets/sun397/sun397_dataset_builder.py +++ b/tensorflow_datasets/datasets/sun397/sun397_dataset_builder.py @@ -186,13 +186,13 @@ def __init__(self, tfds_split_files=None, **kwargs): } for split, filename in tfds_split_files.items(): tfds_split_files[split] = tfds.core.tfds_path( - os.path.join("image_classification", filename) + os.path.join("datasets", "sun397", filename) ) self._tfds_split_files = tfds_split_files def _info(self): names_file = tfds.core.tfds_path( - os.path.join("image_classification", "sun397_labels.txt") + os.path.join("datasets", "sun397", "sun397_labels.txt") ) return self.dataset_info_from_configs( features=tfds.features.FeaturesDict({ diff --git a/tensorflow_datasets/image_classification/sun397_labels.txt b/tensorflow_datasets/datasets/sun397/sun397_labels.txt similarity index 100% rename from tensorflow_datasets/image_classification/sun397_labels.txt rename to tensorflow_datasets/datasets/sun397/sun397_labels.txt diff --git a/tensorflow_datasets/image_classification/sun397_tfds_te.txt b/tensorflow_datasets/datasets/sun397/sun397_tfds_te.txt similarity index 100% rename from tensorflow_datasets/image_classification/sun397_tfds_te.txt rename to tensorflow_datasets/datasets/sun397/sun397_tfds_te.txt diff --git a/tensorflow_datasets/image_classification/sun397_tfds_tr.txt b/tensorflow_datasets/datasets/sun397/sun397_tfds_tr.txt similarity index 100% rename from tensorflow_datasets/image_classification/sun397_tfds_tr.txt rename to tensorflow_datasets/datasets/sun397/sun397_tfds_tr.txt diff --git a/tensorflow_datasets/image_classification/sun397_tfds_va.txt b/tensorflow_datasets/datasets/sun397/sun397_tfds_va.txt similarity index 100% rename from tensorflow_datasets/image_classification/sun397_tfds_va.txt rename to tensorflow_datasets/datasets/sun397/sun397_tfds_va.txt