LegrandFrederic commited on
Commit
287b757
·
verified ·
1 Parent(s): 10b625e

Add new checkpoint

Browse files
Files changed (3) hide show
  1. config.json +78 -0
  2. model.safetensors +3 -0
  3. train_config.json +196 -0
config.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ 12
14
+ ]
15
+ },
16
+ "observation.images.main.left": {
17
+ "type": "VISUAL",
18
+ "shape": [
19
+ 3,
20
+ 240,
21
+ 320
22
+ ]
23
+ },
24
+ "observation.images.main.right": {
25
+ "type": "VISUAL",
26
+ "shape": [
27
+ 3,
28
+ 240,
29
+ 320
30
+ ]
31
+ },
32
+ "observation.images.secondary_0": {
33
+ "type": "VISUAL",
34
+ "shape": [
35
+ 3,
36
+ 240,
37
+ 320
38
+ ]
39
+ },
40
+ "observation.images.secondary_1": {
41
+ "type": "VISUAL",
42
+ "shape": [
43
+ 3,
44
+ 240,
45
+ 320
46
+ ]
47
+ }
48
+ },
49
+ "output_features": {
50
+ "action": {
51
+ "type": "ACTION",
52
+ "shape": [
53
+ 12
54
+ ]
55
+ }
56
+ },
57
+ "chunk_size": 100,
58
+ "n_action_steps": 100,
59
+ "vision_backbone": "resnet18",
60
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
61
+ "replace_final_stride_with_dilation": 0,
62
+ "pre_norm": false,
63
+ "dim_model": 512,
64
+ "n_heads": 8,
65
+ "dim_feedforward": 3200,
66
+ "feedforward_activation": "relu",
67
+ "n_encoder_layers": 4,
68
+ "n_decoder_layers": 1,
69
+ "use_vae": true,
70
+ "latent_dim": 32,
71
+ "n_vae_encoder_layers": 4,
72
+ "temporal_ensemble_coeff": null,
73
+ "dropout": 0.1,
74
+ "kl_weight": 10.0,
75
+ "optimizer_lr": 1e-05,
76
+ "optimizer_weight_decay": 0.0001,
77
+ "optimizer_lr_backbone": 1e-05
78
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:762acdce9c209abe4ce0149838ab0414d30fa8877f6b23d8a11fbd530dcff800
3
+ size 206750984
train_config.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "LegrandFrederic/dual-setup",
4
+ "episodes": null,
5
+ "image_transforms": {
6
+ "enable": false,
7
+ "max_num_transforms": 3,
8
+ "random_order": false,
9
+ "tfs": {
10
+ "brightness": {
11
+ "weight": 1.0,
12
+ "type": "ColorJitter",
13
+ "kwargs": {
14
+ "brightness": [
15
+ 0.8,
16
+ 1.2
17
+ ]
18
+ }
19
+ },
20
+ "contrast": {
21
+ "weight": 1.0,
22
+ "type": "ColorJitter",
23
+ "kwargs": {
24
+ "contrast": [
25
+ 0.8,
26
+ 1.2
27
+ ]
28
+ }
29
+ },
30
+ "saturation": {
31
+ "weight": 1.0,
32
+ "type": "ColorJitter",
33
+ "kwargs": {
34
+ "saturation": [
35
+ 0.5,
36
+ 1.5
37
+ ]
38
+ }
39
+ },
40
+ "hue": {
41
+ "weight": 1.0,
42
+ "type": "ColorJitter",
43
+ "kwargs": {
44
+ "hue": [
45
+ -0.05,
46
+ 0.05
47
+ ]
48
+ }
49
+ },
50
+ "sharpness": {
51
+ "weight": 1.0,
52
+ "type": "SharpnessJitter",
53
+ "kwargs": {
54
+ "sharpness": [
55
+ 0.5,
56
+ 1.5
57
+ ]
58
+ }
59
+ }
60
+ }
61
+ },
62
+ "local_files_only": false,
63
+ "use_imagenet_stats": true,
64
+ "video_backend": "pyav"
65
+ },
66
+ "env": null,
67
+ "policy": {
68
+ "type": "act",
69
+ "n_obs_steps": 1,
70
+ "normalization_mapping": {
71
+ "VISUAL": "MEAN_STD",
72
+ "STATE": "MEAN_STD",
73
+ "ACTION": "MEAN_STD"
74
+ },
75
+ "input_features": {
76
+ "observation.state": {
77
+ "type": "STATE",
78
+ "shape": [
79
+ 12
80
+ ]
81
+ },
82
+ "observation.images.main.left": {
83
+ "type": "VISUAL",
84
+ "shape": [
85
+ 3,
86
+ 240,
87
+ 320
88
+ ]
89
+ },
90
+ "observation.images.main.right": {
91
+ "type": "VISUAL",
92
+ "shape": [
93
+ 3,
94
+ 240,
95
+ 320
96
+ ]
97
+ },
98
+ "observation.images.secondary_0": {
99
+ "type": "VISUAL",
100
+ "shape": [
101
+ 3,
102
+ 240,
103
+ 320
104
+ ]
105
+ },
106
+ "observation.images.secondary_1": {
107
+ "type": "VISUAL",
108
+ "shape": [
109
+ 3,
110
+ 240,
111
+ 320
112
+ ]
113
+ }
114
+ },
115
+ "output_features": {
116
+ "action": {
117
+ "type": "ACTION",
118
+ "shape": [
119
+ 12
120
+ ]
121
+ }
122
+ },
123
+ "chunk_size": 100,
124
+ "n_action_steps": 100,
125
+ "vision_backbone": "resnet18",
126
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
127
+ "replace_final_stride_with_dilation": 0,
128
+ "pre_norm": false,
129
+ "dim_model": 512,
130
+ "n_heads": 8,
131
+ "dim_feedforward": 3200,
132
+ "feedforward_activation": "relu",
133
+ "n_encoder_layers": 4,
134
+ "n_decoder_layers": 1,
135
+ "use_vae": true,
136
+ "latent_dim": 32,
137
+ "n_vae_encoder_layers": 4,
138
+ "temporal_ensemble_coeff": null,
139
+ "dropout": 0.1,
140
+ "kl_weight": 10.0,
141
+ "optimizer_lr": 1e-05,
142
+ "optimizer_weight_decay": 0.0001,
143
+ "optimizer_lr_backbone": 1e-05
144
+ },
145
+ "output_dir": "outputs/train/dual-setup",
146
+ "job_name": "dual-setup",
147
+ "resume": true,
148
+ "device": "mps",
149
+ "use_amp": false,
150
+ "seed": 1000,
151
+ "num_workers": 4,
152
+ "batch_size": 8,
153
+ "eval_freq": 20000,
154
+ "log_freq": 200,
155
+ "save_checkpoint": true,
156
+ "save_freq": 20000,
157
+ "offline": {
158
+ "steps": 100000
159
+ },
160
+ "online": {
161
+ "steps": 0,
162
+ "rollout_n_episodes": 1,
163
+ "rollout_batch_size": 1,
164
+ "steps_between_rollouts": null,
165
+ "sampling_ratio": 0.5,
166
+ "env_seed": null,
167
+ "buffer_capacity": null,
168
+ "buffer_seed_size": 0,
169
+ "do_rollout_async": false
170
+ },
171
+ "use_policy_training_preset": true,
172
+ "optimizer": {
173
+ "type": "adamw",
174
+ "lr": 1e-05,
175
+ "betas": [
176
+ 0.9,
177
+ 0.999
178
+ ],
179
+ "eps": 1e-08,
180
+ "weight_decay": 0.0001,
181
+ "grad_clip_norm": 10.0
182
+ },
183
+ "scheduler": null,
184
+ "eval": {
185
+ "n_episodes": 50,
186
+ "batch_size": 50,
187
+ "use_async_envs": false
188
+ },
189
+ "wandb": {
190
+ "enable": true,
191
+ "disable_artifact": false,
192
+ "project": "lerobot",
193
+ "entity": null,
194
+ "notes": null
195
+ }
196
+ }