File size: 2,166 Bytes
38c6f4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
license: cc-by-nc-4.0
task_categories:
  - image-to-3d
tags:
  - blender
  - hdri
  - inverse-rendering
  - relighting
  - 3d
---

# DuplicateBlenderData — Blender source scenes for *Structure from Duplicates* (SfD)

The 3D source files behind the synthetic objects in
[**DuplicateSingleImage**](https://huggingface.co/datasets/TianhangCheng7/DuplicateSingleImage), plus
the HDRI environment maps used to light the renders. Use this repo if you want to **re-render** the
objects, change the lighting, or build new duplicate-object scenes — for training SfD itself you only
need `DuplicateSingleImage`.

Code: [Tianhang-Cheng/SfD](https://github.com/Tianhang-Cheng/SfD) ·
Paper: [arXiv:2401.05236](https://arxiv.org/abs/2401.05236)

## Layout

```
box, cash, cleaner, clock, coffee, fire, gitar, sign, tin
  <object>_clean.blend     # the Blender scene (cash/ is scene.blend)
  textures/                # the PBR maps the scene references
hdi/
  a.exr ... f.exr          # HDRI environment maps
  nv_box.hdr
```

`hdi/b.exr`, `hdi/c.exr` and `hdi/d.exr` are the maps the repo calls `b`/`c`/`d`; `b` and `d` are the
two targets used by the relighting evaluation (`--eval_relight`).

## Download

```bash
# whole thing (~770 MB)
hf download TianhangCheng7/DuplicateBlenderData --repo-type dataset --local-dir blender_data

# or from a clone of the SfD repo
python download_assets.py --blender-data blender_data

# just one environment map
hf download TianhangCheng7/DuplicateBlenderData hdi/b.exr --repo-type dataset
```

Open a `.blend` in Blender 3.x or newer. Textures are referenced with relative paths, so keep each
object folder's `textures/` next to its `.blend`.

## Citation

```
@inproceedings{cheng2023structure,
  title={Structure from Duplicates: Neural Inverse Graphics from a Pile of Objects},
  author={Cheng, Tianhang and Ma, Wei-Chiu and Guan, Kaiyu and Torralba, Antonio and Wang, Shenlong},
  booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
  year={2023}
}
```

Individual object meshes/textures and HDRIs come from third-party sources (e.g. Poly Haven); the
original licenses of those assets apply to them.