Aether258 commited on
Commit
d7cc3e1
·
verified ·
1 Parent(s): 21205f9

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +103 -0
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ library_name: lerobot
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - lerobot
9
+ - robotics
10
+ - manipulation
11
+ - pi0
12
+ - single-arm
13
+ ---
14
+
15
+ # pi05_single — insert_01, step 2000
16
+
17
+ openpi `pi05_single` checkpoint for a **single-arm, vision-only** insertion task.
18
+ Step 2000 (1.13 epochs), held-out validation loss **0.1063**.
19
+
20
+ This is the best checkpoint of the run -- validation loss got monotonically worse afterwards.
21
+
22
+ ## Configuration
23
+
24
+ This run differs from the sibling `pi05_bi_*` models in two ways that make their
25
+ loss values **not comparable**:
26
+
27
+ | | `pi05_single` (this) | `pi05_bi` (two_tubes / task2 / bread) |
28
+ |---|---|---|
29
+ | state / action dim | 7 / 10 | bimanual dims |
30
+ | image streams used | **1** (`camera0` only) | 6 (2 RGB + 4 tactile) |
31
+ | lr schedule | constant 2e-4 after 1k warmup | cosine 2.5e-5 -> 2.5e-6 |
32
+
33
+ The dataset ships six image streams (`camera0`, `camera1`, and four tactile
34
+ sensors) but `pi05_single` reads only `camera0`; `camera1` and all tactile inputs
35
+ are discarded.
36
+
37
+ ## Data
38
+
39
+ `KaiyueChen/insert_01`: 500 episodes / 252,795 frames, LeRobot v2.1, 30 fps,
40
+ images embedded in the parquet files.
41
+
42
+ **One frame per episode was dropped during preparation.** The collection pipeline
43
+ writes an all-zero action vector on each episode's terminal frame (it has no
44
+ successor action). Because the action vector contains two quaternions whose `w`
45
+ components sit at ~0.99999 with a q01-q99 spread of only 2e-4, quantile
46
+ normalization mapped those zeros to about -10,000, and the step-0 training loss
47
+ came out at **193,510** while validation read 1.78 (validation always draws the
48
+ same leading batches and happened to miss the terminal frames). Dropping the
49
+ terminal frame removes 500 of 252,795 frames (0.2%), all of them invalid, and
50
+ brings step-0 training loss to 0.74. Merged frame count: 252,295.
51
+
52
+ Split, held out per source (10%, seed 42): train 450 / val_seen 50 / val_unseen 50.
53
+ Normalization statistics (quantile q01/q99) over `train` only.
54
+
55
+ ## Training
56
+
57
+ | | |
58
+ |---|---|
59
+ | config | `pi05_single` |
60
+ | hardware | 2 x A100-80GB, FSDP |
61
+ | batch size | 128 |
62
+ | this checkpoint | step 2000 (~1.13 epoch; 1 epoch = 1,764 steps) |
63
+ | run length | 6,000 steps (3.40 epochs), 4h08m at 2.4 s/it |
64
+ | lr | **constant 2e-4** after 1,000 warmup steps |
65
+ | | (`pi05_single` sets `peak_lr = decay_lr = 2e-4`, so the cosine schedule does not actually decay) |
66
+ | LoRA | rank 16 on the LLM, rank 32 on the action expert |
67
+ | vision tower | **fully fine-tuned** -- the freeze filter matches only `.*llm.*` |
68
+
69
+ ## Validation curve
70
+
71
+ Flow-matching loss, 20 batches per split, same leading batches every evaluation.
72
+
73
+ | step | train | val_seen | val_unseen | gap |
74
+ |---:|---:|---:|---:|---:|
75
+ | 0 | 0.7447 | 0.7284 | 0.7377 | +0.0093 |
76
+ | **2000** | 0.0987 | 0.0860 | **0.1063** | +0.0203 |
77
+ | 4000 | 0.0881 | 0.0750 | 0.1164 | +0.0414 |
78
+ | 5999 | 0.0813 | 0.0673 | 0.1192 | +0.0519 |
79
+
80
+ `val_unseen` was already at its minimum by the first validation point (step 2000,
81
+ 1.13 epochs) and got monotonically worse afterwards, while `val_seen` improved
82
+ monotonically. The gap grew from +0.0203 to +0.0519 (+156%) across three
83
+ consecutive points -- an unambiguous overfitting signature, not sampling noise.
84
+
85
+ For contrast, the sibling six-input `pi05_bi` runs on this codebase turned much
86
+ later and ended with far smaller gaps: two_tubes at ~2.5 epochs (+0.0220), task2
87
+ at ~2 epochs (+0.0041), bread at ~2.4 epochs (-0.0037). This run, with a single
88
+ camera and no tactile input, turned before 1.1 epochs and ended an order of
89
+ magnitude wider. The most likely explanation is the reduced observation space:
90
+ with one view and no touch, memorizing training trajectories is an easier way to
91
+ lower the loss than learning a transferable policy. `pi05_single_vitac`
92
+ (`camera0` + two tactile streams) would be the natural comparison, and insertion
93
+ is a task where contact feedback plausibly matters.
94
+
95
+ ## Contents
96
+
97
+ ```
98
+ checkpoint/
99
+ params/ # inference weights
100
+ train_state/ # optimizer state, for resuming
101
+ assets/insert_01/
102
+ norm_stats.json # computed over the train split only
103
+ ```