
manycore-research/SpatialGen-1.0
Image-to-Image
•
Updated
•
195
•
15
Error code: JobManagerCrashedError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
image
image | label
class label |
---|---|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
|
0depth
|
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.
Outlines of the dataset files:
SpatialGen-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
We provide a code to visualize the layout data.
data_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)