yuandong513 commited on
Commit
2d447d6
1 Parent(s): 402bdbb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +137 -9
README.md CHANGED
@@ -1,21 +1,77 @@
1
  ---
2
  license: mit
3
  ---
4
- # High Quality Rendering Dataset of Objaverse
5
 
6
- ## [Project page](https://aigc3d.github.io/richdreamer/) | [Paper](https://arxiv.org/abs/2311.16918) | [YouTube](https://youtu.be/6gQ1VWiKoc0)
 
 
7
 
8
- ## Download Our High-Quality Renderings through Alibaba OSS Services
9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  ```bash
11
- wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/valid_paths_v4_cap_filter_thres_28.json
12
- # Example: python ./scripts/data/download_objaverse.py ./mvs_objaverse ./valid_paths_v4_cap_filter_thres_28.json 50
13
- python ./download_HQ_renderings.py /path/to/savedata /path/to/valid_paths_v4_cap_filter_thres_28.json nthreads(eg. 10)
14
- # caption file
 
 
 
 
 
 
 
15
  wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/text_captions_cap3d.json
 
16
  ```
 
 
17
 
18
- ## Folder structure
 
 
 
 
 
 
 
 
 
 
 
 
19
  ```
20
  |-- ROOT
21
  |-- dictionary_id
@@ -29,4 +85,76 @@ wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/text_ca
29
  |-- 00000_mr.png # Metalness and Roughness
30
  |-- 00000_nd.exr # Normal and Depth
31
  |-- ...
32
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
  ---
 
4
 
5
+ <p align="center">
6
+ <h1>G-buffer Objaverse</h1>
7
+ <p>
8
 
9
+ G-buffer Objaverse: High-Quality Rendering Dataset of Objaverse.
10
 
11
+ [Chao Xu](mailto:eric.xc@alibaba-inc.com),
12
+ [Yuan Dong](mailto:yuandong15@fudan.edu.cn),
13
+ [Qi Zuo](mailto:muyuan.zq@alibaba-inc.com),
14
+ [Junfei Zhang](mailto:miracle.zjf@alibaba-inc.com),
15
+ [Xiaodan Ye](mailto:doris.yxd@alibaba-inc.com),
16
+ [Wenbo Geng](mailto:rengui.gwb@alibaba-inc.com),
17
+ [Yuxiang Zhang](mailto:yuxiangzhang.zyx@alibaba-inc.com),
18
+ [Xiaodong Gu](https://scholar.google.com.hk/citations?user=aJPO514AAAAJ&hl=zh-CN&oi=ao),
19
+ [Lingteng Qiu](https://lingtengqiu.github.io/),
20
+ [Zhengyi Zhao](mailto:bushe.zzy@alibaba-inc.com),
21
+ [Qing Ran](mailto:ranqing.rq@alibaba-inc.com),
22
+ [Jiayi Jiang](mailto:jiayi.jjy@alibaba-inc.com),
23
+ [Zilong Dong](https://scholar.google.com/citations?user=GHOQKCwAAAAJ&hl=zh-CN&oi=ao),
24
+ [Liefeng Bo](https://scholar.google.com/citations?user=FJwtMf0AAAAJ&hl=zh-CN)
25
+
26
+ ## [Project page](https://aigc3d.github.io/gobjaverse/)
27
+ ## [Github](https://github.com/modelscope/richdreamer/tree/main/dataset/gobjaverse)
28
+ ## [YouTube](https://www.youtube.com/watch?v=PWweS-EPbJo)
29
+ ## [RichDreamer](https://aigc3d.github.io/richdreamer/)
30
+ ## [ND-Diffusion Model](https://github.com/modelscope/normal-depth-diffusion)
31
+
32
+ ## TODO
33
+ - [ ] Release objaverse-xl alignment rendering data
34
+
35
+ ## News
36
+
37
+ - We have released a compressed version of the datasets, check the downloading tips! (01.14, 2024 UTC)
38
+ - Thanks for [JunzheJosephZhu](https://github.com/JunzheJosephZhu) for improving the robustness of the downloading scripts. Now you could restart the download script from the break point. (01.12, 2024 UTC)
39
+ - Release 10 Category Annotation of the Objaverse Subset (01.06, 2024 UTC)
40
+ - Release G-buffer Objaverse Rendering Dataset (01.06, 2024 UTC)
41
+
42
+ ## Download
43
+ - Download gobjaverse ***(6.5T)*** rendering dataset using following scripts.
44
  ```bash
45
+ # download_gobjaverse_280k index file
46
+ wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/gobjaverse_280k.json
47
+ # Example: python ./scripts/data/download_gobjaverse_280k.py ./gobjaverse_280k ./gobjaverse_280k.json 10
48
+ python ./download_gobjaverse_280k.py /path/to/savedata /path/to/gobjaverse_280k.json nthreads(eg. 10)
49
+ # Or if the network is not so good, we have provided a compressed verison with each object as a tar file
50
+ # To download the compressed version(only 260k tar files)
51
+ python ./download_objaverse_280k_tar.py /path/to/savedata /path/to/gobjaverse_280k.json nthreads(eg. 10)
52
+ # download gobjaverse_280k/gobjaverse index to objaverse
53
+ wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/gobjaverse_280k_index_to_objaverse.json
54
+ wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/gobjaverse_index_to_objaverse.json
55
+ # download Cap3D text-caption file
56
  wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/text_captions_cap3d.json
