Datasets:

Formats:
csv
ArXiv:
Libraries:
Datasets
pandas
License:
Dataset Viewer
Auto-converted to Parquet
id
stringlengths
17
17
room_type
stringclasses
70 values
scene_id
stringlengths
12
12
room_id
int64
0
16
sample
int64
0
3
split
stringclasses
4 values
scene_000000_00_0
bathroom
scene_000000
0
0
train
scene_000000_00_1
bathroom
scene_000000
0
1
train
scene_000000_00_2
bathroom
scene_000000
0
2
train
scene_000000_00_3
bathroom
scene_000000
0
3
train
scene_000000_01_0
bathroom
scene_000000
1
0
train
scene_000000_01_1
bathroom
scene_000000
1
1
train
scene_000000_01_2
bathroom
scene_000000
1
2
train
scene_000000_02_0
laundry room
scene_000000
2
0
train
scene_000000_02_1
laundry room
scene_000000
2
1
train
scene_000000_02_2
laundry room
scene_000000
2
2
train
scene_000000_02_3
laundry room
scene_000000
2
3
train
scene_000000_03_0
living room
scene_000000
3
0
train
scene_000000_03_1
living room
scene_000000
3
1
train
scene_000000_03_2
living room
scene_000000
3
2
train
scene_000000_03_3
living room
scene_000000
3
3
train
scene_000000_04_0
kitchen
scene_000000
4
0
train
scene_000000_04_1
kitchen
scene_000000
4
1
train
scene_000000_04_2
kitchen
scene_000000
4
2
train
scene_000000_04_3
kitchen
scene_000000
4
3
train
scene_000001_00_0
living and dining room
scene_000001
0
0
train
scene_000001_00_1
living and dining room
scene_000001
0
1
train
scene_000001_00_2
living and dining room
scene_000001
0
2
train
scene_000001_00_3
living and dining room
scene_000001
0
3
train
scene_000001_01_0
bathroom
scene_000001
1
0
train
scene_000001_01_1
bathroom
scene_000001
1
1
train
scene_000001_01_2
bathroom
scene_000001
1
2
train
scene_000001_01_3
bathroom
scene_000001
1
3
train
scene_000001_02_0
kitchen
scene_000001
2
0
train
scene_000001_02_1
kitchen
scene_000001
2
1
train
scene_000001_02_2
kitchen
scene_000001
2
2
train
scene_000001_02_3
kitchen
scene_000001
2
3
train
scene_000002_00_0
living room
scene_000002
0
0
train
scene_000002_00_1
living room
scene_000002
0
1
train
scene_000002_00_2
living room
scene_000002
0
2
train
scene_000002_00_3
living room
scene_000002
0
3
train
scene_000002_01_0
living room with dining area
scene_000002
1
0
train
scene_000002_01_1
living room with dining area
scene_000002
1
1
train
scene_000002_01_2
living room with dining area
scene_000002
1
2
train
scene_000002_01_3
living room with dining area
scene_000002
1
3
train
scene_000003_00_0
living room
scene_000003
0
0
train
scene_000003_00_1
living room
scene_000003
0
1
train
scene_000003_00_2
living room
scene_000003
0
2
train
scene_000003_00_3
living room
scene_000003
0
3
train
scene_000003_01_0
living room
scene_000003
1
0
train
scene_000003_01_1
living room
scene_000003
1
1
train
scene_000003_01_2
living room
scene_000003
1
2
train
scene_000003_01_3
living room
scene_000003
1
3
train
scene_000004_00_0
living room
scene_000004
0
0
train
scene_000004_00_1
living room
scene_000004
0
1
train
scene_000004_00_2
living room
scene_000004
0
2
train
scene_000004_00_3
living room
scene_000004
0
3
train
scene_000004_01_0
laundry room
scene_000004
1
0
train
scene_000004_01_1
laundry room
scene_000004
1
1
train
scene_000004_01_2
laundry room
scene_000004
1
2
train
scene_000004_01_3
laundry room
scene_000004
1
3
train
scene_000004_02_0
bathroom
scene_000004
2
0
train
scene_000004_02_1
bathroom
scene_000004
2
1
train
scene_000004_02_2
bathroom
scene_000004
2
2
train
scene_000004_02_3
bathroom
scene_000004
2
3
train
scene_000005_00_0
living room
scene_000005
0
0
train
scene_000005_00_1
living room
scene_000005
0
1
train
scene_000005_00_2
living room
scene_000005
0
2
train
scene_000005_00_3
living room
scene_000005
0
3
train
scene_000005_01_0
study room
scene_000005
1
0
train
scene_000005_01_1
study room
scene_000005
1
1
train
scene_000005_01_2
study room
scene_000005
1
2
train
scene_000005_01_3
study room
scene_000005
1
3
train
scene_000005_02_0
laundry room
scene_000005
2
0
train
scene_000005_02_1
laundry room
scene_000005
2
1
train
scene_000005_02_2
laundry room
scene_000005
2
2
train
scene_000005_02_3
laundry room
scene_000005
2
3
train
scene_000006_00_0
living room
scene_000006
0
0
train
scene_000006_00_1
living room
scene_000006
0
1
train
scene_000006_00_2
living room
scene_000006
0
2
train
scene_000006_00_3
living room
scene_000006
0
3
train
scene_000006_01_0
bathroom
scene_000006
1
0
train
scene_000006_01_1
bathroom
scene_000006
1
1
train
scene_000006_01_2
bathroom
scene_000006
1
2
train
scene_000006_01_3
bathroom
scene_000006
1
3
train
scene_000007_00_0
living room with dining area
scene_000007
0
0
train
scene_000007_00_1
living room with dining area
scene_000007
0
1
train
scene_000007_00_2
living room with dining area
scene_000007
0
2
train
scene_000007_00_3
living room with dining area
scene_000007
0
3
train
scene_000008_00_0
living room with dining area
scene_000008
0
0
train
scene_000008_00_1
living room with dining area
scene_000008
0
1
train
scene_000008_00_2
living room with dining area
scene_000008
0
2
train
scene_000008_00_3
living room with dining area
scene_000008
0
3
train
scene_000009_00_0
living room with dining area
scene_000009
0
0
train
scene_000009_00_1
living room with dining area
scene_000009
0
1
train
scene_000009_00_2
living room with dining area
scene_000009
0
2
train
scene_000009_00_3
living room with dining area
scene_000009
0
3
train
scene_000009_01_0
bathroom
scene_000009
1
0
train
scene_000009_01_1
bathroom
scene_000009
1
1
train
scene_000009_01_2
bathroom
scene_000009
1
2
train
scene_000009_01_3
bathroom
scene_000009
1
3
train
scene_000010_00_0
living and dining room
scene_000010
0
0
train
scene_000010_00_1
living and dining room
scene_000010
0
1
train
scene_000010_00_2
living and dining room
scene_000010
0
2
train
scene_000010_00_3
living and dining room
scene_000010
0
3
train
scene_000011_00_0
living and dining room
scene_000011
0
0
train
End of preview. Expand in Data Studio

