Dataset Viewer
Auto-converted to Parquet Duplicate
webp
imagewidth (px)
512
512
__key__
stringlengths
17
31
__url__
stringclasses
1 value
test-gt/10839_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/10879_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11112_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11315_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11385_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11518_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11754_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11778_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11816_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11868_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11881_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/11902_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12169_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12467_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12560_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12771_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c00-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c01-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c02-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c03-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c04-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c05-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c06-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c07-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c08-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c09-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c10-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c11-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c12-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c13-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c14-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c15-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c16-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c17-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c18-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c19-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c20-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c21-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c22-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c23-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/12_c24-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13227_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13430_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13974_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c00-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c01-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c02-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c03-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c04-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c05-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c06-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c07-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c08-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c09-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c10-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c11-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c12-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c13-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c14-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c15-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c16-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c17-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c18-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c19-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c20-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c21-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c22-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c23-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/13_c24-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/14284_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/14322_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/14538_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/14842_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15151_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15166_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15226_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15253_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15334_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15394_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15420_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15425_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15623_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15636_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15665_Fold5_nll-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c00-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c01-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c02-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c03-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c04-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c05-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c06-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c07-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c08-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c09-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c10-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c11-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c12-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c13-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c14-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
test-gt/15_c15-gt
hf://datasets/KBlueLeaf/low-light-project@cb4ebc61f44474bdd50fcada70474b7da751fb0e/test-gt.tar
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Low-Light Restoration Dataset

Paired low-light / normal-light image patches for training and evaluation.

Contents of low-light.tar

low-light/
├── train/        30,000 paired patches  (60,000 files)
├── val/          1,000 paired patches   (2,000 files)
├── test/         1,000 input patches    (no ground truth)
└── dataset.py    reference PyTorch Dataset (Python 3.10+)

All images are lossless WebP (.webp).

File naming

Every image is named <id>-<role>.webp where role ∈ {in, gt}:

Split Files
train/ <id>-in.webp paired with <id>-gt.webp (30,000 pairs)
val/ <id>-in.webp paired with <id>-gt.webp (1,000 pairs)
test/ <id>-in.webp only — no GT is provided

<id> is opaque; do not parse it. Pairing is by exact stem match.

Quick start

from pathlib import Path
from torch.utils.data import DataLoader
from dataset import (
    PairedLowLightDataset, TestLowLightDataset,
    PairedCompose, PairedRandomCrop, PairedRandomFlip, PairedToTensor,
)

root = Path("low-light")

train_tf = PairedCompose([
    PairedRandomCrop(256),
    PairedRandomFlip(p_h=0.5),
    PairedToTensor(),
])

train_set = PairedLowLightDataset(root / "train", transform=train_tf)
val_set   = PairedLowLightDataset(root / "val",   transform=None)
test_set  = TestLowLightDataset(root / "test",    transform=None)

train_loader = DataLoader(train_set, batch_size=16, shuffle=True, num_workers=4)
val_loader   = DataLoader(val_set,   batch_size=1,  shuffle=False, num_workers=2)
test_loader  = DataLoader(test_set,  batch_size=1,  shuffle=False, num_workers=2)

for x, y in train_loader:        # x, y are float32 CHW tensors in [0, 1]
    ...

for x, stem in test_loader:      # test yields (input, stem)
    pred = model(x)
    save_image(pred, f"submission/{stem[0]}-in.webp")

Dataset classes (in dataset.py)

PairedLowLightDataset(root, transform=None)

For train/ and val/. Returns (input_tensor, gt_tensor).

TestLowLightDataset(root, transform=None)

For test/. Returns (input_tensor, stem) where stem lets you save predictions under the original filename.

Transform contract

A transform may be one of:

  1. None — images are converted to float32 CHW tensors in [0, 1].
  2. A single-image torchvision-style callable fn(pil) -> tensor — applied independently to input and GT. Use only for deterministic ops (ToTensor, Normalize). Random single-image transforms will desync the pair.
  3. A pair-aware callable fn(in_pil, gt_pil) -> (in_tensor, gt_tensor), marked by setting fn.paired = True. The callable owns randomness and must apply the same geometric augmentation to both images.

The provided PairedCompose, PairedRandomCrop, PairedRandomFlip, PairedToTensor building blocks already follow contract #3.

Submission format

For each <id>-in.webp in test/, produce a restored image and save it as <id>-in.webp (or .png if preferred). Keep the original stem.

Evaluation pairs each prediction against the private ground truth held by the organizers — do not attempt to obtain or infer test GTs.

Requirements

  • Python 3.10+
  • torch, torchvision, Pillow (with WebP support; built into modern Pillow)
Downloads last month
92