add dataset card
Browse files
README.md
CHANGED
|
@@ -1,45 +1,65 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: feature_tags
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: feature_count
|
| 17 |
-
dtype: int64
|
| 18 |
-
- name: ops_used
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: gt_code
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: composite_png
|
| 23 |
-
dtype: image
|
| 24 |
-
splits:
|
| 25 |
-
- name: test_iid
|
| 26 |
-
num_bytes: 5985497
|
| 27 |
-
num_examples: 258
|
| 28 |
-
- name: test_ood_family
|
| 29 |
-
num_bytes: 6942475
|
| 30 |
-
num_examples: 268
|
| 31 |
-
- name: test_ood_plane
|
| 32 |
-
num_bytes: 10288487
|
| 33 |
-
num_examples: 468
|
| 34 |
-
download_size: 22235644
|
| 35 |
-
dataset_size: 23216459
|
| 36 |
-
configs:
|
| 37 |
-
- config_name: default
|
| 38 |
-
data_files:
|
| 39 |
-
- split: test_iid
|
| 40 |
-
path: data/test_iid-*
|
| 41 |
-
- split: test_ood_family
|
| 42 |
-
path: data/test_ood_family-*
|
| 43 |
-
- split: test_ood_plane
|
| 44 |
-
path: data/test_ood_plane-*
|
| 45 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- image-to-3d
|
| 5 |
+
- text-generation
|
| 6 |
+
tags:
|
| 7 |
+
- cad
|
| 8 |
+
- cadquery
|
| 9 |
+
- synthetic
|
| 10 |
+
- benchmark
|
| 11 |
+
size_categories:
|
| 12 |
+
- 1K<n<10K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
# CAD Synthesis Benchmark — test_bench
|
| 16 |
+
|
| 17 |
+
Small-scale benchmark for **image → CadQuery code** generation.
|
| 18 |
+
|
| 19 |
+
**Task**: Given rendered views of an industrial part, generate CadQuery code that reproduces it.
|
| 20 |
+
|
| 21 |
+
**Evaluation**: Execute code → export STEP → compute IoU vs GT STEP.
|
| 22 |
+
|
| 23 |
+
## Splits
|
| 24 |
+
|
| 25 |
+
| Split | Families | Description |
|
| 26 |
+
|-------|----------|-------------|
|
| 27 |
+
| `test-iid` | 54 train families, XY plane | In-distribution test |
|
| 28 |
+
| `test-ood-family` | 19 held-out families | Family generalization |
|
| 29 |
+
| `test-ood-plane` | 54 train families, XZ/YZ | View generalization |
|
| 30 |
+
|
| 31 |
+
OOD families: `bellows`, `worm_screw`, `torus_link`, `impeller`, `propeller`,
|
| 32 |
+
`chair`, `table`, `snap_clip`, `waffle_plate`, `wire_grid`, `mesh_panel`,
|
| 33 |
+
`t_pipe_fitting`, `pipe_elbow`, `duct_elbow`, `dome_cap`, `capsule`,
|
| 34 |
+
`coil_spring`, `bucket`, `nozzle`
|
| 35 |
+
|
| 36 |
+
## Sample Fields (bench_manifest.jsonl)
|
| 37 |
+
|
| 38 |
+
```json
|
| 39 |
+
{
|
| 40 |
+
"stem": "synth_handwheel_000042_s9999",
|
| 41 |
+
"family": "handwheel",
|
| 42 |
+
"difficulty": "easy",
|
| 43 |
+
"base_plane": "XY",
|
| 44 |
+
"split": "test-iid",
|
| 45 |
+
"feature_tags": {"has_hole": true, "has_fillet": false, "has_chamfer": false},
|
| 46 |
+
"feature_count": 1,
|
| 47 |
+
"ops_used": ["circle", "extrude", "union", "cut"],
|
| 48 |
+
"gt_code_path": "data/test-iid/synth_handwheel_000042_s9999/code.py",
|
| 49 |
+
"gt_step_path": "data/test-iid/synth_handwheel_000042_s9999/gen.step",
|
| 50 |
+
"composite_png": "data/test-iid/synth_handwheel_000042_s9999/views/composite.png"
|
| 51 |
+
}
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
## Metrics
|
| 55 |
+
|
| 56 |
+
- `exec_ok`: code executes (0/1)
|
| 57 |
+
- `iou`: voxel IoU vs GT STEP
|
| 58 |
+
- `feature_f1`: F1 of feature_tags (hole/fillet/chamfer/slot)
|
| 59 |
+
- `detail_score`: `0.4 × iou + 0.6 × feature_f1` (primary ranking metric)
|
| 60 |
+
|
| 61 |
+
## Generation
|
| 62 |
+
|
| 63 |
+
- Pipeline: `cad_synth` (73 families, parametric, multi-plane)
|
| 64 |
+
- Seed: 9999 (held out from training seed 1337)
|
| 65 |
+
- Rendered: 4-view normalized PNGs + 2×2 composite
|