nishitanand commited on
Commit
f0aa290
·
verified ·
1 Parent(s): d197bb8

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. LICENSE +12 -0
  2. README.md +108 -0
  3. data-test/00000_output.png +3 -0
  4. data-test/00001_output.png +3 -0
  5. data-test/00002_output.png +3 -0
  6. data-test/00003_output.png +3 -0
  7. data-test/00004_output.png +3 -0
  8. data-test/00005_output.png +3 -0
  9. data-test/00006_output.png +3 -0
  10. data-test/00007_output.png +3 -0
  11. data-test/00008_output.png +3 -0
  12. data-test/00009_output.png +3 -0
  13. data-test/00010_output.png +3 -0
  14. data-test/00011_output.png +3 -0
  15. data-test/00012_output.png +3 -0
  16. data-test/00013_output.png +3 -0
  17. data-test/00014_output.png +3 -0
  18. data-test/00015_output.png +3 -0
  19. data-test/00016_output.png +3 -0
  20. data-test/00017_output.png +3 -0
  21. data-test/00018_output.png +3 -0
  22. data-test/00019_output.png +3 -0
  23. data-test/00020_output.png +3 -0
  24. data-test/00021_output.png +3 -0
  25. data-test/00022_output.png +3 -0
  26. data-test/00023_output.png +3 -0
  27. data-test/00024_output.png +3 -0
  28. data-test/00025_output.png +3 -0
  29. data-test/00026_output.png +3 -0
  30. data-test/00027_output.png +3 -0
  31. data-test/00028_output.png +3 -0
  32. data-test/00029_output.png +3 -0
  33. data-test/00030_output.png +3 -0
  34. data-test/00031_output.png +3 -0
  35. data-test/00032_output.png +3 -0
  36. data-test/00033_output.png +3 -0
  37. data-test/00034_output.png +3 -0
  38. data-test/00035_output.png +3 -0
  39. data-test/00036_output.png +3 -0
  40. data-test/00037_output.png +3 -0
  41. data-test/00038_output.png +3 -0
  42. data-test/00039_output.png +3 -0
  43. data-test/00040_output.png +3 -0
  44. data-test/00041_output.png +3 -0
  45. data-test/00042_output.png +3 -0
  46. data-test/00043_output.png +3 -0
  47. data-test/00044_output.png +3 -0
  48. data-test/00045_output.png +3 -0
  49. data-test/00046_output.png +3 -0
  50. 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

  • SHA256: d19b26678b8db84826b95bd10708580d8c1cb5301f6ec6e318f5607282e7a635
  • Pointer size: 132 Bytes
  • Size of remote file: 1.04 MB
data-test/00001_output.png ADDED

Git LFS Details

  • SHA256: d54c7d862aaa1e7cd33e850b8d952afa172be4a75a246fe7bb0a482c2cf95dde
  • Pointer size: 131 Bytes
  • Size of remote file: 720 kB
data-test/00002_output.png ADDED

Git LFS Details

  • SHA256: c36ea4ea7c7f0cbbbbd967049632156c9d49d34fa918340036738dc8ec8a9f3e
  • Pointer size: 131 Bytes
  • Size of remote file: 941 kB
data-test/00003_output.png ADDED

Git LFS Details

  • SHA256: 7dad9f76b5fff256e3873f03d31dff011b6c694b69a881089efecb7d98c679ed
  • Pointer size: 131 Bytes
  • Size of remote file: 857 kB
data-test/00004_output.png ADDED

Git LFS Details

  • SHA256: e608ed4c869285e7e48afb61951278cc94706f79b908fb4c51eda63fc312a60c
  • Pointer size: 132 Bytes
  • Size of remote file: 1.06 MB
data-test/00005_output.png ADDED

Git LFS Details

  • SHA256: 74d474b8df0e8f0801867c69182f8f48466ebb914e278a5ca8b4f10980e911c2
  • Pointer size: 131 Bytes
  • Size of remote file: 175 kB
data-test/00006_output.png ADDED

Git LFS Details

  • SHA256: 9bb70aad68a7fec5560e5295bb625d597c9d8294bc80bec3c4eda881c7031b0a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.49 MB
data-test/00007_output.png ADDED

Git LFS Details

  • SHA256: f0d6a91449db56e5b9ecd041c39996a1ac15d476d1522f5c4de9a3be23c2be08
  • Pointer size: 132 Bytes
  • Size of remote file: 1.04 MB
data-test/00008_output.png ADDED

Git LFS Details

  • SHA256: f9a2cb7145967b021484d66257cbfeb0caf5b70c320acf905617f6fdd008c1d0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.83 MB
data-test/00009_output.png ADDED

Git LFS Details

  • SHA256: 272088cec6b1089be8ae934ccb987daa04383f51884c74955e7d318332720f4f
  • Pointer size: 131 Bytes
  • Size of remote file: 907 kB
