Instructions to use Ngseo/basevla-maniskill-aug with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use Ngseo/basevla-maniskill-aug with LeRobot:
- Notebooks
- Google Colab
- Kaggle
BaseVLA ManiSkill Franka, vision-only + aug — step 40k
Browse files- README.md +101 -0
- checkpoint.pt +3 -0
README.md
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: Qwen/Qwen2.5-VL-3B-Instruct
|
| 4 |
+
tags:
|
| 5 |
+
- robotics
|
| 6 |
+
- vision-language-action
|
| 7 |
+
- vla
|
| 8 |
+
- qwen2_5_vl
|
| 9 |
+
- lerobot
|
| 10 |
+
- maniskill
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# BaseVLA — ManiSkill Franka (Qwen2.5-VL-3B), vision-only, with augmentation
|
| 14 |
+
|
| 15 |
+
Plain behaviour cloning baseline: **no V-JEPA, no latent alignment, no
|
| 16 |
+
decorrelation**. Just `L1(action)` on ManiSkill's merged Franka set, trained
|
| 17 |
+
**without proprioception** and with domain augmentation on.
|
| 18 |
+
|
| 19 |
+
Checkpoint at **step 40,000**. The run was stopped early at ~44k steps (of a
|
| 20 |
+
planned 100k) because the loss had flattened — 0.0487 at 30k to 0.0474 at 42k.
|
| 21 |
+
|
| 22 |
+
## Data
|
| 23 |
+
|
| 24 |
+
`maniskill-franka-merged` from [`Ngseo/stage1-data`](https://huggingface.co/datasets/Ngseo/stage1-data),
|
| 25 |
+
single camera (`observation.images.anchor`, 256×256 h264), 30 fps, action
|
| 26 |
+
`action.ee_delta_pose` (7-D).
|
| 27 |
+
|
| 28 |
+
**The raw set needs filtering.** 17.1% of its `action.ee_delta_pose` rows are
|
| 29 |
+
NaN, and they are not spread evenly — whole tasks were never populated:
|
| 30 |
+
|
| 31 |
+
| task | frames | NaN (ee_delta) | NaN (joint_delta) | NaN (joint_pos) |
|
| 32 |
+
|---|---|---|---|---|
|
| 33 |
+
| PushT-v1 | 168,934 | **100%** | **100%** | **100%** |
|
| 34 |
+
| PokeCube-v1 | 68,545 | 69.7% | 32.5% | **100%** |
|
| 35 |
+
| PlaceSphere-v1 | 118,223 | 12.1% | 2.6% | 0.8% |
|
| 36 |
+
| PegInsertionSide-v1 | 150,055 | 6.2% | 0.7% | 0.7% |
|
| 37 |
+
| other 7 tasks | 946,166 | 0.4–2.1% | | |
|
| 38 |
+
|
| 39 |
+
The ~1% floor is the last frame of each episode (no next action) and is normal.
|
| 40 |
+
PushT has no usable action under *any* of the three control modes.
|
| 41 |
+
|
| 42 |
+
Training on it unfiltered silently produces a broken model: NaNs get zeroed by
|
| 43 |
+
`nan_to_num`, so the policy learns "output nothing" on 17% of frames, and the
|
| 44 |
+
normalisation statistics come out as NaN.
|
| 45 |
+
|
| 46 |
+
This run therefore drops episodes whose action column is NaN in more than 5% of
|
| 47 |
+
rows (`--max_nan_frac 0.05`):
|
| 48 |
+
|
| 49 |
+
```
|
| 50 |
+
9,216 / 12,257 episodes kept → 1,218,188 frames (83.3% of the original)
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
## Architecture
|
| 54 |
+
|
| 55 |
+
```
|
| 56 |
+
Qwen2.5-VL-3B + LoRA ─ forward_full_hidden ─┬─ Head A → z_a ─┐
|
| 57 |
+
└─ Head B → z_b ─┴─ concat → ResNetActionHead → 30×7
|
| 58 |
+
|
| 59 |
+
L = L1(action) ← that is the whole objective
|
| 60 |
+
```
|
| 61 |
+
|
| 62 |
+
| | |
|
| 63 |
+
|---|---|
|
| 64 |
+
| LoRA | r=32 |
|
| 65 |
+
| Heads | dual `AttentiveLatentHead`, proj 4096, 8 queries, depth 2 |
|
| 66 |
+
| Inputs | 1 RGB frame @224 + task string — **no proprioceptive state** |
|
| 67 |
+
| Output | 30-step action chunk (1.0 s @ 30 fps) |
|
| 68 |
+
| Optimiser | AdamW, lr 5e-5, batch 32, bf16 |
|
| 69 |
+
| Augmentation | ColorJitter/SharpnessJitter ×2 + DomainRandomization p=0.7 |
|
| 70 |
+
|
| 71 |
+
`--no_state` is used, so the state token degenerates to a constant learned bias
|
| 72 |
+
(`state_proj(0)`) and no proprioception reaches the model. ManiSkill's merged
|
| 73 |
+
set has no `observation.state` column to begin with.
|
| 74 |
+
|
| 75 |
+
## Training curve
|
| 76 |
+
|
| 77 |
+
| step | loss |
|
| 78 |
+
|---|---|
|
| 79 |
+
| 1,000 | 0.0962 |
|
| 80 |
+
| 10,000 | 0.0601 |
|
| 81 |
+
| 20,000 | 0.0524 |
|
| 82 |
+
| 30,000 | 0.0487 |
|
| 83 |
+
| **40,000** | **0.0476** |
|
| 84 |
+
|
| 85 |
+
> **Not evaluated in simulation or on a robot.** The number above is a
|
| 86 |
+
> training-set L1 on normalised actions. No ManiSkill success rate is reported.
|
| 87 |
+
|
| 88 |
+
## Contents
|
| 89 |
+
|
| 90 |
+
`checkpoint.pt` holds `policy` (full VLM incl. LoRA), `latent_head`,
|
| 91 |
+
`free_latent_head`, `action_head`, `optimizer`, `agg_stats` (normalisation
|
| 92 |
+
statistics) and `args` (the exact CLI configuration, including the NaN filter
|
| 93 |
+
threshold).
|
| 94 |
+
|
| 95 |
+
```python
|
| 96 |
+
import torch
|
| 97 |
+
ck = torch.load("checkpoint.pt", map_location="cpu", weights_only=False)
|
| 98 |
+
ck["step"] # 40000
|
| 99 |
+
ck["args"] # full training config
|
| 100 |
+
ck["agg_stats"] # action normalisation used at train time
|
| 101 |
+
```
|
checkpoint.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7dc199af450be5fd52a156313430c2a67078e4ee1efc952590a014e6c1f8d75
|
| 3 |
+
size 9915326025
|