Spring14th commited on
Commit
8f63f4e
·
verified ·
1 Parent(s): dac54f8

Upload train_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. train_config.json +198 -0
train_config.json ADDED
@@ -0,0 +1,198 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "dataset": {
3
+ "repo_id": "lerobot/aloha_sim_insertion_human",
4
+ "root": null,
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
+ }
62
+ },
63
+ "revision": null,
64
+ "use_imagenet_stats": true,
65
+ "video_backend": "pyav"
66
+ },
67
+ "env": null,
68
+ "policy": {
69
+ "type": "hybrid_act_diffusion",
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.images.top": {
78
+ "type": "VISUAL",
79
+ "shape": [
80
+ 3,
81
+ 480,
82
+ 640
83
+ ]
84
+ },
85
+ "observation.state": {
86
+ "type": "STATE",
87
+ "shape": [
88
+ 14
89
+ ]
90
+ }
91
+ },
92
+ "output_features": {
93
+ "action": {
94
+ "type": "ACTION",
95
+ "shape": [
96
+ 14
97
+ ]
98
+ }
99
+ },
100
+ "device": "cuda",
101
+ "use_amp": false,
102
+ "chunk_size": 100,
103
+ "n_action_steps": 100,
104
+ "temporal_ensemble_coeff": null,
105
+ "vision_backbone": "resnet18",
106
+ "pretrained_backbone_weights": "ResNet18_Weights.IMAGENET1K_V1",
107
+ "replace_final_stride_with_dilation": false,
108
+ "use_group_norm": true,
109
+ "pre_norm": false,
110
+ "dim_model": 512,
111
+ "n_heads": 8,
112
+ "dim_feedforward": 3200,
113
+ "feedforward_activation": "relu",
114
+ "n_encoder_layers": 4,
115
+ "n_decoder_layers": 1,
116
+ "use_vae": true,
117
+ "latent_dim": 32,
118
+ "n_vae_encoder_layers": 4,
119
+ "noise_scheduler_type": "DDPM",
120
+ "num_train_timesteps": 50,
121
+ "beta_schedule": "squaredcos_cap_v2",
122
+ "beta_start": 0.0001,
123
+ "beta_end": 0.02,
124
+ "prediction_type": "epsilon",
125
+ "clip_sample": true,
126
+ "clip_sample_range": 1.0,
127
+ "diffusion_refine_steps": 3,
128
+ "spatial_softmax_num_keypoints": 32,
129
+ "diffusion_down_dims": [
130
+ 256,
131
+ 512
132
+ ],
133
+ "diffusion_kernel_size": 3,
134
+ "diffusion_n_groups": 8,
135
+ "diffusion_step_embed_dim": 64,
136
+ "diffusion_use_film_scale_modulation": true,
137
+ "hybrid_mode": "sequential",
138
+ "hybrid_weight": 0.5,
139
+ "keyframe_indices": [
140
+ 0,
141
+ 49,
142
+ 99
143
+ ],
144
+ "diffusion_loss_weight": 1.0,
145
+ "dropout": 0.1,
146
+ "kl_weight": 1.0,
147
+ "smoothness_weight": 0.0,
148
+ "smoothness_type": "velocity",
149
+ "optimizer_lr": 1e-05,
150
+ "optimizer_weight_decay": 0.0001,
151
+ "optimizer_lr_backbone": 1e-05,
152
+ "optimizer_lr_diffusion": 0.0001,
153
+ "scheduler_name": "cosine",
154
+ "scheduler_num_warmup_steps": 500,
155
+ "scheduler_num_training_steps": 30000
156
+ },
157
+ "output_dir": "/root/lerobot/lerobot/common/policies/hybrid/outputs/run1",
158
+ "job_name": "hybrid_act_diffusion_train",
159
+ "resume": false,
160
+ "seed": 1000,
161
+ "num_workers": 16,
162
+ "batch_size": 32,
163
+ "steps": 40000,
164
+ "eval_freq": 10000,
165
+ "log_freq": 400,
166
+ "save_checkpoint": true,
167
+ "save_freq": 10000,
168
+ "use_policy_training_preset": true,
169
+ "optimizer": {
170
+ "type": "adamw",
171
+ "lr": 1e-05,
172
+ "weight_decay": 0.0001,
173
+ "grad_clip_norm": 10.0,
174
+ "betas": [
175
+ 0.9,
176
+ 0.999
177
+ ],
178
+ "eps": 1e-08
179
+ },
180
+ "scheduler": {
181
+ "type": "diffuser",
182
+ "num_warmup_steps": 500,
183
+ "name": "cosine"
184
+ },
185
+ "eval": {
186
+ "n_episodes": 50,
187
+ "batch_size": 50,
188
+ "use_async_envs": false
189
+ },
190
+ "wandb": {
191
+ "enable": false,
192
+ "disable_artifact": false,
193
+ "project": "hybrid_policy_training",
194
+ "entity": null,
195
+ "notes": "Hybrid ACT-Diffusion training run",
196
+ "run_id": null
197
+ }
198
+ }