Action Chunking Transformer Policy (as per
Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware) trained for the
AlohaTransferCube environment from
gym-aloha.
See the
LeRobot library (particularly the
evaluation script) for instructions on how to load and evaluate this model.
The model was trained using
LeRobot's training script and with the
aloha_sim_transfer_cube_human dataset, using this command:
1python lerobot/scripts/train.py \
2 --output_dir=outputs/train/act_aloha_transfer \
3 --policy.type=act \
4 --dataset.repo_id=lerobot/aloha_sim_transfer_cube_human \
5 --env.type=aloha \
6 --env.task=AlohaTransferCube-v0 \
7 --wandb.enable=true
The training curves may be found at
https://wandb.ai/aliberts/lerobot/runs/720l37xb.
The current model corresponds to the checkpoint at 80k steps.
This took about 1h45 to train on an Nvida A100.
The model was evaluated on the
AlohaTransferCube task from
gym-aloha and compared to a similar model trained with the original
ACT repository. Each episode marks a success if the cube is successfully picked by one robot arm and transferred to the other robot arm.
Here are the success rate results for 500 episodes worth of evaluation. The "Theirs" column is for an equivalent model trained on the original ACT repository and evaluated on LeRobot (the model weights may be found in the
original_act_repo branch of this respository). The results of each of the individual rollouts may be found in
eval_info.json.
1python lerobot/scripts/eval.py \
2 --policy.path=outputs/train/act_aloha_transfer/checkpoints/080000/pretrained_model \
3 --output_dir=outputs/eval/act_aloha_transfer/080000 \
4 --env.type=aloha \
5 --env.task=AlohaTransferCube-v0 \
6 --eval.n_episodes=500 \
7 --eval.batch_size=50 \
8 --device=cuda \
9 --use_amp=false
The original code was heavily refactored, and some bugs were spotted along the way. The differences in code may account for the difference in success rate. Another possibility is that our simulation environment may use slightly different heuristics to evaluate success (we've observed that success is registered as soon as the second arm's gripper makes antipodal contact with the cube). Finally, one should observe that the in-training evaluation jumps up towards the end of training. This may need further investigation (Is it statistically significant? If so, what is the cause?).