Dataset Viewer
The dataset viewer is not available for this subset.
Cannot get the split names for the config 'default' of the dataset.
Exception:    SplitsNotFoundError
Message:      The split names could not be parsed from the dataset config.
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
                  for split_generator in builder._split_generators(
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 81, in _split_generators
                  first_examples = list(islice(pipeline, self.NUM_EXAMPLES_FOR_FEATURES_INFERENCE))
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
                  fs: fsspec.AbstractFileSystem = fsspec.filesystem("memory")
                                                  ~~~~~~~~~~~~~~~~~^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/fsspec/registry.py", line 302, in filesystem
                  cls = get_filesystem_class(protocol)
                File "/usr/local/lib/python3.14/site-packages/fsspec/registry.py", line 239, in get_filesystem_class
                  raise ValueError(f"Protocol not known: {protocol}")
              ValueError: Protocol not known: memory
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 71, in compute_split_names_from_streaming_response
                  for split in get_dataset_split_names(
                               ~~~~~~~~~~~~~~~~~~~~~~~^
                      path=dataset,
                      ^^^^^^^^^^^^^
                      config_name=config,
                      ^^^^^^^^^^^^^^^^^^^
                      token=hf_token,
                      ^^^^^^^^^^^^^^^
                  )
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
                  info = get_dataset_config_info(
                      path,
                  ...<6 lines>...
                      **config_kwargs,
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
                  raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
              datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

OD-CLIP Training Dataset

Training data for OD-CLIP: a degradation-aware CLIP variant that jointly predicts degradation type and LPIPS-calibrated perceptual severity, used for blind image super-resolution.

The dataset provides paired ground-truth (GT) and low-quality (LQ) image crops together with per-image degradation metadata, covering four synthetic degradation types (Gaussian blur, Gaussian noise, JPEG compression, and downsampling) at a dense grid of physical severity levels.

Download and Setup

The dataset is distributed as six tar archives (blur / jpeg_part1 / jpeg_part2 / resize / noisy for the single-degradation set, and one tar for the mixed-degradation set) plus two CSV manifests. JPEG is split into two parts because its combined size exceeds Hugging Face's per-file limit of 50 GB.

1. Install the CLI (once)

pip install --upgrade huggingface_hub

2. Download the dataset

# Download the whole dataset
huggingface-cli download yeeecheng/OD-CLIP \
  --repo-type dataset --local-dir OD-CLIP

Or download only the parts you need:

# Only single-degradation set (blur/jpeg/resize/noisy)
huggingface-cli download yeeecheng/OD-CLIP --repo-type dataset \
  --include "DIV2K_HR_train_crop/*" --local-dir OD-CLIP

# Only mixed-degradation set (stage-2 fine-tuning)
huggingface-cli download yeeecheng/OD-CLIP --repo-type dataset \
  --include "DIV2K_train_HR_random/*" --local-dir OD-CLIP

# Only one degradation type (e.g. blur)
huggingface-cli download yeeecheng/OD-CLIP --repo-type dataset \
  --include "DIV2K_HR_train_crop/blur.tar" \
  --include "DIV2K_HR_train_crop/merged_daclip_train_all.csv" \
  --local-dir OD-CLIP

# For JPEG, remember to grab both parts
huggingface-cli download yeeecheng/OD-CLIP --repo-type dataset \
  --include "DIV2K_HR_train_crop/jpeg_part*.tar" \
  --include "DIV2K_HR_train_crop/merged_daclip_train_all.csv" \
  --local-dir OD-CLIP

3. Extract the tar archives

cd OD-CLIP

# Extract the four type tars (single-degradation set)
cd DIV2K_HR_train_crop
for f in *.tar; do
  echo "Extracting $f ..."
  tar xf "$f"
  rm "$f"                 # optional: free disk after extraction
done
cd ..

# Note: jpeg_part1.tar and jpeg_part2.tar both extract into the same
# top level (each holds a disjoint set of jpeg{XX}.0/ subdirs), so no
# special handling is needed β€” the two archives merge cleanly.

# Extract the mixed-degradation tar
cd DIV2K_train_HR_random
mkdir -p train_crop
tar xf random0.tar -C train_crop/
rm random0.tar            # optional
cd ..

4. Resulting directory layout

OD-CLIP/
β”œβ”€β”€ DIV2K_HR_train_crop/
β”‚   β”œβ”€β”€ merged_daclip_train_all.csv          # top-level manifest
β”‚   β”œβ”€β”€ blur0.1/  blur0.2/  ...  blur4.0/    # 40 subdirs
β”‚   β”œβ”€β”€ jpeg31/   jpeg32/   ...  jpeg95/     # 65 subdirs
β”‚   β”œβ”€β”€ resize1.1/  ...  resize7.0/          # 60 subdirs
β”‚   β”œβ”€β”€ noisy1/   ...  noisy40/              # 40 subdirs
β”‚   └── (each subdir contains: GT/, LQ/, daclip_val.csv, degraded_prompts_0.json)
└── DIV2K_train_HR_random/
    β”œβ”€β”€ merged_daclip_train_all_updated.csv  # stage-2 manifest
    └── train_crop/random0/
        β”œβ”€β”€ GT/          # 4000 clean crops
        └── LQ/          # 4000 mixed-degradation crops

5. Verify

Each single-degradation subdirectory should contain 800 GT crops and 800 LQ crops; the mixed-degradation random0/{GT,LQ} should each contain 4000. A quick check:

ls OD-CLIP/DIV2K_HR_train_crop/blur0.1/LQ | wc -l                # β†’ 800
ls OD-CLIP/DIV2K_HR_train_crop/blur0.1/GT | wc -l                # β†’ 800
ls OD-CLIP/DIV2K_train_HR_random/train_crop/random0/LQ | wc -l   # β†’ 4000

Contents

1. DIV2K_HR_train_crop/

Single-degradation training set. Contains 208 subdirectories, one per (degradation_type, level) pair:

Type Physical parameter Range Step # subdirs
Blur Gaussian sigma 0.1 β†’ 4.0 0.1 40
JPEG Quality factor 31 β†’ 95 1 65
Downsample Scale factor 1.1 β†’ 7.0 0.1 60
Noise Gaussian sigma 1.0 β†’ 40.0 1.0 40
Total 205

(Additional 3 clean-reference subdirs bring the total to 208.)

Each subdirectory contains:

  • GT/ β€” 800 clean crops (256Γ—256 px, PNG)
  • LQ/ β€” 800 degraded crops (256Γ—256 px, PNG), paired one-to-one with GT/
  • daclip_val.csv β€” per-image manifest (filepath, degradation label, physical parameter value)
  • degraded_prompts_0.json β€” text prompt used for the degradation

2. DIV2K_train_HR_random/

Mixed-degradation training set. All four degradations are applied to each image with per-image randomized parameters, used for stage-2 fine-tuning on composite degradations.

  • train_crop/random0/GT/ β€” 4000 clean crops
  • train_crop/random0/LQ/ β€” 4000 mixed-degradation crops
  • merged_daclip_train_all_updated.csv β€” top-level manifest for stage-2 training

Source and License

Ground-truth crops are derived from the DIV2K training set (https://data.vision.ee.ethz.ch/cvl/DIV2K/), licensed under CC BY-SA 4.0. This release inherits the same license.

Contact

For questions, please open an issue on this dataset repository.

Downloads last month
31