Dimios45 commited on
Commit
b9c7e28
·
verified ·
1 Parent(s): 80514f6

Mark deploy patches as applied; add RealSense camera setup and gripper-convention check

Browse files
Files changed (1) hide show
  1. README.md +18 -11
README.md CHANGED
@@ -96,17 +96,24 @@ the demonstrated range, so it does **not** need the gripper clamp the B-spline v
96
 
97
  ## Deployment
98
 
99
- Environment setup, arm bring-up, and the five repo patches for joint-space actions are identical
100
- to the [B-spline model card](https://huggingface.co/Dimios45/yam-duster-bspline-dp) — follow
101
- steps 1, 3 and 4 there. The clamp in `decode_action_vector` is harmless here and worth keeping
102
- anyway.
103
-
104
- Those patches are needed because the upstream rollout path decodes **end-effector** actions (its
105
- iPhone teleop records EE poses), while this model predicts **joints**. That is a difference in
106
- what was recorded, not in the LeRobot file format. Note also that a missing `top_image` key does
107
- not raise `policy_local_bspline.py:625-629` feeds a black frame instead, so skipping the camera
108
- edit produces a half-blind policy rather than an error. Image resolution needs no change; the
109
- rollout resizes from the checkpoint's `shape_meta` automatically.
 
 
 
 
 
 
 
110
 
111
  ```bash
112
  hf download Dimios45/yam-duster-dp deploy_ema.ckpt --local-dir ./ckpt
 
96
 
97
  ## Deployment
98
 
99
+ Environment setup, camera configuration, arm bring-up, and the five repo patches for joint-space
100
+ actions are identical to the
101
+ [B-spline model card](https://huggingface.co/Dimios45/yam-duster-bspline-dp) follow steps 1–4
102
+ there. Those patches are **applied and verified** in the working tree these models were trained
103
+ from, but are **not** in upstream `B-spline-policy/bspline-policy`; apply them yourself if you
104
+ start from upstream. The gripper clamp in `decode_action_vector` is unnecessary for this model
105
+ (see below) but harmless and worth keeping.
106
+
107
+ They are needed because the upstream rollout path decodes **end-effector** actions (its iPhone
108
+ teleop records EE poses), while this model predicts **joints** a difference in what was
109
+ recorded, not in the LeRobot file format. Two things carry over unchanged: a missing `top_image`
110
+ does not raise (`policy_local_bspline.py:625-629` feeds a black frame, so a dead camera yields a
111
+ half-blind policy rather than an error), and image resolution needs no change because the rollout
112
+ resizes from the checkpoint's `shape_meta`. The top camera is an Intel RealSense; use
113
+ `TOP_CAMERA_TYPE = 'realsense'` so the RGB pipeline matches training.
114
+
115
+ The gripper-convention check in the B-spline card applies here too — verify it before the first
116
+ rollout, or the policy will open to grasp and close to release.
117
 
118
  ```bash
119
  hf download Dimios45/yam-duster-dp deploy_ema.ckpt --local-dir ./ckpt