Update README.md
Browse files
README.md
CHANGED
|
@@ -94,9 +94,10 @@ mask = np.load(f"{local_dir}/obj_png_128_72_6000/anise/anise_001/Scan/000_mask.n
|
|
| 94 |
## Source Data and Rendering
|
| 95 |
|
| 96 |
All raw scans are taken from the official [OmniObject3D](https://omniobject3d.github.io/)
|
| 97 |
-
website. We include all raw scans provided on the official website,
|
| 98 |
-
|
| 99 |
-
|
|
|
|
| 100 |
|
| 101 |
## Code & Reproducibility
|
| 102 |
|
|
@@ -105,6 +106,42 @@ The rendering pipeline used to generate this dataset is included in this reposit
|
|
| 105 |
It is adapted from the [Objaverse](https://objaverse.allenai.org/) rendering script
|
| 106 |
(Deitke et al., 2023), with the upstream license header and attribution retained.
|
| 107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
## License
|
| 109 |
|
| 110 |
This dataset is derived from [OmniObject3D](https://omniobject3d.github.io/). Its use is
|
|
|
|
| 94 |
## Source Data and Rendering
|
| 95 |
|
| 96 |
All raw scans are taken from the official [OmniObject3D](https://omniobject3d.github.io/)
|
| 97 |
+
website. We include all raw scans provided on the official website; consequently, the
|
| 98 |
+
number of categories and objects may differ slightly from those reported in the original
|
| 99 |
+
OmniObject3D paper. The rendering pipeline is adapted from the implementation released
|
| 100 |
+
with [Objaverse](https://objaverse.allenai.org/) (Deitke et al., 2023).
|
| 101 |
|
| 102 |
## Code & Reproducibility
|
| 103 |
|
|
|
|
| 106 |
It is adapted from the [Objaverse](https://objaverse.allenai.org/) rendering script
|
| 107 |
(Deitke et al., 2023), with the upstream license header and attribution retained.
|
| 108 |
|
| 109 |
+
### Setup
|
| 110 |
+
|
| 111 |
+
Download Blender 3.2.2:
|
| 112 |
+
|
| 113 |
+
```bash
|
| 114 |
+
wget https://download.blender.org/release/Blender3.2/blender-3.2.2-linux-x64.tar.xz && \
|
| 115 |
+
tar -xf blender-3.2.2-linux-x64.tar.xz && \
|
| 116 |
+
rm blender-3.2.2-linux-x64.tar.xz
|
| 117 |
+
```
|
| 118 |
+
|
| 119 |
+
On a headless Linux server, install and start Xorg:
|
| 120 |
+
|
| 121 |
+
```bash
|
| 122 |
+
sudo apt-get install xserver-xorg -y && \
|
| 123 |
+
sudo python3 start_x_server.py start
|
| 124 |
+
```
|
| 125 |
+
|
| 126 |
+
Install the Python dependencies (Python > 3.8 is required). These are the same
|
| 127 |
+
dependencies as the
|
| 128 |
+
[objaverse-xl rendering scripts](https://github.com/allenai/objaverse-xl/tree/main/scripts/rendering).
|
| 129 |
+
|
| 130 |
+
### Reproduce the Dataset
|
| 131 |
+
|
| 132 |
+
1. Download and unzip the OmniObject3D raw scans.
|
| 133 |
+
2. Run the rendering script:
|
| 134 |
+
|
| 135 |
+
```bash
|
| 136 |
+
blender-3.2.2-linux-x64/blender --background --python rendering/blender_script.py -- \
|
| 137 |
+
--object_path <path/to/unzipped/OmniObject3D> \
|
| 138 |
+
--output_dir <path/to/output> \
|
| 139 |
+
--num_renders 72 \
|
| 140 |
+
--engine CYCLES \
|
| 141 |
+
--save_image True \
|
| 142 |
+
--save_mask True
|
| 143 |
+
```
|
| 144 |
+
|
| 145 |
## License
|
| 146 |
|
| 147 |
This dataset is derived from [OmniObject3D](https://omniobject3d.github.io/). Its use is
|