jiajia commited on
Commit ·
8d5d346
0
Parent(s):
Init Release
Browse filesFiles changed (2)
- .gitattributesAdded+1
- README.mdAdded+41
1*.zip filter=lfs diff=lfs merge=lfs -text1234567891011121314151617181920212223242526272829303132333435363738394041---license: cc-by-nc-4.0---
# SpatialGen Testset
[Code](https://github.com/manycore-research/SpatialGen)
We provide a test set of 48 preprocessed point clouds and their corresponding GT layouts, multi-view images are cropped from the high-resolution panoramic images.
## Folder Structure
Outlines of the dataset files:```bashSpatialGen-Testset|-- {scene_id} # scene folder | |-- rgb # multi-view color images| |-- semantic # multi-view semantic maps| |-- depth # multi-view depth maps| |-- normal # multi-view normal maps| |-- layout_depth # rendered depth maps of the GT layout| |-- layout_semantic # rendered semantic maps of the GT layout| |-- cameras.json # camera parameters for the scene| `-- room_layout.json # GT layout`-- test_split.txt # testing split```
## Visualization
We provide a [code](https://github.com/manycore-research/SpatialGen/blob/main/visualize_layout.py) to visualize the layout data.
```pythondata_root_dir = "./example_data/scenes"vis_root_dir = "./visualization"scene_data_dirs = [os.path.join(data_root_dir, d) for d in os.listdir(data_root_dir) if d.startswith("scene_")]
for scene_data_dir in scene_data_dirs: vis_output_dir = os.path.join(vis_root_dir, scene_data_dir.split('/')[-1]) # save layout_bbox.ply and camera poses in vis_output_dir visualize_spatialgen_data(scene_data_dir, vis_output_dir)```.gitattributesAdded+1
README.mdAdded+41