Jeongeun commited on
Commit
b93d0df
·
verified ·
1 Parent(s): 94047cc

Upload policy weights, train config and readme

Browse files
Files changed (4) hide show
  1. README.md +62 -0
  2. config.json +68 -0
  3. model.safetensors +3 -0
  4. train_config.json +204 -0
README.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ datasets: Jeongeun/dynamic_object_v3
3
+ library_name: lerobot
4
+ license: apache-2.0
5
+ model_name: poc_chunk
6
+ pipeline_tag: robotics
7
+ tags:
8
+ - robotics
9
+ - poc_chunk
10
+ - lerobot
11
+ ---
12
+
13
+ # Model Card for poc_chunk
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+ _Model type not recognized — please update this template._
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 ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "type": "poc_chunk",
3
+ "n_obs_steps": 1,
4
+ "input_features": {
5
+ "observation.image": {
6
+ "type": "VISUAL",
7
+ "shape": [
8
+ 3,
9
+ 256,
10
+ 256
11
+ ]
12
+ },
13
+ "observation.wrist_image": {
14
+ "type": "VISUAL",
15
+ "shape": [
16
+ 3,
17
+ 256,
18
+ 256
19
+ ]
20
+ },
21
+ "observation.state": {
22
+ "type": "STATE",
23
+ "shape": [
24
+ 13
25
+ ]
26
+ }
27
+ },
28
+ "output_features": {
29
+ "action": {
30
+ "type": "ACTION",
31
+ "shape": [
32
+ 8
33
+ ]
34
+ }
35
+ },
36
+ "device": "cuda",
37
+ "use_amp": false,
38
+ "use_peft": false,
39
+ "push_to_hub": true,
40
+ "repo_id": "Jeongeun/dynamic_object_v3_poc_chunk_10",
41
+ "private": null,
42
+ "tags": null,
43
+ "license": null,
44
+ "pretrained_path": null,
45
+ "add_past_actions": true,
46
+ "see_past_action_only": false,
47
+ "noise_injection": false,
48
+ "noise_std": 0.01,
49
+ "chunk_size": 10,
50
+ "n_action_steps": 10,
51
+ "image_feature_dim": 768,
52
+ "normalization_mapping": {
53
+ "STATE": "MEAN_STD",
54
+ "ACTION": "MEAN_STD"
55
+ },
56
+ "nheads": 6,
57
+ "dim_forward": 512,
58
+ "num_layers": 8,
59
+ "activation": "gelu",
60
+ "max_seq_len": 512,
61
+ "use_token_type_embedding": true,
62
+ "freeze_image_encoder": false,
63
+ "optimizer_lr": 3e-05,
64
+ "optimizer_weight_decay": 1e-06,
65
+ "lr_warmup_steps": 500,
66
+ "total_training_steps": 500000,
67
+ "use_policy_training_preset": true
68
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de9fd770400a8a73c5b2f9e2816e000a8579ee5a3b5539e80991bf071155337d
3
+ size 453703392
train_config.json ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "Jeongeun/dynamic_object_v3",
4
+ "root": "./data/poc_v3",
5
+ "episodes": null,
6
+ "image_transforms": {
7
+ "enable": false,
8
+ "max_num_transforms": 3,
9
+ "random_order": false,
10
+ "tfs": {
11
+ "brightness": {
12
+ "weight": 1.0,
13
+ "type": "ColorJitter",
14
+ "kwargs": {
15
+ "brightness": [
16
+ 0.8,
17
+ 1.2
18
+ ]
19
+ }
20
+ },
21
+ "contrast": {
22
+ "weight": 1.0,
23
+ "type": "ColorJitter",
24
+ "kwargs": {
25
+ "contrast": [
26
+ 0.8,
27
+ 1.2
28
+ ]
29
+ }
30
+ },
31
+ "saturation": {
32
+ "weight": 1.0,
33
+ "type": "ColorJitter",
34
+ "kwargs": {
35
+ "saturation": [
36
+ 0.5,
37
+ 1.5
38
+ ]
39
+ }
40
+ },
41
+ "hue": {
42
+ "weight": 1.0,
43
+ "type": "ColorJitter",
44
+ "kwargs": {
45
+ "hue": [
46
+ -0.05,
47
+ 0.05
48
+ ]
49
+ }
50
+ },
51
+ "sharpness": {
52
+ "weight": 1.0,
53
+ "type": "SharpnessJitter",
54
+ "kwargs": {
55
+ "sharpness": [
56
+ 0.5,
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": "poc_chunk",
85
+ "n_obs_steps": 1,
86
+ "input_features": {
87
+ "observation.image": {
88
+ "type": "VISUAL",
89
+ "shape": [
90
+ 3,
91
+ 256,
92
+ 256
93
+ ]
94
+ },
95
+ "observation.wrist_image": {
96
+ "type": "VISUAL",
97
+ "shape": [
98
+ 3,
99
+ 256,
100
+ 256
101
+ ]
102
+ },
103
+ "observation.state": {
104
+ "type": "STATE",
105
+ "shape": [
106
+ 13
107
+ ]
108
+ }
109
+ },
110
+ "output_features": {
111
+ "action": {
112
+ "type": "ACTION",
113
+ "shape": [
114
+ 8
115
+ ]
116
+ }
117
+ },
118
+ "device": "cuda",
119
+ "use_amp": false,
120
+ "use_peft": false,
121
+ "push_to_hub": true,
122
+ "repo_id": "Jeongeun/dynamic_object_v3_poc_chunk_10",
123
+ "private": null,
124
+ "tags": null,
125
+ "license": null,
126
+ "pretrained_path": null,
127
+ "add_past_actions": true,
128
+ "see_past_action_only": false,
129
+ "noise_injection": false,
130
+ "noise_std": 0.01,
131
+ "chunk_size": 10,
132
+ "n_action_steps": 10,
133
+ "image_feature_dim": 768,
134
+ "normalization_mapping": {
135
+ "STATE": "MEAN_STD",
136
+ "ACTION": "MEAN_STD"
137
+ },
138
+ "nheads": 6,
139
+ "dim_forward": 512,
140
+ "num_layers": 8,
141
+ "activation": "gelu",
142
+ "max_seq_len": 512,
143
+ "use_token_type_embedding": true,
144
+ "freeze_image_encoder": false,
145
+ "optimizer_lr": 3e-05,
146
+ "optimizer_weight_decay": 1e-06,
147
+ "lr_warmup_steps": 500,
148
+ "total_training_steps": 500000,
149
+ "use_policy_training_preset": true
150
+ },
151
+ "output_dir": "ckpt/dynamic_object_v3_poc_chunk_10",
152
+ "job_name": "dynamic_object_v3_poc_chunk_10",
153
+ "resume": false,
154
+ "seed": 1000,
155
+ "num_workers": 4,
156
+ "batch_size": 32,
157
+ "steps": 10000,
158
+ "eval_freq": 20000,
159
+ "log_freq": 200,
160
+ "tolerance_s": 0.0001,
161
+ "save_checkpoint": true,
162
+ "save_freq": 20000,
163
+ "use_policy_training_preset": true,
164
+ "optimizer": {
165
+ "type": "adamw",
166
+ "lr": 3e-05,
167
+ "weight_decay": 1e-06,
168
+ "grad_clip_norm": 10.0,
169
+ "betas": [
170
+ 0.9,
171
+ 0.999
172
+ ],
173
+ "eps": 1e-08
174
+ },
175
+ "scheduler": {
176
+ "type": "cosine_decay_with_warmup",
177
+ "num_warmup_steps": 500,
178
+ "num_decay_steps": 500000,
179
+ "peak_lr": 3e-05,
180
+ "decay_lr": 1e-05
181
+ },
182
+ "eval": {
183
+ "n_episodes": 50,
184
+ "batch_size": 50,
185
+ "use_async_envs": false
186
+ },
187
+ "wandb": {
188
+ "enable": true,
189
+ "disable_artifact": true,
190
+ "project": "dynamic_object_v3_custom",
191
+ "entity": "jeongeun",
192
+ "notes": null,
193
+ "run_id": "5qyoexmw",
194
+ "mode": null
195
+ },
196
+ "peft": null,
197
+ "use_rabc": false,
198
+ "rabc_progress_path": null,
199
+ "rabc_kappa": 0.01,
200
+ "rabc_epsilon": 1e-06,
201
+ "rabc_head_mode": "sparse",
202
+ "rename_map": {},
203
+ "checkpoint_path": null
204
+ }