oopsie-debug
Diffusion Policy (image, UNet) checkpoints trained with train.py of
https://github.com/KuanchengWang/oopsie (branch dp-teleop-block) on Franka teleop data.
swap-animal/
Dataset teleop_dataset_20260922_211038 (40 episodes, 15840 steps @ 10 Hz, all demos in
training, no held-out validation). 3000-epoch run started 2026-09-23 (batch 64, ~244
steps/epoch); the run keeps only latest.ckpt, so snapshots are taken when it passes the
listed epochs. Loss values are in-sample train loss.
| file | epoch | mean train loss |
|---|---|---|
| swap-animal/epoch_1600.ckpt | 1600 | 0.0005 |
(epochs 500 / 1000 / 1500 were overwritten before a copy could be taken; epochs 2000 / 2500 /
3000 will be added as the run passes them.) swap-animal/config.yaml is the resolved training
config. The checkpoint's task.dataset.quat_order is wxyz (the corrected quaternion
handling; see the repo README).
Each .ckpt is a full training checkpoint (state_dicts: model, ema_model, optimizer;
pickles: epoch, global_step, rng_state; cfg), loadable with
torch.load(path, pickle_module=dill, map_location='cpu', weights_only=False).
Use state_dicts['ema_model'] for inference, or roll it out with
eval_real_robot_panda_realsense_teleop_block.py -i <ckpt>.
Observation / action contract
- obs:
img_third,img_wrist(3x120x160 RGB, INTER_AREA from 480x640 BGR),robot_eef_pose(9-D: xyz + rotation_6d from the stored (w,x,y,z) quaternion),gripper_state(width m); n_obs_steps 2. - action (10-D):
[x, y, z, rot6d(6), gripper width]= pose/gripper of frame t+1; horizon 16, 8 executed. - Normalization: position min/max -> [-1,1]; rotation_6d identity; gripper fixed [0, 0.08] m -> [-1,1].
The teleop-block checkpoints previously stored at the repo root were removed on 2026-09-23.
DP on the 40-episode real-robot datasets (2026-12-02): put-back-v2-markov40/, swap-block-v2-markov40/, swap-utensils-markov40/
Vanilla Diffusion Policy (ResNet18 image encoders + 1-D UNet, DDPM 100 steps) trained with diffusion_policy (the real-robot DP recipe of the
reactive-memory project, NOT the oopsie dp-teleop-block recipe above), one model per dataset, all 40 episodes in training (no validation),
1001 epochs (indices 0 .. 1000), batch 256, AdamW 1e-4 with cosine decay, EMA. The checkpoint is the last epoch. Each dataset is a cut of a longer
real put_back_v2 / swap_block_v2 / swap_utensils dataset that ends after the first sub-task, so the right action depends on the present frame only.
| folder | task | data | file | workspace epoch |
|---|---|---|---|---|
put-back-v2-markov40/ |
A block starts on one of four mats (right, front, left next to the button, back). The robot picks it up, places it in the middle, then presses the button. Episodes end right after the press, the arm lifted above the button (the original episodes went on to return the block; that part is cut). | 40 episodes, 10 per starting mat, 7,904 frames, 159 to 230 frames each | latest_epoch_1000.ckpt |
1000 (global step 30029) |
swap-block-v2-markov40/ |
Three mats in a row to the right of a red button; two blocks (beige, blue) on two of them, one side mat empty. The robot moves the block on the middle mat onto the empty side mat, then presses the button. Episodes end right after the press (the original episodes went on to finish the swap; that part is cut). Every episode ends with beige block left, middle mat empty, blue block right. | 40 episodes, 20 with the right mat empty (blue block moves middle to right), 20 with the left mat empty (beige block moves middle to left), 8,056 frames, 165 to 253 frames each | latest_epoch_1000.ckpt |
1000 (global step 31030) |
swap-utensils-markov40/ |
The white bowl on the mat holds either the black fork or the white knife (the other utensil already lies on its side), and a toy chicken sits in a small metal dish behind the mat. The robot takes the utensil out of the white bowl and lays it on its own side (fork right, knife left), then puts the chicken into the white bowl. Episodes end with the arm lifted above the white bowl (the original episodes went on to move the other utensil; that part is cut). Every episode ends with knife left, fork right, chicken in the white bowl. | 40 episodes, 20 with the fork in the white bowl, 20 with the knife, 9,928 frames, 203 to 289 frames each | latest_epoch_1000.ckpt |
1000 (global step 38037) |
Observation / action contract of these three folders (different from the oopsie contract above): obs img_third, img_wrist = 96 x 96 frames
(raw 640 x 480 BGR -> cv2.resize 180 x 180 INTER_LINEAR -> 96 x 96 INTER_AREA, channel order kept as BGR, random 84 x 84 crop in training, centre crop
at inference), robot_eef_pose 7-D (xyz in m + quaternion w, x, y, z), gripper +1 open / -1 closed (gripper width >= 0.04 m); n_obs_steps 1.
action 8-D = absolute target [x, y, z, qw, qx, qy, qz, gripper > 0 open] of steps t+1 .. t+16 (n_latency_steps 1), the first 8 executed at 10 Hz.
config.yaml is the run's Hydra config. Load as above: torch.load(path, pickle_module=dill, map_location="cpu", weights_only=False),
state_dicts["ema_model"] for inference. On the robot the reactive-memory DP runtime samples with DDIM 16 steps.