AuroraRyan commited on
Commit
dba807e
·
verified ·
1 Parent(s): 7ddf044

Dataset card

Browse files
Files changed (1) hide show
  1. README.md +30 -28
README.md CHANGED
@@ -35,17 +35,27 @@ configs:
35
 
36
  # EditHero data
37
 
38
- EditHero is a benchmark for long-horizon, part-level 3D editing. Each chain starts from a textured, part-segmented host object and
39
- applies a sequence of edits (add, remove, replace, retexture), each with a natural-language instruction and an exact target state.
40
- 457 chains, 2,755 edits, 3,212 states, 252 host objects.
 
41
 
42
- Paper and project page: https://alaya-lab.github.io/EditHero/. Code (data engine, rebuild, render script):
43
  https://github.com/AlayaLab/EditHero.
44
 
 
 
 
 
 
 
 
 
 
45
  ## Browse
46
 
47
- The dataset viewer above shows every edit (2,755 rows): chain, turn, operation, the cond view of the state before and after the
48
- edit, the mask of the edited parts in that view, and the instruction. The same table is in `preview/*.parquet`:
49
 
50
  ```python
51
  from datasets import load_dataset
@@ -56,8 +66,9 @@ edits = load_dataset("AlayaLab/EditHero", "edits", split="test")
56
 
57
  ## Download
58
 
59
- Everything except the index files and the captions comes as uncompressed tars, one per chain family (A, G, M, P, R, X), per part source, and one for the annotation files.
60
- Download what you need and extract it in the same folder; the tars recreate the `data/` layout below.
 
61
 
62
  ```bash
63
  huggingface-cli download AlayaLab/EditHero --repo-type dataset --local-dir EditHero