data-test/00010_output.png ADDED

Git LFS Details

  • SHA256: a734c365bb2d6530e111f258e0ac7401cdc21b8acbc334d6e9ab5e4349036ca3
  • Pointer size: 131 Bytes
  • Size of remote file: 696 kB
data-test/00011_output.png ADDED

Git LFS Details

  • SHA256: 8fd83ed8f0a7a3ef76671c4cd5454c04dcdb103bd47655139db86755ffe2f674
  • Pointer size: 131 Bytes
  • Size of remote file: 680 kB
data-test/00012_output.png ADDED

Git LFS Details

  • SHA256: 6af2d534fa1e9d5ef5efef88fdfa7911a3c84e766379c79c64162370c7e617a2
  • Pointer size: 131 Bytes
  • Size of remote file: 897 kB
data-test/00013_output.png ADDED

Git LFS Details

  • SHA256: f4e957aa209767dbba0e882207693077f5550032d934c6d1a7f3a8ff3a0b3bcf
  • Pointer size: 132 Bytes
  • Size of remote file: 1.26 MB
data-test/00014_output.png ADDED

Git LFS Details

  • SHA256: 03ca33121b2fb8e930506a2655c62d8bc4ee90736cb999005e2ea2736e0c3b7a
  • Pointer size: 131 Bytes
  • Size of remote file: 893 kB
data-test/00015_output.png ADDED

Git LFS Details

  • SHA256: 079d42bdd6b36507b08048365336b3c2d2c97b15a9667426679d9a0c859eff80
  • Pointer size: 132 Bytes
  • Size of remote file: 1.08 MB
data-test/00016_output.png ADDED

Git LFS Details

  • SHA256: 0a916e550534f13ad7e92f1a06e3bf6778c21e5473ea4f9807d1177d405cfe1c
  • Pointer size: 131 Bytes
  • Size of remote file: 655 kB
data-test/00017_output.png ADDED

Git LFS Details

  • SHA256: b74a705b6f72d508d9f5fa61f682549ff5d8bd284a26e52533fb3eee5c231d93
  • Pointer size: 131 Bytes
  • Size of remote file: 752 kB
data-test/00018_output.png ADDED

Git LFS Details

  • SHA256: cfad8289b64c777e1ca9040983ad860e2f20a8a2222093095caa134099f0d7c9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.04 MB
data-test/00019_output.png ADDED

Git LFS Details

  • SHA256: 58b88ee6ea9058b04b8ec0825e5b53c2ab27bf65e5925fc8d5fbe121144067c8
  • Pointer size: 131 Bytes
  • Size of remote file: 830 kB
data-test/00020_output.png ADDED

Git LFS Details

  • SHA256: 8092630dd80220ad0427d807aae4d5a648f059da088a6191488d023b4c542a56
  • Pointer size: 131 Bytes
  • Size of remote file: 108 kB
data-test/00021_output.png ADDED

Git LFS Details

  • SHA256: 4f802640cc0976d0e56298eca809ee757d5dc2e1dcb0d0f866bdb1d22fcabb0d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.03 MB
data-test/00022_output.png ADDED

Git LFS Details

  • SHA256: d667d750f1582555413034d265bcddb7637f183e2b9d312115d715e459a88eca
  • Pointer size: 132 Bytes
  • Size of remote file: 1.28 MB
data-test/00023_output.png ADDED

Git LFS Details

  • SHA256: 200f3b9b73a9e142d2ef4868cc8aeba4ebe99df7fb92c7edd7b730cb886125a2
  • Pointer size: 131 Bytes
  • Size of remote file: 641 kB
data-test/00024_output.png ADDED

Git LFS Details

  • SHA256: 378a7ca0087e1b26565948c0d8e638d54fde19871176da5353758dae55c74b92
  • Pointer size: 131 Bytes
  • Size of remote file: 957 kB
data-test/00025_output.png ADDED

Git LFS Details

  • SHA256: 8f33b3c5597aaf605269544bf7f50c1fc2a5276e8ec53c3d099875136ad26056
  • Pointer size: 131 Bytes
  • Size of remote file: 674 kB
data-test/00026_output.png ADDED

Git LFS Details

  • SHA256: 7b2e0089201fc6dc05561fb8ca13429f88347833d56bb234ce2c1b7640a0eebc
  • Pointer size: 131 Bytes
  • Size of remote file: 903 kB
data-test/00027_output.png ADDED

Git LFS Details

  • SHA256: e5c01c0a7feba72a4743a6a204ced492f14bf9158cd9d964aa0fda2a4fea715e
  • Pointer size: 131 Bytes
  • Size of remote file: 756 kB
data-test/00028_output.png ADDED

Git LFS Details

  • SHA256: f9cbedeb6b8a5c6e3d69b3439438dce26ca8aa47819277d1de07134dd2a5272f
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
data-test/00029_output.png ADDED

