Robotics
LeRobot
Safetensors
act
booang commited on
Commit
7228e5b
·
verified ·
1 Parent(s): 220314a

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +5 -5
  2. config.json +26 -8
  3. model.safetensors +2 -2
  4. train_config.json +57 -15
README.md CHANGED
@@ -1,13 +1,13 @@
1
  ---
2
- datasets: booang/record-test4
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
@@ -31,7 +31,7 @@ Below is the short version on how to train and run inference/eval:
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> \
@@ -46,7 +46,7 @@ _Writes checkpoints to `outputs/train/<desired_policy_repo_id>/checkpoints/`._
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> \
 
1
  ---
2
+ datasets: kemjensak/real_data_0207_short_ver4
3
  library_name: lerobot
4
  license: apache-2.0
5
  model_name: act
6
  pipeline_tag: robotics
7
  tags:
 
 
8
  - lerobot
9
+ - robotics
10
+ - act
11
  ---
12
 
13
  # Model Card for act
 
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> \
 
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> \
config.json CHANGED
@@ -1,19 +1,30 @@
1
  {
2
  "type": "act",
3
  "n_obs_steps": 1,
4
- "normalization_mapping": {
5
- "VISUAL": "MEAN_STD",
6
- "STATE": "MEAN_STD",
7
- "ACTION": "MEAN_STD"
8
- },
9
  "input_features": {
10
  "observation.state": {
11
  "type": "STATE",
12
  "shape": [
13
- 6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ]
15
  },
16
- "observation.images.front": {
17
  "type": "VISUAL",
18
  "shape": [
19
  3,
@@ -26,19 +37,26 @@
26
  "action": {
27
  "type": "ACTION",
28
  "shape": [
29
- 6
30
  ]
31
  }
32
  },
33
  "device": "cuda",
34
  "use_amp": false,
 
35
  "push_to_hub": true,
36
  "repo_id": "booang/act_record_test4",
37
  "private": null,
38
  "tags": null,
39
  "license": null,
 
40
  "chunk_size": 100,
41
  "n_action_steps": 100,
 
 
 
 
 
42
  "vision_backbone": "resnet18",
43
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
44
  "replace_final_stride_with_dilation": false,
 
1
  {
2
  "type": "act",
3
  "n_obs_steps": 1,
 
 
 
 
 
4
  "input_features": {
5
  "observation.state": {
6
  "type": "STATE",
7
  "shape": [
8
+ 12
9
+ ]
10
+ },
11
+ "observation.images.left_left": {
12
+ "type": "VISUAL",
13
+ "shape": [
14
+ 3,
15
+ 480,
16
+ 640
17
+ ]
18
+ },
19
+ "observation.images.left_top": {
20
+ "type": "VISUAL",
21
+ "shape": [
22
+ 3,
23
+ 480,
24
+ 640
25
  ]
26
  },
27
+ "observation.images.right_right": {
28
  "type": "VISUAL",
29
  "shape": [
30
  3,
 
37
  "action": {
38
  "type": "ACTION",
39
  "shape": [
40
+ 12
41
  ]
42
  }
43
  },
44
  "device": "cuda",
45
  "use_amp": false,
46
+ "use_peft": false,
47
  "push_to_hub": true,
48
  "repo_id": "booang/act_record_test4",
49
  "private": null,
50
  "tags": null,
51
  "license": null,
52
+ "pretrained_path": null,
53
  "chunk_size": 100,
54
  "n_action_steps": 100,
55
+ "normalization_mapping": {
56
+ "VISUAL": "MEAN_STD",
57
+ "STATE": "MEAN_STD",
58
+ "ACTION": "MEAN_STD"
59
+ },
60
  "vision_backbone": "resnet18",
61
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
62
  "replace_final_stride_with_dilation": false,
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:73cef0a735e0e83acd25e7eab2d3f6d54694a50d4222c56c13121c24fc94e0a2
3
- size 206700792
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48527b8874a3b21d2003221021aa2b68f701bde289011469793d2ffa4d7f8081
3
+ size 206748912
train_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "dataset": {
3
- "repo_id": "booang/record-test4",
4
  "root": null,
5
  "episodes": null,
6
  "image_transforms": {
@@ -57,30 +57,56 @@
57
  1.5
58
  ]
59
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
61
  }
62
  },
63
  "revision": null,
64
  "use_imagenet_stats": true,
65
- "video_backend": "torchcodec"
 
66
  },
67
  "env": null,
68
  "policy": {
69
  "type": "act",
70
  "n_obs_steps": 1,
71
- "normalization_mapping": {
72
- "VISUAL": "MEAN_STD",
73
- "STATE": "MEAN_STD",
74
- "ACTION": "MEAN_STD"
75
- },
76
  "input_features": {
77
  "observation.state": {
78
  "type": "STATE",
79
  "shape": [
80
- 6
81
  ]
82
  },
83
- "observation.images.front": {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
84
  "type": "VISUAL",
85
  "shape": [
86
  3,
@@ -93,19 +119,26 @@
93
  "action": {
94
  "type": "ACTION",
95
  "shape": [
96
- 6
97
  ]
98
  }
99
  },
100
  "device": "cuda",
101
  "use_amp": false,
 
102
  "push_to_hub": true,
103
  "repo_id": "booang/act_record_test4",
104
  "private": null,
105
  "tags": null,
106
  "license": null,
 
107
  "chunk_size": 100,
108
  "n_action_steps": 100,
 
 
 
 
 
109
  "vision_backbone": "resnet18",
110
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
111
  "replace_final_stride_with_dilation": false,
@@ -126,17 +159,18 @@
126
  "optimizer_weight_decay": 0.0001,
127
  "optimizer_lr_backbone": 1e-05
128
  },
129
- "output_dir": "outputs/train/act_record_test4",
130
- "job_name": "act_record_test3",
131
  "resume": false,
132
  "seed": 1000,
133
  "num_workers": 4,
134
  "batch_size": 8,
135
- "steps": 1000,
136
  "eval_freq": 20000,
137
  "log_freq": 200,
 
138
  "save_checkpoint": true,
139
- "save_freq": 100,
140
  "use_policy_training_preset": true,
141
  "optimizer": {
142
  "type": "adamw",
@@ -163,5 +197,13 @@
163
  "notes": null,
164
  "run_id": null,
165
  "mode": null
166
- }
 
 
 
 
 
 
 
 
167
  }
 
1
  {
2
  "dataset": {
3
+ "repo_id": "kemjensak/real_data_0207_short_ver4",
4
  "root": null,
5
  "episodes": null,
6
  "image_transforms": {
 
57
  1.5
58
  ]
59
  }
60
+ },
61
+ "affine": {
62
+ "weight": 1.0,
63
+ "type": "RandomAffine",
64
+ "kwargs": {
65
+ "degrees": [
66
+ -5.0,
67
+ 5.0
68
+ ],
69
+ "translate": [
70
+ 0.05,
71
+ 0.05
72
+ ]
73
+ }
74
  }
75
  }
76
  },
77
  "revision": null,
78
  "use_imagenet_stats": true,
79
+ "video_backend": "torchcodec",
80
+ "streaming": false
81
  },
82
  "env": null,
83
  "policy": {
84
  "type": "act",
85
  "n_obs_steps": 1,
 
 
 
 
 
86
  "input_features": {
87
  "observation.state": {
88
  "type": "STATE",
89
  "shape": [
90
+ 12
91
  ]
92
  },
93
+ "observation.images.left_left": {
94
+ "type": "VISUAL",
95
+ "shape": [
96
+ 3,
97
+ 480,
98
+ 640
99
+ ]
100
+ },
101
+ "observation.images.left_top": {
102
+ "type": "VISUAL",
103
+ "shape": [
104
+ 3,
105
+ 480,
106
+ 640
107
+ ]
108
+ },
109
+ "observation.images.right_right": {
110
  "type": "VISUAL",
111
  "shape": [
112
  3,
 
119
  "action": {
120
  "type": "ACTION",
121
  "shape": [
122
+ 12
123
  ]
124
  }
125
  },
126
  "device": "cuda",
127
  "use_amp": false,
128
+ "use_peft": false,
129
  "push_to_hub": true,
130
  "repo_id": "booang/act_record_test4",
131
  "private": null,
132
  "tags": null,
133
  "license": null,
134
+ "pretrained_path": null,
135
  "chunk_size": 100,
136
  "n_action_steps": 100,
137
+ "normalization_mapping": {
138
+ "VISUAL": "MEAN_STD",
139
+ "STATE": "MEAN_STD",
140
+ "ACTION": "MEAN_STD"
141
+ },
142
  "vision_backbone": "resnet18",
143
  "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
144
  "replace_final_stride_with_dilation": false,
 
159
  "optimizer_weight_decay": 0.0001,
160
  "optimizer_lr_backbone": 1e-05
161
  },
162
+ "output_dir": "outputs/train/act_record_test11",
163
+ "job_name": "act_record_test11",
164
  "resume": false,
165
  "seed": 1000,
166
  "num_workers": 4,
167
  "batch_size": 8,
168
+ "steps": 20000,
169
  "eval_freq": 20000,
170
  "log_freq": 200,
171
+ "tolerance_s": 0.0001,
172
  "save_checkpoint": true,
173
+ "save_freq": 200,
174
  "use_policy_training_preset": true,
175
  "optimizer": {
176
  "type": "adamw",
 
197
  "notes": null,
198
  "run_id": null,
199
  "mode": null
200
+ },
201
+ "peft": null,
202
+ "use_rabc": false,
203
+ "rabc_progress_path": null,
204
+ "rabc_kappa": 0.01,
205
+ "rabc_epsilon": 1e-06,
206
+ "rabc_head_mode": "sparse",
207
+ "rename_map": {},
208
+ "checkpoint_path": null
209
  }