SpatialLM Dataset

SpatialLM

Project arXiv GitHub
Hugging Face Dataset Dataset

The SpatialLM dataset is a large-scale, high-quality synthetic dataset designed by professional 3D designers and used for real-world production. It contains point clouds from 12,328 diverse indoor scenes comprising 54,778 rooms, each paired with rich ground-truth 3D annotations. SpatialLM dataset provides an additional valuable resource for advancing research in indoor scene understanding, 3D perception, and related applications. For more details about the dataset construction, annotations, and benchmark tasks, please refer to the paper.

exmaple a exmaple c exmaple b exmaple d

Dataset Structure

The dataset is organized into the following folder structure:

SpatialLM-Dataset/
β”œβ”€β”€ pcd/                        # Point cloud PLY files for rooms
β”‚ └── .ply
β”œβ”€β”€ layout/                     # GT room layout
β”‚ └── .txt
β”œβ”€β”€ examples/                   # 10 point cloud and layout examples
β”‚ └── .ply
β”‚ └── .txt
β”œβ”€β”€ extract.sh                  # Extraction script
β”œβ”€β”€ dataset_info.json           # Dataset configuration file for training
β”œβ”€β”€ spatiallm_train.json        # SpatialLM conversations data for training
β”œβ”€β”€ spatiallm_val.json          # SpatialLM conversations data for validation
β”œβ”€β”€ spatiallm_test.json         # SpatialLM conversations data for testing
└── split.csv                   # Metadata CSV file

