| ---
|
| dataset_info:
|
| features:
|
| - name: query
|
| dtype: string
|
| - name: image
|
| dtype: image
|
| - name: annot
|
| dtype: string
|
| - name: reasoning
|
| dtype: string
|
| - name: cate
|
| dtype: string
|
| - name: task
|
| dtype: string
|
| - name: metadata
|
| dtype: string
|
| splits:
|
| - name: train
|
| num_bytes: 53239990
|
| num_examples: 866
|
| download_size: 52205071
|
| dataset_size: 53239990
|
| configs:
|
| - config_name: default
|
| data_files:
|
| - split: train
|
| path: data/train-*
|
| pretty_name: ESB (Engineering Shape Benchmark)
|
| extra_gated_fields:
|
| Name: text
|
| Affiliation: text
|
| Intended use: text
|
| tags:
|
| - smart-manufacturing
|
| - cad
|
| - shape-classification
|
| - industrial
|
| license: other
|
| extra_gated_prompt: Released for research use; access granted manually. State your
|
| name, affiliation, and intended use.
|
| ---
|
| # ESB — Engineering Shape Benchmark (机械形状分类)
|
|
|
| Purdue Engineering Shape Benchmark,机械零件 3D 形状分类基准(原论文其实是 3D 形状**检索** benchmark,
|
| 分类是社区二次用途)。已转为团队统一 7 字段 SFT schema。
|
|
|
| ## ⚠ 数字对账(本库以**实测**为准,文献三套口径并列供查)
|
|
|
| | | Purdue 官网 / MCB 对比表 | arXiv 1701.04249 | CADNET(剔 3 个 Miscellaneous) | **本库实测** |
|
| |---|---|---|---|---|
|
| | 模型数 | 867 | 866 | 801 | **866** |
|
| | 细类数 | 45 | 45 | 42 | **43** |
|
|
|
| - 867 是 Purdue 官网和 MCB 对比表直接写的数;866 只出自 arXiv 1701.04249 一家;两者差的那 1 个模型无人解释。
|
| - 本库此前一次解包实测 718,与上面任何一个口径都对不上(差近 150 个),**原因未查明**——
|
| 可能是 tar.gz 没解全或目录缺失。转换器**每次运行都会逐细类打印模型数**(运行时校验),
|
| 按打印出的表跟文献逐类对账;总数对不上 867/866 时转换器**默认拒绝上传**
|
| (人工对完账后需显式设 `ESB_ACK_COUNT_MISMATCH=1` 才放行)。
|
| - 细类数旧脚本里出现过 37/35 两个互相矛盾的手写数,均已删除,**只信运行时打印**。
|
|
|
| 超类分布:{'Flat-Thin Wallcomponents': 107, 'Rectangular-Cubic Prism': 281, 'Solid Of Revolution': 478}
|
|
|
| 各细类模型数(本次运行实测):
|
|
|
| | 超类 | 细类 | 模型数 |
|
| |---|---|---|
|
| | `Flat-Thin Wallcomponents` | `Back Doors` | 7 |
|
| | `Flat-Thin Wallcomponents` | `Bracket like Parts` | 18 |
|
| | `Flat-Thin Wallcomponents` | `Clips` | 4 |
|
| | `Flat-Thin Wallcomponents` | `Contact Switches` | 8 |
|
| | `Flat-Thin Wallcomponents` | `Curved Housings` | 9 |
|
| | `Flat-Thin Wallcomponents` | `Miscellaneous` | 12 |
|
| | `Flat-Thin Wallcomponents` | `Rectangular Housings` | 14 |
|
| | `Flat-Thin Wallcomponents` | `Slender Thin Plates` | 12 |
|
| | `Flat-Thin Wallcomponents` | `Thin Plates` | 23 |
|
| | `Rectangular-Cubic Prism` | `Bearing Blocks` | 7 |
|
| | `Rectangular-Cubic Prism` | `Contoured Surfaces` | 5 |
|
| | `Rectangular-Cubic Prism` | `Handles` | 18 |
|
| | `Rectangular-Cubic Prism` | `L Blocks` | 7 |
|
| | `Rectangular-Cubic Prism` | `Long Machine Elements` | 15 |
|
| | `Rectangular-Cubic Prism` | `Machined Blocks` | 9 |
|
| | `Rectangular-Cubic Prism` | `Machined Plates` | 49 |
|
| | `Rectangular-Cubic Prism` | `Miscellaneous` | 21 |
|
| | `Rectangular-Cubic Prism` | `Motor Bodies` | 7 |
|
| | `Rectangular-Cubic Prism` | `Prismatic Stock` | 36 |
|
| | `Rectangular-Cubic Prism` | `Rocker Arms` | 10 |
|
| | `Rectangular-Cubic Prism` | `Slender Links` | 13 |
|
| | `Rectangular-Cubic Prism` | `Small Machined Blocks` | 12 |
|
| | `Rectangular-Cubic Prism` | `T shaped parts` | 15 |
|
| | `Rectangular-Cubic Prism` | `Thick Plates` | 12 |
|
| | `Rectangular-Cubic Prism` | `Thick Slotted plates` | 20 |
|
| | `Rectangular-Cubic Prism` | `U shaped parts` | 25 |
|
| | `Solid Of Revolution` | `90 degree elbows` | 41 |
|
| | `Solid Of Revolution` | `Bearing Like Parts` | 20 |
|
| | `Solid Of Revolution` | `Bolt Like Parts` | 53 |
|
| | `Solid Of Revolution` | `Container Like Parts` | 10 |
|
| | `Solid Of Revolution` | `Cylindrical Parts` | 43 |
|
| | `Solid Of Revolution` | `Discs` | 51 |
|
| | `Solid Of Revolution` | `Flange Like Parts` | 14 |
|
| | `Solid Of Revolution` | `Gear like Parts` | 36 |
|
| | `Solid Of Revolution` | `Intersecting Pipes` | 9 |
|
| | `Solid Of Revolution` | `Long Pins` | 58 |
|
| | `Solid Of Revolution` | `Miscellaneous` | 33 |
|
| | `Solid Of Revolution` | `Non-90 degree elbows` | 8 |
|
| | `Solid Of Revolution` | `Nuts` | 19 |
|
| | `Solid Of Revolution` | `Oil Pans` | 8 |
|
| | `Solid Of Revolution` | `Posts` | 11 |
|
| | `Solid Of Revolution` | `Pulley Like Parts` | 12 |
|
| | `Solid Of Revolution` | `Round Change At End` | 21 |
|
| | `Solid Of Revolution` | `Simple Pipes` | 16 |
|
| | `Solid Of Revolution` | `Spoked Wheels` | 15 |
|
|
|
| ## ⚠ Miscellaneous 兜底类(本库保留)
|
|
|
| ESB 的 3 个超类各带一个 **Miscellaneous** 兜底类——按定义就是"塞不进别的类的东西",类内无共性,
|
| 是文献里公认的主要混淆来源。CADNET 直接删掉这 3 个类才得到 801 模型 / 42 类。
|
| **本库按原始目录原样保留**(本次运行实测:{'Flat-Thin Wallcomponents/Miscellaneous': 12, 'Rectangular-Cubic Prism/Miscellaneous': 21, 'Solid Of Revolution/Miscellaneous': 33})。
|
| ⚠ 口径提醒:保留 Miscellaneous 的 45 类口径数字与 CADNET 42 类口径的数字**不能互比**。
|
|
|
| ## 数据说明
|
| - **每个模型自带 800×600 的渲染 JPG** → 本库 `image` 直接用它,**无需额外渲染**。
|
| - **样本单位是模型级**(一模型一张发行包 JPG)。CADNET 那条社区主流线是把一个模型渲成 20 张视图、
|
| 逐视图算 accuracy——两边的准确率数字**不能互比**。
|
| - `annot` 就是**原始细类目录名**(数据集里没有任何 label 文件/csv,目录名是标签唯一载体),
|
| 评测端需**按原样精确匹配**。类名高度近义(Thin_Plates / Thick_Plates / Slender_Thin_Plates、
|
| Posts / Long_Pins),故 `query` 里注入了**全量闭集类名列表**(运行时从实际目录扫描生成,非手写)。
|
| - OBJ / STL 网格路径记录在 `metadata.obj_file` / `metadata.stl_file`(本库未内联网格)。
|
| - **发行包自带 2 个官方标记的损坏文件,已剔除**并记录:['Solid Of Revolution/Flange Like Parts/FLANGE.JPG.corrupt', 'Solid Of Revolution/Flange Like Parts/FLANGE.STL.corrupt']
|
| ⚠ 剔除方式:`.corrupt` 文件不会被 `*.JPG` 扫描命中,所以 **JPG 损坏的模型是整条记录被丢掉**
|
| (不是只丢图);仅网格损坏而 JPG 完好的模型保留记录、对应网格路径为 null。
|
| 转换器运行时会逐个打印每个损坏文件对应的模型是否仍有记录。
|
| - **无官方 train/test split**(原论文是 leave-one-out 检索;所有分类划分都是各家自定、互不兼容)。
|
|
|
| ## Schema
|
| `query`(分类提示, 含全量闭集类名) · `image`(模型渲染 JPG) · `annot`(细类名=原始目录名) · `reasoning`(null) ·
|
| `cate`=`B` / `task`=**`T-B4`** · `metadata`(model, superclass, fine_class, obj/stl 路径)
|
|
|
| > **task 码依据(照团队官方文档)**:`sft_task_merge_plan_v3` 定义 **`T-B4` = CAD & 3D Geometry
|
| > Understanding(cate B)**,输出 `feature JSON / geometry`。
|
| > ⚠ ESB 是**整体形状分类**(把零件归到 Flange_Like_Parts / Gear_like_Parts 等),并非文档 T-B4
|
| > 描述的 *"recognize machining features (names + counts)"*,**归类属判断而非文档直指,请团队复核**。
|
|
|
| ## Load
|
| ```python
|
| from datasets import load_dataset
|
| ds = load_dataset("AI4Manufacturing/esb")
|
| ```
|
| _Gated — request access; granted manually._
|
|
|
| ## Provenance
|
| - 源:https://engineering.purdue.edu/cdesign/wp/downloads/ (3 个超类 tar.gz,需手动下载)
|
| - 论文:Jayanti, Kalyanaraman, Iyer, Ramani, *Developing an engineering shape benchmark for CAD models*, CAD 2006.
|
| - 许可:**源站未声明任何 license / 使用条款**(下载页对 3 个 tar.gz 完全空白)。
|
| 本团队以研究用途(非商用)使用并在此如实标注;**商用前需法务确认**。
|
| 下游 CADNET 清洗版为 CC BY-NC-SA 4.0(禁商用),本库未走 CADNET 那条路、直接用 Purdue 原始发行包。
|
| 请引用上游论文。
|
|
|