Datasets:
Tasks:
Image-to-Image
Modalities:
Image
Formats:
imagefolder
Languages:
English
Size:
10K - 100K
ArXiv:
License:
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- LICENSE +12 -0
- README.md +108 -0
- data-test/00000_output.png +3 -0
- data-test/00001_output.png +3 -0
- data-test/00002_output.png +3 -0
- data-test/00003_output.png +3 -0
- data-test/00004_output.png +3 -0
- data-test/00005_output.png +3 -0
- data-test/00006_output.png +3 -0
- data-test/00007_output.png +3 -0
- data-test/00008_output.png +3 -0
- data-test/00009_output.png +3 -0
- data-test/00010_output.png +3 -0
- data-test/00011_output.png +3 -0
- data-test/00012_output.png +3 -0
- data-test/00013_output.png +3 -0
- data-test/00014_output.png +3 -0
- data-test/00015_output.png +3 -0
- data-test/00016_output.png +3 -0
- data-test/00017_output.png +3 -0
- data-test/00018_output.png +3 -0
- data-test/00019_output.png +3 -0
- data-test/00020_output.png +3 -0
- data-test/00021_output.png +3 -0
- data-test/00022_output.png +3 -0
- data-test/00023_output.png +3 -0
- data-test/00024_output.png +3 -0
- data-test/00025_output.png +3 -0
- data-test/00026_output.png +3 -0
- data-test/00027_output.png +3 -0
- data-test/00028_output.png +3 -0
- data-test/00029_output.png +3 -0
- data-test/00030_output.png +3 -0
- data-test/00031_output.png +3 -0
- data-test/00032_output.png +3 -0
- data-test/00033_output.png +3 -0
- data-test/00034_output.png +3 -0
- data-test/00035_output.png +3 -0
- data-test/00036_output.png +3 -0
- data-test/00037_output.png +3 -0
- data-test/00038_output.png +3 -0
- data-test/00039_output.png +3 -0
- data-test/00040_output.png +3 -0
- data-test/00041_output.png +3 -0
- data-test/00042_output.png +3 -0
- data-test/00043_output.png +3 -0
- data-test/00044_output.png +3 -0
- data-test/00045_output.png +3 -0
- data-test/00046_output.png +3 -0
- data-test/00047_output.png +3 -0
LICENSE
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 the authors of "Learning Illumination Control in Diffusion Models"
|
| 4 |
+
(Nishit Anand, Manan Suri, Christopher Metzler, Dinesh Manocha, Ramani Duraiswami).
|
| 5 |
+
|
| 6 |
+
This Hugging Face dataset bundle is licensed under CC BY-NC-SA 4.0, consistent with
|
| 7 |
+
the GitHub repository and FFHQ-derived research use. See the repository README and
|
| 8 |
+
https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
|
| 9 |
+
|
| 10 |
+
Flickr-Faces-HQ (FFHQ): training splits in this project trace to FFHQ. Comply with
|
| 11 |
+
https://github.com/NVlabs/ffhq-dataset and NVIDIA's CC BY-NC-SA 4.0 terms for the FFHQ
|
| 12 |
+
dataset distribution; cite Karras, Laine, Aila (StyleGAN / FFHQ) as required.
|
README.md
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-sa-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- diffusion
|
| 7 |
+
- computer-vision
|
| 8 |
+
- image-editing
|
| 9 |
+
- faces
|
| 10 |
+
- dataset
|
| 11 |
+
pretty_name: Image relighting diffusion (research data)
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
task_categories:
|
| 15 |
+
- image-to-image
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Learning Illumination Control in Diffusion Models — Dataset (HF)
|
| 19 |
+
|
| 20 |
+
Public **data and evaluation assets** for [*Learning Illumination Control in Diffusion Models*](https://arxiv.org/abs/2604.24877) (ReALM-GEN @ ICLR 2026).
|
| 21 |
+
|
| 22 |
+
| | |
|
| 23 |
+
|--|--|
|
| 24 |
+
| **Code** | [github.com/nishitanand/image-relighting-diffusion](https://github.com/nishitanand/image-relighting-diffusion) |
|
| 25 |
+
| **Model weights** | [huggingface.co/nishitanand/sd-image-relighting-model](https://huggingface.co/nishitanand/sd-image-relighting-model) |
|
| 26 |
+
| **Paper** | [arxiv.org/abs/2604.24877](https://arxiv.org/abs/2604.24877) |
|
| 27 |
+
| **Project site** | [nishitanand.github.io/relighting-diffusion-website](https://nishitanand.github.io/relighting-diffusion-website) |
|
| 28 |
+
|
| 29 |
+
---
|
| 30 |
+
|
| 31 |
+
## Download (CLI)
|
| 32 |
+
|
| 33 |
+
Install the [Hugging Face CLI](https://huggingface.co/docs/huggingface_hub/guides/cli) (`pip install -U "huggingface_hub[cli]"`), then:
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
huggingface-cli download nishitanand/image-relighting-diffusion-data \
|
| 37 |
+
--repo-type dataset \
|
| 38 |
+
--local-dir ./image-relighting-diffusion-data
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
You can also browse files on the [dataset page](https://huggingface.co/datasets/nishitanand/image-relighting-diffusion-data) and download subsets manually.
|
| 42 |
+
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
## Contents
|
| 46 |
+
|
| 47 |
+
### Training & test tensors / metadata
|
| 48 |
+
|
| 49 |
+
| Folder | Description |
|
| 50 |
+
|--------|-------------|
|
| 51 |
+
| `data-train/` | Synthetic degraded inputs + paired metadata for **SD1.5** fine-tuning |
|
| 52 |
+
| `data-test/` | Held-out **test** split for quantitative evaluation |
|
| 53 |
+
| `data_hf_train/` | (Optional) Pre-sharded `datasets` format for faster dataloader startup |
|
| 54 |
+
| `data-val/` | (Optional) Extra split folder if you mirror the paper’s three-way split on disk |
|
| 55 |
+
|
| 56 |
+
### OOD qualitative pack
|
| 57 |
+
|
| 58 |
+
| Path | Description |
|
| 59 |
+
|------|-------------|
|
| 60 |
+
| `qualitative_comparison/selected-64/` | 64 face crops for the paper’s out-of-distribution qualitative evaluation |
|
| 61 |
+
| `qualitative_comparison/ood_test_64.csv` | **64 rows** — one `editing_instruction` per image (paper Figure 6 qualitative protocol) |
|
| 62 |
+
| `qualitative_comparison/ood-64-results/` | (Optional) Archived run outputs + `ood_results.json` |
|
| 63 |
+
|
| 64 |
+
Paths in `ood_test_64.csv` are relative to the **`qualitative_comparison/`** directory (e.g. `selected-64/img000-lat349.png`).
|
| 65 |
+
|
| 66 |
+
### Optional evaluation bundles
|
| 67 |
+
|
| 68 |
+
| Path | Description |
|
| 69 |
+
|------|-------------|
|
| 70 |
+
| `evaluation/evaluation_results_comparison/` | Saved comparisons (our model vs SD1.5 baseline) + JSON |
|
| 71 |
+
| `evaluation/baseline_sdxl_long_descriptions/` | SDXL baseline outputs |
|
| 72 |
+
| `evaluation/baseline_flux_long_descriptions/` | FLUX baseline outputs |
|
| 73 |
+
|
| 74 |
+
---
|
| 75 |
+
|
| 76 |
+
## Using with the GitHub code
|
| 77 |
+
|
| 78 |
+
1. Clone **[image-relighting-diffusion](https://github.com/nishitanand/image-relighting-diffusion)**.
|
| 79 |
+
2. Download this dataset to e.g. `./hf_dataset` (command above).
|
| 80 |
+
3. **Training:** point `--data_dir` (or symlink) at `hf_dataset/data_hf_train` or rebuild triplets from CSVs in the code repo — see the GitHub **README** “Download prebuilt data” and “Full pipeline”.
|
| 81 |
+
4. **OOD:** copy `hf_dataset/qualitative_comparison/selected-64/` and `ood_test_64.csv` into the clone’s `qualitative_comparison/` next to `process_ood_test.py`.
|
| 82 |
+
5. **Quantitative eval:** CSVs in the code repo use paths relative to the **repository root**; keep the same relative layout or rewrite prefixes.
|
| 83 |
+
|
| 84 |
+
**FFHQ** originals are **not** part of this dataset; obtain FFHQ under its license from [NVlabs/ffhq-dataset](https://github.com/NVlabs/ffhq-dataset) and cite the StyleGAN / FFHQ paper and NVIDIA terms as required.
|
| 85 |
+
|
| 86 |
+
---
|
| 87 |
+
|
| 88 |
+
## Citation (BibTeX)
|
| 89 |
+
|
| 90 |
+
```bibtex
|
| 91 |
+
@article{anand2026learning,
|
| 92 |
+
title={Learning Illumination Control in Diffusion Models},
|
| 93 |
+
author={Anand, Nishit and Suri, Manan and Metzler, Christopher and Manocha, Dinesh and Duraiswami, Ramani},
|
| 94 |
+
journal={arXiv preprint arXiv:2604.24877},
|
| 95 |
+
year={2026},
|
| 96 |
+
note={ReALM-GEN @ ICLR 2026}
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
## License
|
| 103 |
+
|
| 104 |
+
This dataset bundle on Hugging Face is released under [**CC BY-NC-SA 4.0**](https://creativecommons.org/licenses/by-nc-sa/4.0/). See [`LICENSE`](LICENSE) in this repository.
|
| 105 |
+
|
| 106 |
+
**FFHQ.** Curated training splits in the paper trace to **Flickr-Faces-HQ (FFHQ)**. Individual FFHQ images were published on Flickr under licenses such as CC BY 2.0, CC BY-NC 2.0, and public-domain marks; the **FFHQ dataset distribution** (metadata, scripts, documentation) is provided by NVIDIA under **CC BY-NC-SA 4.0**. See [NVlabs/ffhq-dataset](https://github.com/NVlabs/ffhq-dataset).
|
| 107 |
+
|
| 108 |
+
Cite [**arXiv:2604.24877**](https://arxiv.org/abs/2604.24877) when publishing results built on this bundle.
|
data-test/00000_output.png
ADDED
|
Git LFS Details
|
data-test/00001_output.png
ADDED
|
Git LFS Details
|
data-test/00002_output.png
ADDED
|
Git LFS Details
|
data-test/00003_output.png
ADDED
|
Git LFS Details
|
data-test/00004_output.png
ADDED
|
Git LFS Details
|
data-test/00005_output.png
ADDED
|
Git LFS Details
|
data-test/00006_output.png
ADDED
|
Git LFS Details
|
data-test/00007_output.png
ADDED
|
Git LFS Details
|
data-test/00008_output.png
ADDED
|
Git LFS Details
|
data-test/00009_output.png
ADDED
|
Git LFS Details
|
data-test/00010_output.png
ADDED
|
Git LFS Details
|
data-test/00011_output.png
ADDED
|
Git LFS Details
|
data-test/00012_output.png
ADDED
|
Git LFS Details
|
data-test/00013_output.png
ADDED
|
Git LFS Details
|
data-test/00014_output.png
ADDED
|
Git LFS Details
|
data-test/00015_output.png
ADDED
|
Git LFS Details
|
data-test/00016_output.png
ADDED
|
Git LFS Details
|
data-test/00017_output.png
ADDED
|
Git LFS Details
|
data-test/00018_output.png
ADDED
|
Git LFS Details
|
data-test/00019_output.png
ADDED
|
Git LFS Details
|
data-test/00020_output.png
ADDED
|
Git LFS Details
|
data-test/00021_output.png
ADDED
|
Git LFS Details
|
data-test/00022_output.png
ADDED
|
Git LFS Details
|
data-test/00023_output.png
ADDED
|
Git LFS Details
|
data-test/00024_output.png
ADDED
|
Git LFS Details
|
data-test/00025_output.png
ADDED
|
Git LFS Details
|
data-test/00026_output.png
ADDED
|
Git LFS Details
|
data-test/00027_output.png
ADDED
|
Git LFS Details
|
data-test/00028_output.png
ADDED
|
Git LFS Details
|
data-test/00029_output.png
ADDED
|
Git LFS Details
|
data-test/00030_output.png
ADDED
|
Git LFS Details
|
data-test/00031_output.png
ADDED
|
Git LFS Details
|
data-test/00032_output.png
ADDED
|
Git LFS Details
|
data-test/00033_output.png
ADDED
|
Git LFS Details
|
data-test/00034_output.png
ADDED
|
Git LFS Details
|
data-test/00035_output.png
ADDED
|
Git LFS Details
|
data-test/00036_output.png
ADDED
|
Git LFS Details
|
data-test/00037_output.png
ADDED
|
Git LFS Details
|
data-test/00038_output.png
ADDED
|
Git LFS Details
|
data-test/00039_output.png
ADDED
|
Git LFS Details
|
data-test/00040_output.png
ADDED
|
Git LFS Details
|
data-test/00041_output.png
ADDED
|
Git LFS Details
|
data-test/00042_output.png
ADDED
|
Git LFS Details
|
data-test/00043_output.png
ADDED
|
Git LFS Details
|
data-test/00044_output.png
ADDED
|
Git LFS Details
|
data-test/00045_output.png
ADDED
|
Git LFS Details
|
data-test/00046_output.png
ADDED
|
Git LFS Details
|
data-test/00047_output.png
ADDED
|
Git LFS Details
|