@@ -66,7 +77,6 @@ cd EditHero && for t in data/*/*.tar; do tar -xf "$t" && rm "$t"; done
66
  huggingface-cli download AlayaLab/EditHero --repo-type dataset --local-dir EditHero --include "data/renders/*" "data/part_masks/*" "data/*.json"
67
  ```
68
 
69
-
70
  ## Layout
71
 
72
  | Path | Contents |
@@ -83,27 +93,19 @@ huggingface-cli download AlayaLab/EditHero --repo-type dataset --local-dir EditH
83
  | `data/annotations/assembly/A/<chain>/` | Every intermediate file of the 97 family-A chains that assemble a host from its own parts: planner input (`parts.json`), assembly plan (`plan.json`), annotator brief, Qwen draft, agent revision, left/right check, relational rewrite and Qwen check of the instructions (shipped as `data/annotations/assembly.tar`). The pipeline and its prompts are in the code repository (`part_assembly/annotate/`) |
84
  | `ATTRIBUTION.csv` | Every source object: uid, source, title, author, URL, license, chains that use it |
85
 
86
- An editing method gets the instruction and, if it takes an image, the `cond` view of the target state. The `heldout` views are for
87
- checking the result from angles the method never saw.
88
-
89
- ## Rebuild and render
90
-
91
- The states and renders are included, so nothing has to be rebuilt to use the data. To regenerate a chain from its recipe and verify
92
- it with the code repository:
93
-
94
- ```bash
95
- python part_assembly/tools/assemble.py --pv-root data/parts/partverse_xl --hy3d-root data/parts/hy3d \
96
- --chain data/recipes/A/1a3267df_s0 --out out/A_1a3267df_s0
97
- # PASS A/1a3267df_s0 (verified vs checks.json)
98
- ```
99
 
100
- The instructions in `chains.json` were rewritten from the engine's template sentences (kept in every recipe record as
101
- `instruction_original`) by the rules in the code repository's `docs/INSTRUCTIONS.md`, and reviewed by us.
102
 
103
- Every state is verified node by node (vertex count, sum of |v|, texture hashes) against `checks.json`. All renders were made with
104
- [blender_kit](https://github.com/AuroraRyan0301/Blender-Visualization-Skill) (Blender 4.2, Cycles); `scripts/render_state.py` in
105
- the code repository renders any state, or your own edited GLB, with a chain's rig. If blender_kit saves you an afternoon of arguing
106
- with Blender, a ⭐ on it would make its author's day.
 
 
 
 
 
107
 
108
  ## Licenses
109
 
 
35
 
36
  # EditHero data
37
 
38
+ EditHero is a benchmark for long-horizon, part-level 3D editing. Each chain starts from a textured, part-segmented host
39
+ object and applies a sequence of edits (add, remove, replace, retexture), each with a natural-language instruction and
40
+ an exact target state. 457 chains, 2,755 edits, 3,212 states, 252 host objects, in six families: A (additions), P (replacements),
41
+ R (removals), M (material changes), G (mixed geometry edits) and X (geometry and material edits mixed).
42
 
43
+ Paper and project page: https://alaya-lab.github.io/EditHero/. Code (data engine, rebuild, rendering, annotation):
44
  https://github.com/AlayaLab/EditHero.
45
 
46
+ ## What is in a chain
47
+
48
+ For every turn: the instruction (English and Chinese), the 3D state after the turn (GLB), renders of that state from
49
+ four fixed views, and masks of the parts the turn edited. For the chain: the recipe that rebuilds every state exactly
50
+ from the parts, and the source objects with their licenses.
51
+
52
+ An editing method gets the instruction and, if it takes an image, the `cond` view (view 0) of the target state. The
53
+ three `heldout` views are for checking the result from angles the method never saw.
54
+
55
  ## Browse
56
 
57
+ The dataset viewer above shows every edit (2,755 rows): chain, turn, operation, the cond view of the state before and
58
+ after the edit, the mask of the edited parts in that view, and the instruction. The same table is in `preview/*.parquet`:
59
 
60
  ```python
61
  from datasets import load_dataset
 
66
 
67
  ## Download
68
 
69
+ The index files and captions are plain files; everything else comes as uncompressed tars, one per chain family
70
+ (A, G, M, P, R, X), one per part source and one for the annotation files. Extract them in the same folder; the tars
71
+ recreate the `data/` layout below.
72
 
73
  ```bash
74
  huggingface-cli download AlayaLab/EditHero --repo-type dataset --local-dir EditHero
 
77
  huggingface-cli download AlayaLab/EditHero --repo-type dataset --local-dir EditHero --include "data/renders/*" "data/part_masks/*" "data/*.json"
78
  ```
79
 
 
80
  ## Layout
81
 
82
  | Path | Contents |
 
93
  | `data/annotations/assembly/A/<chain>/` | Every intermediate file of the 97 family-A chains that assemble a host from its own parts: planner input (`parts.json`), assembly plan (`plan.json`), annotator brief, Qwen draft, agent revision, left/right check, relational rewrite and Qwen check of the instructions (shipped as `data/annotations/assembly.tar`). The pipeline and its prompts are in the code repository (`part_assembly/annotate/`) |
94
  | `ATTRIBUTION.csv` | Every source object: uid, source, title, author, URL, license, chains that use it |
95
 
96
+ ## Rebuild, render, build new chains
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
+ Everything below uses the code repository (https://github.com/AlayaLab/EditHero).
 
99
 
100
+ - **Rebuild and verify.** `bash jobs/rebuild_all.sh EditHero/data out/` regenerates every state from its recipe and checks
101
+ it node by node (vertex count, sum of |v|, texture hashes) against `checks.json`.
102
+ - **Render.** `scripts/render_state.py` renders any state, or your own edited GLB, with a chain's four-view rig, exactly
103
+ like the renders here. All renders were made with [blender_kit](https://github.com/AuroraRyan0301/Blender-Visualization-Skill)
104
+ (Blender 4.2, Cycles). If it saves you an afternoon of arguing with Blender, a ⭐ on it would make its author's day.
105
+ - **Build new chains.** The data engine builds chains on any part-segmented host, with the part library and the captions
106
+ of this dataset: `docs/DATA_ENGINE.md` in the code repository walks through it step by step.
107
+ - **Instructions.** The instructions were rewritten from the engine's template sentences (kept in every recipe record as
108
+ `instruction_original`) by the rules in `docs/INSTRUCTIONS.md`.
109
 
110
  ## Licenses
111