README.md 1.3 KB
Newer Older
yinchimaoliang's avatar
yinchimaoliang committed
1
### Prepare SUN RGB-D Data
2
We follow the procedure in [votenet](https://github.com/facebookresearch/votenet/).
yinchimaoliang's avatar
yinchimaoliang committed
3

liyinhao's avatar
liyinhao committed
4
1. Download SUNRGBD v2 data [HERE](http://rgbd.cs.princeton.edu/data/). Then, move SUNRGBD.zip, SUNRGBDMeta2DBB_v2.mat, SUNRGBDMeta3DBB_v2.mat and SUNRGBDtoolbox.zip to the OFFICIAL_SUNRGBD folder, unzip the zip files.
yinchimaoliang's avatar
yinchimaoliang committed
5

liyinhao's avatar
liyinhao committed
6
2. Enter the `matlab` folder, Extract point clouds and annotations by running `extract_split.m`, `extract_rgbd_data_v2.m` and `extract_rgbd_data_v1.m`.
yinchimaoliang's avatar
yinchimaoliang committed
7

liyinhao's avatar
liyinhao committed
8
9
10
3. Back to this level of directory, prepare data by running `python sunrgbd_data.py --gen_v1_data`.

4. Enter the project root directory, Generate training data by running `python tools/create_data.py sunrgbd --root-path ./data/sunrgbd --out-dir ./data/sunrgbd --extra-tag sunrgbd`.
yinchimaoliang's avatar
yinchimaoliang committed
11
12
13


NOTE: SUNRGBDtoolbox.zip should have MD5 hash `18d22e1761d36352f37232cba102f91f` (you can check the hash with `md5 SUNRGBDtoolbox.zip` on Mac OS or `md5sum SUNRGBDtoolbox.zip` on Linux)
liyinhao's avatar
liyinhao committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31


```
sunrgbd
├── sunrgbd_utils.py
├── sunrgbd_data.py
├── README.md
├── matlab
│   ├── extract_rgbd_data_v1.m
│   ├── extract_rgbd_data_v2.m
│   ├── extract_split.m
├── OFFICIAL_SUNRGBD
│   ├── SUNRGBD
│   ├── SUNRGBDMeta2DBB_v2.mat
│   ├── SUNRGBDMeta3DBB_v2.mat
│   ├── SUNRGBDtoolbox

```