Instructions to use faizalkarim/hrl_A2_t2_act_stack with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use faizalkarim/hrl_A2_t2_act_stack with LeRobot:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
|
Download README.md from faizalkarim/hrl_A2_t2_act_stack: direct link, hf CLI and curl.
- Browser
- Download file 3.21 kB
-
https://huggingface.co/faizalkarim/hrl_A2_t2_act_stack/resolve/main/README.md
- Command line
-
hf download hf://faizalkarim/hrl_A2_t2_act_stack/README.md
-
curl -L -o README.md https://huggingface.co/faizalkarim/hrl_A2_t2_act_stack/resolve/main/README.md
3.21 kB
metadata
library_name: lerobot
pipeline_tag: robotics
tags:
- robotics
- lerobot
- act
- so-101
- imitation-learning
ACT for 3-block stacking 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. The green block starts at a fixed stacking spot in front of the robot; the policy places the purple block on it, then the red block on top, lets go and returns to rest.
Use
lerobot-rollout --strategy.type=base \
--policy.path=faizalkarim/hrl_A2_t2_act_stack --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.
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 (108,849 frames at 30 Hz), recorded with lerobot-record. Each episode's still start was trimmed to 0.3 s before the arm starts moving (9.1% of frames removed); nothing else was changed |
| Model | ACT without the VAE / style loss (use_vae=false): ResNet-18 (ImageNet init) shared by both cameras, 4-layer transformer encoder, 1-layer decoder, 34.2M 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 |
| 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.016 (normalised units) |
The full training configuration is in train_config.json.
Limitations
- The demonstrations start from almost the same block layout every time (start positions vary by less than one block width), so the policy is unlikely to cope with blocks placed elsewhere.
- It depends on the external
frontcamera 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.