Robotics
LeRobot
Safetensors
act
kamus1018 commited on
Commit
598562d
·
verified ·
1 Parent(s): 0f2ccfb

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +2 -2
  3. model.safetensors +1 -1
  4. train_config.json +4 -4
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: kamus1018/small_grid
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: act
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - act
9
+ - lerobot
10
+ - robotics
11
+ ---
12
+
13
+ # Model Card for act
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ [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.
19
+
20
+
21
+ This policy has been trained and pushed to the Hub using [LeRobot](https://github.com/huggingface/lerobot).
22
+ See the full documentation at [LeRobot Docs](https://huggingface.co/docs/lerobot/index).
23
+
24
+ ---
25
+
26
+ ## How to Get Started with the Model
27
+
28
+ For a complete walkthrough, see the [training guide](https://huggingface.co/docs/lerobot/il_robots#train-a-policy).
29
+ Below is the short version on how to train and run inference/eval:
30
+
31
+ ### Train from scratch
32
+
33
+ ```bash
34
+ lerobot-train \
35
+ --dataset.repo_id=${HF_USER}/<dataset> \
36
+ --policy.type=act \
37
+ --output_dir=outputs/train/<desired_policy_repo_id> \
38
+ --job_name=lerobot_training \
39
+ --policy.device=cuda \
40
+ --policy.repo_id=${HF_USER}/<desired_policy_repo_id>
41
+ --wandb.enable=true
42
+ ```
43
+
44
+ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
45
+
46
+ ### Evaluate the policy/run inference
47
+
48
+ ```bash
49
+ lerobot-record \
50
+ --robot.type=so100_follower \
51
+ --dataset.repo_id=<hf_user>/eval_<dataset> \
52
+ --policy.path=<hf_user>/<desired_policy_repo_id> \
53
+ --episodes=10
54
+ ```
55
+
56
+ Prefix the dataset repo with **eval\_** and supply `--policy.path` pointing to a local or hub checkpoint.
57
+
58
+ ---
59
+
60
+ ## Model Details
61
+
62
+ - **License:** apache-2.0
config.json CHANGED
@@ -41,7 +41,7 @@
41
  "private": null,
42
  "tags": null,
43
  "license": null,
44
- "pretrained_path": null,
45
  "chunk_size": 100,
46
  "n_action_steps": 100,
47
  "normalization_mapping": {
@@ -51,7 +51,7 @@
51
  },
52
  "vision_backbone": "resnet18",
53
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
54
- "replace_final_stride_with_dilation": false,
55
  "pre_norm": false,
56
  "dim_model": 512,
57
  "n_heads": 8,
 
41
  "private": null,
42
  "tags": null,
43
  "license": null,
44
+ "pretrained_path": "outputs/train/small_grid/checkpoints/last/pretrained_model",
45
  "chunk_size": 100,
46
  "n_action_steps": 100,
47
  "normalization_mapping": {
 
51
  },
52
  "vision_backbone": "resnet18",
53
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
54
+ "replace_final_stride_with_dilation": 0,
55
  "pre_norm": false,
56
  "dim_model": 512,
57
  "n_heads": 8,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:23764963b6df3382cbd6ac7ab5400ae709a8324c76b5937825f6f1e75eb436c3
3
  size 206699736
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ba42cd89af98cee36e6e50f48b6a186de3e0408e9693599152c4b99aaa40d84
3
  size 206699736
train_config.json CHANGED
@@ -123,7 +123,7 @@
123
  "private": null,
124
  "tags": null,
125
  "license": null,
126
- "pretrained_path": null,
127
  "chunk_size": 100,
128
  "n_action_steps": 100,
129
  "normalization_mapping": {
@@ -133,7 +133,7 @@
133
  },
134
  "vision_backbone": "resnet18",
135
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
136
- "replace_final_stride_with_dilation": false,
137
  "pre_norm": false,
138
  "dim_model": 512,
139
  "n_heads": 8,
@@ -153,7 +153,7 @@
153
  },
154
  "output_dir": "outputs/train/small_grid",
155
  "job_name": "small_grid_act",
156
- "resume": false,
157
  "seed": 1000,
158
  "num_workers": 4,
159
  "batch_size": 8,
@@ -197,5 +197,5 @@
197
  "rabc_epsilon": 1e-06,
198
  "rabc_head_mode": "sparse",
199
  "rename_map": {},
200
- "checkpoint_path": null
201
  }
 
123
  "private": null,
124
  "tags": null,
125
  "license": null,
126
+ "pretrained_path": "outputs/train/small_grid/checkpoints/last/pretrained_model",
127
  "chunk_size": 100,
128
  "n_action_steps": 100,
129
  "normalization_mapping": {
 
133
  },
134
  "vision_backbone": "resnet18",
135
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
136
+ "replace_final_stride_with_dilation": 0,
137
  "pre_norm": false,
138
  "dim_model": 512,
139
  "n_heads": 8,
 
153
  },
154
  "output_dir": "outputs/train/small_grid",
155
  "job_name": "small_grid_act",
156
+ "resume": true,
157
  "seed": 1000,
158
  "num_workers": 4,
159
  "batch_size": 8,
 
197
  "rabc_epsilon": 1e-06,
198
  "rabc_head_mode": "sparse",
199
  "rename_map": {},
200
+ "checkpoint_path": "outputs/train/small_grid/checkpoints/last"
201
  }