loveiscomplicated's picture
Document the State36 dataset
46610d1 verified
|
Raw History Blame Contribute Delete
2.78 kB
# Recurrent BC demonstrations with paired Graph features
900 simulated successful PegInsertionSide demonstrations with 92,566 aligned observation–action pairs. Train, validation, and test contain 720, 90, and 90 episodes.
[Download the TAR archive](https://huggingface.co/datasets/Graph-Recurrent-VLA/recurrent-bc-state36/resolve/main/integration/293fbe2c68764fb8901a40f857a1ade6/artifacts/trajectory/aec78bdef35d8f873d0cc8215d1e986050940c9041e7e0948e21081d5531c1f0/recurrent_bc_dataset.tar)
Each split contains the same expert observation/action pairs for both frozen
seed-0 perception models. Arrays use the Recurrent baseline's column order.
```python
import numpy as np
with np.load("train.npz", allow_pickle=False) as data:
start, stop = data["episode_offsets"][:2]
x = data["state36_transformer"][start:stop] # or state36_mamba
y = data["expert_action"][start:stop]
# Legacy Recurrent models expect State38. The clean-observation convention
# appends obs_fresh=1 and normalized obs_age=0 to each row.
freshness = np.broadcast_to(np.array([1, 0], dtype=np.float32), (len(x), 2))
x38 = np.concatenate((x, freshness), axis=1)
```
- `robot15` uses TCP world XYZ, canonical wxyz TCP quaternion, left then right
fingertip XYZ relative to TCP, and the two gripper joints. It is the recorded
simulator robot kinematics used by the Recurrent baseline.
- `object21_transformer` and `object21_mamba` use Peg position (0:3), Peg
rotation (3:7), Peg +X tip minus Hole (7:10), Hole position (10:13), Hole
rotation (13:17), Peg half extents (17:20), and Hole radius (20:21).
Positions and sizes are metres. Peg and Hole positions are relative to TCP
in world axes. Quaternions are world-frame wxyz with nonnegative w.
- `state36_*` concatenates `robot15` and the corresponding predicted Object21.
It excludes the two synthetic dropout channels. The constant State38 adapter
indicates that an estimate is supplied each frame. It does not signal detector
visibility, tracker confidence, or GT accuracy.
- `expert_action` is float32 [N,7], the normalized ManiSkill
`pd_ee_delta_pose` command that follows the observation on that row.
- `episode_offsets[i:i+2]` gives the half-open row interval for `episode_id[i]`
and `reset_seed[i]`. `step` is zero-based inside the episode.
Both camera sensors were native 512x512. The first Main frame passed the
depth-based peg ends-and-grasp gate. Later frames can have natural occlusions.
Every expert trajectory reached simulator success. Graph's development episodes
and all other seeds from the original collection are excluded. Normalize using
the training split only, and measure insertion success in separate closed-loop
rollouts. See `dataset_manifest.json` for checksums, splits and model provenance.