Git LFS Details

  • SHA256: 8b5f1bd15dc9afda50ac0f508cf637b9f0030e924cc4bd57a4da4ef6c80f7362
  • Pointer size: 131 Bytes
  • Size of remote file: 866 kB
data-test/00030_output.png ADDED

Git LFS Details

  • SHA256: 2d5abf201a147f47bd5f03c844160f94d85a154094f8d0487aec9ad452ca42f0
  • Pointer size: 131 Bytes
  • Size of remote file: 719 kB
data-test/00031_output.png ADDED

Git LFS Details

  • SHA256: 052c1aa1f187fe914661943e88fd62fde5f86751640d391db59a999a9100952a
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
data-test/00032_output.png ADDED

Git LFS Details

  • SHA256: a448771df5782fbc1b1dba6ee24e47d3e315006548b1d9060a224e72accc23d9
  • Pointer size: 131 Bytes
  • Size of remote file: 999 kB
data-test/00033_output.png ADDED

Git LFS Details

  • SHA256: 5e19fd45284d74202c280b13550994a4789a1890d4665ad76b9b5a8ef92cb6b9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.33 MB
data-test/00034_output.png ADDED

Git LFS Details

  • SHA256: 3025d32a29e4db5dcd1311c3cdc142f8da8309f7f23f279af71032df96d6c452
  • Pointer size: 132 Bytes
  • Size of remote file: 1.24 MB
data-test/00035_output.png ADDED

Git LFS Details

  • SHA256: 19f821c4d55c3c295ed7c9813600777ea4e82364900ae630d7a74d8f1cc22f21
  • Pointer size: 131 Bytes
  • Size of remote file: 921 kB
data-test/00036_output.png ADDED

Git LFS Details

  • SHA256: 15767d893b98bbee67c92450151add507f87105e1642f2fa3e5e37185b62453d
  • Pointer size: 131 Bytes
  • Size of remote file: 959 kB
data-test/00037_output.png ADDED

Git LFS Details

  • SHA256: 15a588f62a8bbef4de663aec3fe6918afdf9ec9f544d7a21ebe03503edf90b01
  • Pointer size: 131 Bytes
  • Size of remote file: 908 kB
data-test/00038_output.png ADDED

Git LFS Details

  • SHA256: fcdf5c6b246feff315778d2bf9c23cf15c7843023d03907beb44f50ad3900a99
  • Pointer size: 132 Bytes
  • Size of remote file: 1.01 MB
data-test/00039_output.png ADDED

Git LFS Details

  • SHA256: 0ecbf6d3c7ad7c8f3bb1786eb86d0826cb8a9d1825cf919ef8435e7314689e84
  • Pointer size: 131 Bytes
  • Size of remote file: 903 kB
data-test/00040_output.png ADDED

Git LFS Details

  • SHA256: b38a16684ae25f96bf895ff8dcbad90f4f9cd02ee3ff3596a706298a357f90b6
  • Pointer size: 131 Bytes
  • Size of remote file: 903 kB
data-test/00041_output.png ADDED

Git LFS Details

  • SHA256: fce79616e864a97b057beccd5b4a09ff23d98c73d8a1f10515f9c429caf74190
  • Pointer size: 131 Bytes
  • Size of remote file: 545 kB
data-test/00042_output.png ADDED

Git LFS Details

  • SHA256: 07cb5d428b669cafd12bf1e51118c55deabbcb13f344bf02424b06da6f463a7d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.12 MB
data-test/00043_output.png ADDED

Git LFS Details

  • SHA256: 9adaf7d31efa6ac328e1162ddeea841b8a1b295df55e99634ba3e7c0de16bef7
  • Pointer size: 132 Bytes
  • Size of remote file: 1.39 MB
data-test/00044_output.png ADDED

Git LFS Details

  • SHA256: af82499a593bb62af257928e6cfc820b2ae70563e912a1e7fa0c27084491bbee
  • Pointer size: 132 Bytes
  • Size of remote file: 1.05 MB
data-test/00045_output.png ADDED

Git LFS Details

  • SHA256: 2e21cb97edc4501729e416740d7c653e3454410d1eae30ac0b98fee6559b6c12
  • Pointer size: 131 Bytes
  • Size of remote file: 913 kB
data-test/00046_output.png ADDED

Git LFS Details

  • SHA256: fb6f90cebd3dd226f2890e9f961db26e9d196b529d97a29fc0e0da813dc52658
  • Pointer size: 131 Bytes
  • Size of remote file: 964 kB
data-test/00047_output.png ADDED

Git LFS Details

  • SHA256: a3ea65b88088b495501ec3fdfdce5b35893d6cd3d5a2d3bb96b210927007e30e
  • Pointer size: 131 Bytes
  • Size of remote file: 792 kB