You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/datasets-cards)

Prepare ScanNet Data for Indoor Detection or Segmentation Task

We follow the procedure in votenet.

  1. Download ScanNet v2 data HERE. Link or move the 'scans' folder to this level of directory. If you are performing segmentation tasks and want to upload the results to its official benchmark, please also link or move the 'scans_test' folder to this directory.

  2. In this directory, extract point clouds and annotations by running python batch_load_scannet_data.py. Add the --scannet200 flag if you want to get markup for the ScanNet200 dataset.

  3. Enter the project root directory, generate training data by running

python tools/create_data.py scannet --root-path ./data/scannet --out-dir ./data/scannet --extra-tag scannet

        or for ScanNet200:

mkdir data/scannet200
python tools/create_data.py scannet200 --root-path ./data/scannet --out-dir ./data/scannet200 --extra-tag scannet200

The overall process for ScanNet could be achieved through the following script

python batch_load_scannet_data.py
cd ../..
python tools/create_data.py scannet --root-path ./data/scannet --out-dir ./data/scannet --extra-tag scannet

Or for ScanNet200:

python batch_load_scannet_data.py --scannet200
cd ../..
mkdir data/scannet200
python tools/create_data.py scannet200 --root-path ./data/scannet --out-dir ./data/scannet200 --extra-tag scannet200

The directory structure after pre-processing should be as below

scannet
β”œβ”€β”€ meta_data
β”œβ”€β”€ batch_load_scannet_data.py
β”œβ”€β”€ load_scannet_data.py
β”œβ”€β”€ scannet_utils.py
β”œβ”€β”€ README.md
β”œβ”€β”€ scans
β”œβ”€β”€ scans_test
β”œβ”€β”€ scannet_instance_data
β”œβ”€β”€ points
β”‚   β”œβ”€β”€ xxxxx.bin
β”œβ”€β”€ instance_mask
β”‚   β”œβ”€β”€ xxxxx.bin
β”œβ”€β”€ semantic_mask
β”‚   β”œβ”€β”€ xxxxx.bin
β”œβ”€β”€ super_points
β”‚   β”œβ”€β”€ xxxxx.bin
β”œβ”€β”€ seg_info
β”‚   β”œβ”€β”€ train_label_weight.npy
β”‚   β”œβ”€β”€ train_resampled_scene_idxs.npy
β”‚   β”œβ”€β”€ val_label_weight.npy
β”‚   β”œβ”€β”€ val_resampled_scene_idxs.npy
β”œβ”€β”€ scannet_oneformer3d_infos_train.pkl
β”œβ”€β”€ scannet_oneformer3d_infos_val.pkl
β”œβ”€β”€ scannet_oneformer3d_infos_test.pkl
Downloads last month
30