Instructions to use jadechoghari/act_pipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LeRobot
How to use jadechoghari/act_pipe 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
Migrate policy to PolicyProcessorPipeline system
Browse filesFiles changed (7)
- README.mdAdded+62
- config.jsonAdded+62
- model.safetensorsAdded+3
- policy_postprocessor.jsonAdded+32
- policy_postprocessor_step_0_unnormalizer_processor.safetensorsAdded+3
- policy_preprocessor.jsonAdded+56
- policy_preprocessor_step_3_normalizer_processor.safetensorsAdded+3
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162---datasets: unknownlibrary_name: lerobotlicense: apache-2.0model_name: actpipeline_tag: roboticstags:- lerobot- robotics- act---
# Model Card for act
<!-- Provide a quick summary of what the model is/does. -->
[Action Chunking with Transformers (ACT)](https://huggingface.co/papers/2304.13705) is an imitation-learning method that predicts short action chunks instead of single steps. It learns from teleoperated data and often achieves high success rates.
This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
---
## How to Get Started with the Model
For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).Below is the short version on how to train and run inference/eval:
### Train from scratch
```bashlerobot-train \ --dataset.repo_id=${HF_USER}/<dataset> \ --policy.type=act \ --output_dir=outputs/train/<desired_policy_repo_id> \ --job_name=lerobot_training \ --policy.device=cuda \ --policy.repo_id=${HF_USER}/<desired_policy_repo_id> --wandb.enable=true```
_Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
### Evaluate the policy/run inference
```bashlerobot-record \ --robot.type=so100_follower \ --dataset.repo_id=<hf_user>/eval_<dataset> \ --policy.path=<hf_user>/<desired_policy_repo_id> \ --episodes=10```
Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
---
## Model Details
- **License:** apache-2.01234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ "type": "act", "n_obs_steps": 1, "input_features": { "observation.images.top": { "type": "VISUAL", "shape": [ 3, 480, 640 ] }, "observation.state": { "type": "STATE", "shape": [ 14 ] } }, "output_features": { "action": { "type": "ACTION", "shape": [ 14 ] } }, "device": "cuda", "use_amp": false, "push_to_hub": true, "repo_id": null, "private": null, "tags": null, "license": null, "pretrained_path": null, "chunk_size": 100, "n_action_steps": 100, "normalization_mapping": { "VISUAL": "MEAN_STD", "STATE": "MEAN_STD", "ACTION": "MEAN_STD" }, "vision_backbone": "resnet18", "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1", "replace_final_stride_with_dilation": false, "pre_norm": false, "dim_model": 512, "n_heads": 8, "dim_feedforward": 3200, "feedforward_activation": "relu", "n_encoder_layers": 4, "n_decoder_layers": 1, "use_vae": true, "latent_dim": 32, "n_vae_encoder_layers": 4, "temporal_ensemble_coeff": null, "dropout": 0.1, "kl_weight": 10.0, "optimizer_lr": 1e-05, "optimizer_weight_decay": 0.0001, "optimizer_lr_backbone": 1e-05}123version https://git-lfs.github.com/spec/v1oid sha256:aff8cfb701ae7e9e779784bb90d408c6f1fa1ea80c8d0604b6ee346ad8d8b7c0size 2067653041234567891011121314151617181920212223242526272829303132{ "name": "policy_postprocessor", "steps": [ { "registry_name": "unnormalizer_processor", "config": { "eps": 1e-08, "features": { "action": { "type": "ACTION", "shape": [ 14 ] } }, "norm_map": { "VISUAL": "MEAN_STD", "STATE": "MEAN_STD", "ACTION": "MEAN_STD" } }, "state_file": "policy_postprocessor_step_0_unnormalizer_processor.safetensors" }, { "registry_name": "device_processor", "config": { "device": "cpu", "float_dtype": null } } ]}123version https://git-lfs.github.com/spec/v1oid sha256:d1cf555d55ae82eb483cbfb8ca9cd93c9810f8c923aed65028e6593a12a9ac3csize 7201234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "name": "policy_preprocessor", "steps": [ { "registry_name": "rename_observations_processor", "config": { "rename_map": {} } }, { "registry_name": "to_batch_processor", "config": {} }, { "registry_name": "device_processor", "config": { "device": "cuda", "float_dtype": null } }, { "registry_name": "normalizer_processor", "config": { "eps": 1e-08, "features": { "observation.images.top": { "type": "VISUAL", "shape": [ 3, 480, 640 ] }, "observation.state": { "type": "STATE", "shape": [ 14 ] }, "action": { "type": "ACTION", "shape": [ 14 ] } }, "norm_map": { "VISUAL": "MEAN_STD", "STATE": "MEAN_STD", "ACTION": "MEAN_STD" } }, "state_file": "policy_preprocessor_step_3_normalizer_processor.safetensors" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:d1cf555d55ae82eb483cbfb8ca9cd93c9810f8c923aed65028e6593a12a9ac3csize 720README.mdAdded+62
config.jsonAdded+62
model.safetensorsAdded+3
policy_postprocessor.jsonAdded+32
policy_postprocessor_step_0_unnormalizer_processor.safetensorsAdded+3
policy_preprocessor.jsonAdded+56
policy_preprocessor_step_3_normalizer_processor.safetensorsAdded+3