progress_probe_repro / docs /primitive_annotation_protocol.md
JackieMM's picture
Upload folder using huggingface_hub
254dae9 verified
|
Raw History Blame Contribute Delete
2.23 kB

Primitive Annotation Protocol (v4)

Task pilot: blocks_ranking_rgb β€” 5 trainable manipulation classes.

Classes

Label ID Definition
reach 0 Open-gripper movement toward the next grasp target (approach before closing).
grasp 1 Closing the gripper and establishing a stable grasp on the block.
transition 2 Moving while holding the object (carry / transport to the place pose).
release 3 Opening the gripper at the target to let go of the block.
retract 4 After release, lifting / moving away with an open gripper before the next reach. Last cycle: retract runs to episode end.

Unlabeled gaps in segment coverage use ID -1 internally but are not a trainable class.

Typical sequence (3 pick-place cycles)

reach β†’ grasp β†’ transition β†’ release β†’ retract
reach β†’ grasp β†’ transition β†’ release β†’ retract
reach β†’ grasp β†’ transition β†’ release β†’ retract   (retract to end of episode)

Annotation rules

  1. Labels are stored on video frame indices; training maps frames β†’ concept timesteps.
  2. full_label and womae_label share the same annotation per episode.
  3. Do not use transition as a catch-all for all motion β€” only while gripping.
  4. Do not use reach for post-release lift-away; that is retract.
  5. Trailing frames after the last release are retract, not ignored.

Dual-arm (blocks_ranking_rgb)

Three blocks per episode; left/right arms split blocks randomly (e.g. L2+R1). Proposal reads endpose/left_gripper and endpose/right_gripper separately and picks three grasp cycles across arms β€” never OR-combining grippers.

Proposal heuristic (propose-primitive-labels)

Per cycle: reach β†’ grasp β†’ transition β†’ release β†’ retract.

  • retract ends REACH_PREGRASP_FRAMES (30) before the next close, or at episode end for the last cycle.
  • Open gripper after release β†’ retract until next approach window β†’ reach
  • Close event β†’ short grasp window β†’ transition while closed
  • Open event β†’ short release window β†’ retract

Proposal is an assist only; audit before formal results.