Metadata

The dataset metadata is provided in the split.csv file with the following columns:

  • id: Unique identifier for each sampled point cloud and layout following the naming convention {scene_id}_{room_id}_{sample} (e.g., scene_001523_00_2)
  • room_type: The functional type of each room (e.g., bedroom, living room)
  • scene_id: Unique identifier for multi-room apartment scenes
  • room_id: Unique identifier for individual rooms within a scene
  • sample: Point cloud sampling configuration for each room (4 types available):
    • 0: Most complete observations (8 panoramic views randomly sampled)
    • 1: Most sparse observations (8 perspective views randomly sampled)
    • 2: Less complete observations (16 perspective views randomly sampled)
    • 3: Less sparse observations (24 perspective views randomly sampled)
  • split: Dataset partition assignment (train, val, test, reserved)

The dataset is divided into 11,328/500/500 scenes for train/val/test splits, and 199,286/500/500 sampled point clouds accordingly, where multiple point cloud samples of the same room are randomly selected for the val/test splits for simplicity.

Data Extraction

Point clouds and layouts are compressed in zip files. To extract the files, run the following script:

cd SpatialLM-Dataset
chmod +x extract.sh
./extract.sh

Conversation Format

The spatiallm_train.json, spatiallm_val.json, and spatiallm_test.json data follows the SpatialLM format with ShareGPT-style conversations:

{
  "conversations": [
    {
      "from": "human",
      "value": "<point_cloud>Detect walls, doors, windows, boxes. The reference code is as followed: ..."
    },
    {
      "from": "gpt",
      "value": "<|layout_s|>wall_0=...<|layout_e|>"
    }
  ],
  "point_clouds": ["pcd/ID.ply"]
}

Usage

Use the SpatialLM code base for reading the point cloud and the layout data.

from spatiallm import Layout
from spatiallm.pcd import load_o3d_pcd

# Load Point Cloud
point_cloud = load_o3d_pcd(args.point_cloud)

# Load Layout
with open(args.layout, "r") as f:
    layout_content = f.read()
layout = Layout(layout_content)

Visualization

Use rerun to visualize the point cloud and the GT structured 3D layout output:

python visualize.py --point_cloud examples/scene_008456_00_3.ply --layout examples/scene_008456_00_3.txt --save scene_008456_00_3.rrd
rerun scene_008456_00_3.rrd

SpatialGen dataset

For access to photorealistic RGB/Depth/Normal/Semantic/Instance panoramic renderings and camera trajectories used to generate the SpatialLM point clouds, please refer to the SpatialGen project for more details.

Citation

If you find this work useful, please consider citing:

@inproceedings{SpatialLM,
  title     = {SpatialLM: Training Large Language Models for Structured Indoor Modeling},
  author    = {Mao, Yongsen and Zhong, Junhao and Fang, Chuan and Zheng, Jia and Tang, Rui and Zhu, Hao and Tan, Ping and Zhou, Zihan},
  booktitle = {Advances in Neural Information Processing Systems},
  year      = {2025}
}
Downloads last month
2,378

Collection including manycore-research/SpatialLM-Dataset