Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,73 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-nc-4.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Structured3D-SpatialLM Dataset
|
| 6 |
+
|
| 7 |
+
Structured3D dataset preprocessed in SpatialLM format for layout estimation with LLMs.
|
| 8 |
+
|
| 9 |
+
## Overview
|
| 10 |
+
|
| 11 |
+
This dataset is derived from [Structured3D](https://structured3d-dataset.org/) **3,500 synthetic house designs** created by professional designers, preprocessed and formatted specifically for [SpatialLM](https://github.com/manycore-research/SpatialLM) training.
|
| 12 |
+
|
| 13 |
+
Point clouds and layouts are derived from the [RoomFormer](https://github.com/ywyue/RoomFormer/tree/main/data_preprocess) data preprocessing script.
|
| 14 |
+
|
| 15 |
+
## Data Extraction
|
| 16 |
+
|
| 17 |
+
Point clouds and layouts are compressed in zip files. To extract the files, run the following script:
|
| 18 |
+
|
| 19 |
+
```bash
|
| 20 |
+
cd structured3d-spatiallm
|
| 21 |
+
chmod +x extract.sh
|
| 22 |
+
./extract.sh
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
## Dataset Strucutre
|
| 26 |
+
|
| 27 |
+
```bash
|
| 28 |
+
structured3d-spatiallm/
|
| 29 |
+
├── structured3d_train.json # Training conversations
|
| 30 |
+
├── structured3d_test.json # Test conversations
|
| 31 |
+
├── dataset_info.json # Dataset metadata
|
| 32 |
+
├── split.csv # Train/val split mapping
|
| 33 |
+
├── pcd/ # Point cloud data
|
| 34 |
+
│ └── .ply
|
| 35 |
+
├── layout/ # Scene layout annotations
|
| 36 |
+
│ └── .txt
|
| 37 |
+
└── extract.sh # Extraction script
|
| 38 |
+
```
|
| 39 |
+
|
| 40 |
+
The `structured3d_train.json` and `structured3d_test.json` dataset follows the **SpatialLM format** with ShareGPT-style conversations:
|
| 41 |
+
|
| 42 |
+
```json
|
| 43 |
+
{
|
| 44 |
+
"conversations": [
|
| 45 |
+
{
|
| 46 |
+
"from": "human",
|
| 47 |
+
"value": "<point_cloud>Detect walls, doors, windows. The reference code is as followed: ..."
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"from": "gpt",
|
| 51 |
+
"value": "<|layout_s|>wall_0=...<|layout_e|>"
|
| 52 |
+
}
|
| 53 |
+
],
|
| 54 |
+
"point_clouds": ["pcd/scene_id.ply"]
|
| 55 |
+
}
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
## License
|
| 59 |
+
|
| 60 |
+
This dataset is derived from [Structured3D](https://github.com/bertjiazheng/Structured3D) dataset. Please refer to the original dataset's license terms for usage restrictions.
|
| 61 |
+
|
| 62 |
+
## Citation
|
| 63 |
+
|
| 64 |
+
If you use this dataset in your research, please cite the original Structured3D paper:
|
| 65 |
+
|
| 66 |
+
```bibtex
|
| 67 |
+
@inproceedings{Structured3D,
|
| 68 |
+
title = {Structured3D: A Large Photo-realistic Dataset for Structured 3D Modeling},
|
| 69 |
+
author = {Jia Zheng and Junfei Zhang and Jing Li and Rui Tang and Shenghua Gao and Zihan Zhou},
|
| 70 |
+
booktitle = {Proceedings of The European Conference on Computer Vision (ECCV)},
|
| 71 |
+
year = {2020}
|
| 72 |
+
}
|
| 73 |
+
```
|