3d-dlp-repro-genericshapes-rgb
收藏资源简介:
GenericShapes-RGB是一个合成RGB体素数据集,专为复现ICML 2026论文《3D-DLP: Self-supervised 3D Object-centric Scene Representation Learning》而构建。它重现了论文附录B.2中描述但未发布的GenericShapes语料库的RGB彩色变体,遵循论文协议和作者提供的生成器结构。数据集包含40,000个桌面场景,每个场景包含3-6个随机放置的几何基元(如立方体、球体、圆柱体、圆锥体、胶囊体),这些基元具有随机尺寸(6-14厘米)和随机偏航角,无碰撞地放置在0.8×0.6米的平面上。点云表面采样添加了2毫米高斯传感器噪声,每个物体被赋予每场景饱和色调,桌面为灰褐色。点云使用论文代码库的VoxelGridXYZ体素化为64³的avg_rgb网格,采用固定全局边界(-0.42,-0.32,-0.02)至(0.42,0.32,0.22),以确保关键点坐标在不同场景间可比。每个场景包含三个文件:体素文件(存储稀疏体素网格)、元数据文件(包含体素化参数)和标签文件(提供每个体素的真实实例ID,用于评估无监督分解性能)。数据集提供两种颜色模式:distinct(每个物体使用不同色调,颜色本身即可识别实例)和palette(色调从固定8色调色板中独立重复抽取,物体可能共享颜色)。数据集格式与原始论文代码库的VoxelDataset完全兼容,包含预定义的80%训练、10%验证、10%测试划分。标签文件仅用于评估无监督分解指标(如FG-ARI、mBO、FG/BG IoU),模型训练为纯自监督重建任务。数据集附带可重现的生成脚本和设置文件,确保数据可完全复现。
GenericShapes-RGB is a synthetic RGB voxel dataset built specifically for reproducing the ICML 2026 paper 3D-DLP: Self-supervised 3D Object-centric Scene Representation Learning. It recreates the RGB color variant of the GenericShapes corpus described but not released in Appendix B.2 of the paper, following the protocol and generator structure provided by the authors. The dataset contains 40,000 tabletop scenes, each with 3-6 randomly placed geometric primitives (cube, sphere, cylinder, cone, capsule) with random sizes (6-14 cm) and random yaw angles, placed collision-free on a 0.8×0.6 meter plane. Point cloud surface sampling adds 2 mm Gaussian sensor noise, each object is assigned a per-scene saturated hue, and the tabletop is beige. The point cloud is voxelized into a 64³ avg_rgb grid using the VoxelGridXYZ from the papers codebase, with a fixed global bounding box from (-0.42,-0.32,-0.02) to (0.42,0.32,0.22) to ensure keypoint coordinates are comparable across scenes. Each scene includes three files: a voxel file (storing the sparse voxel grid), a metadata file (containing voxelization parameters), and a label file (providing ground-truth instance IDs per voxel for evaluating unsupervised decomposition performance). The dataset offers two color modes: distinct (each object uses a different hue, where color alone can identify instances) and palette (hues are independently and repeatedly sampled from a fixed 8-color palette, so objects may share colors). The dataset format is fully compatible with the original papers codebase VoxelDataset, and includes a predefined 80% training, 10% validation, and 10% test split. The label files are only used for evaluating unsupervised decomposition metrics (FG-ARI, mBO, FG/BG IoU), with model training being purely self-supervised reconstruction. The dataset comes with reproducible generation scripts and configuration files to ensure full data reproducibility.
数据集概述:GenericShapes-RGB
基本信息
- 数据集名称:GenericShapes-RGB
- 许可证:MIT
- 任务类别:图像分割(image-segmentation)
- 标签:object-centric, 3d, voxels, icml2026, open-reproductions, reproduction
- 数据规模:10K < n < 100K
- 发布地址:https://huggingface.co/datasets/rvt832/3d-dlp-repro-genericshapes-rgb
背景与用途
该数据集是为复现ICML 2026论文 《3D-DLP: Self-supervised 3D Object-centric Scene Representation Learning》(论文链接:https://arxiv.org/abs/2606.19451)而构建的合成训练/评估语料库。论文中描述的GenericShapes语料库(附录B.2)未公开,且作者发布的生成器仅生成无色的点云,本数据集根据论文协议和生成器结构,重新创建了论文中提及的“RGB彩色变体”。
数据内容
场景结构
- 总场景数:40,000个桌面场景
- 每场景物体:3-6个基本几何体(立方体/球体/圆柱体/圆锥体/胶囊体)
- 物体属性:随机尺度(6-14厘米)、随机偏航角、无碰撞放置
- 桌面尺寸:0.8 × 0.6 米平面桌
- 点云采样:表面采样至点云,加入2毫米高斯传感器噪声
- 颜色分配:每个物体赋予饱和的场景内色调,桌面为哑光灰褐色
- 体素化:点云被体素化为 64³
avg_rgb网格,全局边界固定为 (-0.42,-0.32,-0.02) 到 (0.42,0.32,0.22),确保关键点坐标跨场景可比
文件构成
| 文件 | 内容 |
|---|---|
NNNNNN_voxels.pt |
稀疏字典:{compressed, shape=(3,64,64,64), coords int16 [N,3], values fp16 [N,3]},可通过仓库的load_voxel() 扩展为稠密 [3,64,64,64] float32 |
NNNNNN_meta.pt |
包含 {W,H,D,pmin,pmax,voxel_size} 的元数据字典 |
NNNNNN_labels.pt |
真实体素实例ID:{coords, labels int16, shape},0 = 桌面/背景,1..K = 物体 |
标签文件用途
标签文件仅用于评估无监督分解结果(FG-ARI、mBO、FG/BG IoU),训练过程 train_dlp_voxel.py 完全不读取标签,训练为纯自监督重建。
数据划分
数据集采用确定的 0.8 / 0.1 / 0.1 训练/验证/测试划分,按排序后的ID进行,与论文所述比例一致。
颜色模式
数据集提供两种颜色模式,可通过 --colour-mode 参数选择:
| 模式 | 行为 | 重要性 |
|---|---|---|
distinct |
每个物体赋予不同的色调 | 颜色本身即可区分实例——在CIELAB上进行简单K-means聚类即可获得FG-ARI 0.932,远超模型性能 |
palette |
从固定的8色调色板中有放回地随机抽取色调 | 物体可能共享颜色,因此颜色本身无法区分实例 |
使用 palette 模式可以确保分割指标衡量的是分组能力而非颜色查找能力。
重要更正(2026-07-26)
首次发布的数据集不可复现。原始生成器调用 trimesh.sample_surface(...) 时未设置随机种子,导致表面采样依赖操作系统熵源,无法通过 --seed 参数复现。现已修复:生成器从自身RNG为每个物体派生显式种子,并验证了两次运行可达到字节级复现性。首次发布的Claim-1数据无法被任何人(包括作者)精确复现。
数据集生成
数据集随附 gen_genericshapes_rgb.py、settings.json 以及60个场景的 sample/ 样本。可通过以下命令复现全部40,000场景(约7.7 GB,32核心运行数分钟):
bash pip install torch trimesh numpy git clone https://github.com/Eubooks3003/3d-dlp.git repo for s in $(seq 0 31); do python gen_genericshapes_rgb.py --out genericshapes_rgb --scenes 1667 --start $((s*1667)) --seed $((1234+s)) --colour-mode distinct done; wait
复现日志
复现结果、训练好的模型检查点及完整方法描述详见: https://huggingface.co/spaces/rvt832/repro-3d-dlp-self-supervised-3d-object-centric-scene-representation-learning





