Robotics
LeRobot
Safetensors
act
yukisa2010 commited on
Commit
a037314
·
verified ·
1 Parent(s): 2911ad6

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +5 -0
  3. model.safetensors +1 -1
  4. train_config.json +9 -4
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: LeRobot-worldwide-hackathon/143-AkibaKebabParty
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: act
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - act
9
+ - robotics
10
+ - lerobot
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
+ python -m lerobot.scripts.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
+ python -m 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
@@ -32,6 +32,11 @@
32
  },
33
  "device": "cuda",
34
  "use_amp": false,
 
 
 
 
 
35
  "chunk_size": 100,
36
  "n_action_steps": 100,
37
  "vision_backbone": "resnet18",
 
32
  },
33
  "device": "cuda",
34
  "use_amp": false,
35
+ "push_to_hub": true,
36
+ "repo_id": "yukisa2010/il_sim_test0",
37
+ "private": null,
38
+ "tags": null,
39
+ "license": null,
40
  "chunk_size": 100,
41
  "n_action_steps": 100,
42
  "vision_backbone": "resnet18",
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e941ac87e69257f4eab06e6402484b7ad84b94d27a586476354af8149f52013
3
  size 206700792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ea381fbc934611a46769b4d7f7dde6dfea3c6b5a605e77c81c6804b2ebcb1da
3
  size 206700792
train_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "dataset": {
3
- "repo_id": "yukisa2010/record-test-24",
4
  "root": null,
5
  "episodes": null,
6
  "image_transforms": {
@@ -99,6 +99,11 @@
99
  },
100
  "device": "cuda",
101
  "use_amp": false,
 
 
 
 
 
102
  "chunk_size": 100,
103
  "n_action_steps": 100,
104
  "vision_backbone": "resnet18",
@@ -127,7 +132,7 @@
127
  "seed": 1000,
128
  "num_workers": 4,
129
  "batch_size": 8,
130
- "steps": 2,
131
  "eval_freq": 20000,
132
  "log_freq": 200,
133
  "save_checkpoint": true,
@@ -151,12 +156,12 @@
151
  "use_async_envs": false
152
  },
153
  "wandb": {
154
- "enable": false,
155
  "disable_artifact": false,
156
  "project": "lerobot",
157
  "entity": null,
158
  "notes": null,
159
- "run_id": null,
160
  "mode": null
161
  }
162
  }
 
1
  {
2
  "dataset": {
3
+ "repo_id": "LeRobot-worldwide-hackathon/143-AkibaKebabParty",
4
  "root": null,
5
  "episodes": null,
6
  "image_transforms": {
 
99
  },
100
  "device": "cuda",
101
  "use_amp": false,
102
+ "push_to_hub": true,
103
+ "repo_id": "yukisa2010/il_sim_test0",
104
+ "private": null,
105
+ "tags": null,
106
+ "license": null,
107
  "chunk_size": 100,
108
  "n_action_steps": 100,
109
  "vision_backbone": "resnet18",
 
132
  "seed": 1000,
133
  "num_workers": 4,
134
  "batch_size": 8,
135
+ "steps": 20000,
136
  "eval_freq": 20000,
137
  "log_freq": 200,
138
  "save_checkpoint": true,
 
156
  "use_async_envs": false
157
  },
158
  "wandb": {
159
+ "enable": true,
160
  "disable_artifact": false,
161
  "project": "lerobot",
162
  "entity": null,
163
  "notes": null,
164
+ "run_id": "pz05pdq0",
165
  "mode": null
166
  }
167
  }