Update README and adapter code
Browse files
code/hb_groot/prepare_groot_data.py
CHANGED
|
@@ -43,15 +43,18 @@ TASKS = {
|
|
| 43 |
"a17": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # HF a17-unscrew-bottle-expert-v1 @407e6e2
|
| 44 |
"a18c2": (P / "a18-h2-dataset-audit-8e956a10/dataset", None), # A18, 2 cameras head + chest (user 2026-11-14 18:2x)
|
| 45 |
"a17c2": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # A17, 2 cameras head + chest (user 2026-11-14 18:2x)
|
|
|
|
|
|
|
| 46 |
"a14": (P / "a14-unscrew-bulb-v1-b4390fc/data", None), # HF a14-unscrew-bulb-expert-v1 @b4390fc (H2, 3 cameras)
|
| 47 |
"a14v2": (P / "a14-unscrew-bulb-v2-8411a6d/data", None), # HF a14-unscrew-bulb-expert-v2 @8411a6da: + action.planner (H2 guide 2026-11-14)
|
| 48 |
}
|
| 49 |
CONFIG = {"a18": "h2w3_body31_hand44_h16.py", "a17": "h2w3_body31_hand44_h16.py", "a14": "h2w3_body31_hand44_h16.py",
|
| 50 |
"a18c2": "h2_body31_hand44_h16.py", "a17c2": "h2_body31_hand44_h16.py",
|
|
|
|
| 51 |
"a14v2": "h2_body31_hand44_planner7_h16.py"} # 2026-11-14 H2 guide: action82 incl. the planner command
|
| 52 |
# model-input cameras per H2 task (user 2026-11-12 22:0x: EVERY H2 task uses head + chest + wrist; third_person never)
|
| 53 |
CAMS = {"a18": ("head", "chest", "wrist"), "a17": ("head", "chest", "wrist"), "a14": ("head", "chest", "wrist"),
|
| 54 |
-
"a18c2": ("head", "chest"), "a17c2": ("head", "chest"), "a14v2": ("head", "chest")} # 2026-11-14: 2-camera re-train (user)
|
| 55 |
PLANNER = {"a14v2"} # tasks whose action adds action.planner (7) after body_target + hands (H2 guide a14 2.2)
|
| 56 |
H2_GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29),
|
| 57 |
"head": (29, 31), "left_hand": (31, 53), "right_hand": (53, 75)}
|
|
|
|
| 43 |
"a17": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # HF a17-unscrew-bottle-expert-v1 @407e6e2
|
| 44 |
"a18c2": (P / "a18-h2-dataset-audit-8e956a10/dataset", None), # A18, 2 cameras head + chest (user 2026-11-14 18:2x)
|
| 45 |
"a17c2": (P / "a17-unscrew-bottle-v1-407e6e2/data", None), # A17, 2 cameras head + chest (user 2026-11-14 18:2x)
|
| 46 |
+
"a18cr2": (P / "a18-pour-water-cropped-v2-44cdd57/data", None), # HF a18-pour-water-expert-cropped-v2 @44cdd57, head + chest (user 2026-11-15)
|
| 47 |
+
"a17cr2": (P / "a17-unscrew-bottle-cropped-v2-3520b70/data", None), # HF a17-unscrew-bottle-expert-cropped-v2 @3520b70, head + chest (user 2026-11-15)
|
| 48 |
"a14": (P / "a14-unscrew-bulb-v1-b4390fc/data", None), # HF a14-unscrew-bulb-expert-v1 @b4390fc (H2, 3 cameras)
|
| 49 |
"a14v2": (P / "a14-unscrew-bulb-v2-8411a6d/data", None), # HF a14-unscrew-bulb-expert-v2 @8411a6da: + action.planner (H2 guide 2026-11-14)
|
| 50 |
}
|
| 51 |
CONFIG = {"a18": "h2w3_body31_hand44_h16.py", "a17": "h2w3_body31_hand44_h16.py", "a14": "h2w3_body31_hand44_h16.py",
|
| 52 |
"a18c2": "h2_body31_hand44_h16.py", "a17c2": "h2_body31_hand44_h16.py",
|
| 53 |
+
"a18cr2": "h2_body31_hand44_h16.py", "a17cr2": "h2_body31_hand44_h16.py",
|
| 54 |
"a14v2": "h2_body31_hand44_planner7_h16.py"} # 2026-11-14 H2 guide: action82 incl. the planner command
|
| 55 |
# model-input cameras per H2 task (user 2026-11-12 22:0x: EVERY H2 task uses head + chest + wrist; third_person never)
|
| 56 |
CAMS = {"a18": ("head", "chest", "wrist"), "a17": ("head", "chest", "wrist"), "a14": ("head", "chest", "wrist"),
|
| 57 |
+
"a18c2": ("head", "chest"), "a17c2": ("head", "chest"), "a18cr2": ("head", "chest"), "a17cr2": ("head", "chest"), "a14v2": ("head", "chest")} # 2026-11-14: 2-camera re-train (user)
|
| 58 |
PLANNER = {"a14v2"} # tasks whose action adds action.planner (7) after body_target + hands (H2 guide a14 2.2)
|
| 59 |
H2_GROUPS = {"left_leg": (0, 6), "right_leg": (6, 12), "waist": (12, 15), "left_arm": (15, 22), "right_arm": (22, 29),
|
| 60 |
"head": (29, 31), "left_hand": (31, 53), "right_hand": (53, 75)}
|
code/hb_groot/verify_groot_cpu.py
CHANGED
|
@@ -19,7 +19,7 @@ view = Path(sys.argv[1])
|
|
| 19 |
if view.name == "a14v2": # 2026-11-14 H2 guide: head + chest, action82 = body_target + hands + planner
|
| 20 |
import h2_body31_hand44_planner7_h16 as C # noqa: E402
|
| 21 |
cfg = C.h2_body31_hand44_planner7_h16
|
| 22 |
-
elif view.name in ("a18c2", "a17c2"): # 2026-11-14: H2 2-camera re-train (head + chest)
|
| 23 |
import h2_body31_hand44_h16 as C # noqa: E402
|
| 24 |
cfg = next(v for k, v in vars(C).items() if isinstance(v, dict) and "video" in v)
|
| 25 |
elif view.name in ("a14", "a18", "a17"): # every H2 task: 3 cameras head + chest + wrist (user 2026-11-12)
|
|
|
|
| 19 |
if view.name == "a14v2": # 2026-11-14 H2 guide: head + chest, action82 = body_target + hands + planner
|
| 20 |
import h2_body31_hand44_planner7_h16 as C # noqa: E402
|
| 21 |
cfg = C.h2_body31_hand44_planner7_h16
|
| 22 |
+
elif view.name in ("a18c2", "a17c2", "a18cr2", "a17cr2"): # 2026-11-14: H2 2-camera re-train (head + chest)
|
| 23 |
import h2_body31_hand44_h16 as C # noqa: E402
|
| 24 |
cfg = next(v for k, v in vars(C).items() if isinstance(v, dict) and "video" in v)
|
| 25 |
elif view.name in ("a14", "a18", "a17"): # every H2 task: 3 cameras head + chest + wrist (user 2026-11-12)
|