57
+
58
  ```
59
+ - The 10 general categories including Human-Shape (41,557), Animals (28,882), Daily-Used (220,222), Furnitures (19,284), Buildings&&Outdoor (116,545), Transportations (20,075), Plants (7,195), Food (5,314), Electronics (13,252) and Poor-quality (107,001).
60
+ - Download the category annotation using following scripts.
61
 
62
+ ```bash
63
+ # download category annotation
64
+ wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/category_annotation.json
65
+ # If you want to download a specific category in gobjaverse280k:
66
+ # Step1: download the index file of the specified category.
67
+ wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/aigc3d/gobjaverse_280k_split/gobjaverse_280k_{category_name}.json # category_name: Human-Shape, ...
68
+ # Step2: download using script.
69
+ # Example: python ./scripts/data/download_gobjaverse_280k.py ./gobjaverse_280k_Human-Shape ./gobjaverse_280k_Human-Shape.json 10
70
+ python ./download_gobjaverse_280k.py /path/to/savedata /path/to/gobjaverse_280k_{category_name}.json nthreads(eg. 10)
71
+ ```
72
+
73
+ ## Folder Structure
74
+ - The structure of gobjaverse rendering dataset:
75
  ```
76
  |-- ROOT
77
  |-- dictionary_id
 
85
  |-- 00000_mr.png # Metalness and Roughness
86
  |-- 00000_nd.exr # Normal and Depth
87
  |-- ...
88
+ ```
89
+
90
+ ### Coordinate System
91
+
92
+ #### Normal Coordinate System
93
+
94
+ The 3D coordinate system definition is very complex. it is difficult for us to say what the camera system used. Fortunately, the target we want to get is mapping the world normal of rendering system to Normal-Bae system, as the following figure illustrates:
95
+
96
+ ![normal-bae system](./normal-bae-system.png)
97
+
98
+ where the U-axis and V-axis denote the width-axis and height-axis in image space, respectively, the xyz is the Normal-Bae camera view coordinate system.
99
+
100
+ Note that public rendering system for Objaverse is blender-based system:
101
+
102
+ ![00000_normal](./blender_world_normal.png)
103
+
104
+ However, our rendering system is defined at **Unity-based system**, seeing:
105
+
106
+ ![00000_normal](./unity-based.png)
107
+
108
+ *A question is how do we plug in blender's coordinate system directly without introducing a new coordinate system?*
109
+
110
+ A possible solution is that we maintain world to camera transfer matrix as blender setting, *transferring Unity-based system to blender-based system*
111
+
112
+ We provide example codes to visualize the coordinate mapping.
113
+
114
+ ```bash
115
+ # example of coordinate experiments
116
+ ## download datasets
117
+ wget https://virutalbuy-public.oss-cn-hangzhou.aliyuncs.com/share/Lingtengqiu/render_data_examples.zip
118
+ unzip render_data_examples.zip
119
+
120
+ ## visualizing blender-based system, and warping world-space normal to normal-bae system.
121
+ python ./process_blender_dataset.py
122
+
123
+ ## visualizing our system, and warping world-space normal to normal-bae system.
124
+ python ./process_unity_dataset.py
125
+ ```
126
+
127
+ #### Depth-Warpping
128
+ We write an example to demonstrate that how to obtain intrinsic matrix K, and warp ref image to target image based on ref depth map.
129
+
130
+ ```bash
131
+ # build quick-zbuff code
132
+ mkdir -p ./lib/build
133
+ g++ -shared -fpic -o ./lib/build/zbuff.so ./lib/zbuff.cpp
134
+
135
+ # an demo for depth-based Warpping
136
+ # python ./depth_warp_example.py $REFVIEW $TARGETVIEW
137
+ python3 ./depth_warp_example.py 0 3
138
+ ```
139
+
140
+
141
+ ## Citation
142
+
143
+ ```
144
+ @article{qiu2023richdreamer,
145
+ title={RichDreamer: A Generalizable Normal-Depth Diffusion Model for Detail Richness in Text-to-3D},
146
+ author={Lingteng Qiu and Guanying Chen and Xiaodong Gu and Qi zuo and Mutian Xu and Yushuang Wu and Weihao Yuan and Zilong Dong and Liefeng Bo and Xiaoguang Han},
147
+ year={2023},
148
+ journal = {arXiv preprint arXiv:2311.16918}
149
+ }
150
+ ```
151
+ ```
152
+ @article{objaverse,
153
+ title={Objaverse: A Universe of Annotated 3D Objects},
154
+ author={Matt Deitke and Dustin Schwenk and Jordi Salvador and Luca Weihs and
155
+ Oscar Michel and Eli VanderBilt and Ludwig Schmidt and
156
+ Kiana Ehsani and Aniruddha Kembhavi and Ali Farhadi},
157
+ journal={arXiv preprint arXiv:2212.08051},
158
+ year={2022}
159
+ }
160
+ ```