ACT for 3-block stacking from a tray on an SO-101 arm

A single-task ACT policy, trained from scratch with LeRobot 0.6.2 on 150 teleoperated demonstrations, for a course assignment (Hands-on Robot Learning, Fall 2026, Assignment 2, Task 2).

Task: build a freestanding 3-block tower. All three blocks start in random positions inside a tray; the policy picks the red block, then the green one, then the purple one, stacks them in that order at a fixed spot next to the tray, lets go and returns to rest.

Use

lerobot-rollout --strategy.type=base \
  --policy.path=faizalkarim/hrl_A2_t2_act_stack_rand --policy.device=mps \
  --robot.type=so101_follower --robot.port=<port> --robot.id=<id> \
  --robot.cameras="{wrist: {type: opencv, index_or_path: <wrist cam>, width: 640, height: 480, fps: 30}, front: {type: opencv, index_or_path: <front cam>, width: 640, height: 480, fps: 30}}" \
  --task="Stack the blocks into a tower" --fps=30 --duration=60

The repository root holds the final checkpoint (step 50,000). Earlier checkpoints are in checkpoints/<step>/ (every 5,000 steps); download one and pass its local folder as --policy.path. All weights here are the EMA (exponential moving average) weights saved during training.

Inputs and outputs

Observations observation.images.wrist and observation.images.front (RGB 640x480), observation.state (6 follower joint positions)
Actions 6 leader joint positions: 5 arm joints in degrees, gripper 0-100
Control rate 30 Hz
Chunk size / executed per chunk 50 (1.7 s) / 25 (--policy.n_action_steps, can be changed at rollout)
Normalisation Joint state and actions: mean/std of the training data (stored with the model). Images: ImageNet mean/std

Training

Data 150 demonstrations (96,746 frames at 30 Hz) recorded with lerobot-record, block arrangement in the tray shuffled between episodes (27 distinct arrangements). Each episode's still start was trimmed to 0.3 s before the arm starts moving (10.2% of frames removed); nothing else was changed
Model ACT without the VAE / style loss (use_vae=false), scaled up from LeRobot's defaults: ResNet-34 (ImageNet init) shared by both cameras, 6-layer transformer encoder, 4-layer decoder, width 512, 69.1M parameters
Optimisation 50,000 steps, batch 128 (64 x 2 GPUs), AdamW (weight decay 1e-4, gradient clipping 10), learning rate 3e-4 for all parameters with 1,000 warm-up steps and cosine decay to 3e-6, seed 285628; EMA of the weights (LeRobot --ema.enable=true, decay up to 0.9999)
Augmentation Lighting only, 3 of 5 per image at random strength: brightness, contrast and saturation 0.8-1.2, hue ±0.02, colour temperature 5,500-7,500 K. No geometric augmentation
Final training L1 loss 0.013 (normalised units)

The full training configuration is in train_config.json.

Limitations

  • Blocks are randomised only within the tray, and the tray and stacking spot are fixed; other layouts are outside the training data.
  • It depends on the external front camera being in the same place as during data collection; lighting augmentation does not make it robust to camera moves.
  • No success rate is reported here: the training loss does not measure task success on the robot.
Downloads last month
36
Safetensors
Model size
69.2M params
Tensor type
F32
·
Video Preview
loading

Paper for faizalkarim/hrl_A2_t2_act_stack_rand