thankyoualways commited on
Commit
456351c
·
verified ·
1 Parent(s): 7601225

Upload policy_checkpoints/CoffeePreparation_D1/2025-02-01-23-45-24_E32.0-CoffeePreparation_D1-500/.hydra/config.yaml with huggingface_hub

Browse files
policy_checkpoints/CoffeePreparation_D1/2025-02-01-23-45-24_E32.0-CoffeePreparation_D1-500/.hydra/config.yaml ADDED
@@ -0,0 +1,251 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: train_diffusion_unet_image
2
+ _target_: adaflow.workspace.train_diffusion_unet_image_workspace.TrainDiffusionUnetImageWorkspace
3
+ task_name: ${task.name}
4
+ dataset_type: ${task.dataset_type}
5
+ shape_meta: ${task.shape_meta}
6
+ exp_name: default
7
+ horizon: 16
8
+ n_obs_steps: 2
9
+ n_action_steps: 8
10
+ n_latency_steps: 0
11
+ dataset_obs_steps: ${n_obs_steps}
12
+ past_action_visible: false
13
+ keypoint_visible_rate: 1.0
14
+ obs_as_global_cond: true
15
+ normalize_pixel: false
16
+ policy:
17
+ _target_: adaflow.policy.diffusion_unet_image_policy.DiffusionUnetImagePolicy
18
+ shape_meta: ${shape_meta}
19
+ noise_scheduler:
20
+ _target_: diffusers.schedulers.scheduling_ddpm.DDPMScheduler
21
+ num_train_timesteps: 100
22
+ beta_start: 0.0001
23
+ beta_end: 0.02
24
+ beta_schedule: squaredcos_cap_v2
25
+ variance_type: fixed_small
26
+ clip_sample: true
27
+ prediction_type: epsilon
28
+ obs_encoder:
29
+ _target_: adaflow.model.vision.multi_image_obs_encoder.MultiImageObsEncoder
30
+ shape_meta: ${shape_meta}
31
+ rgb_model:
32
+ _target_: adaflow.model.vision.model_getter.get_resnet
33
+ name: resnet18
34
+ weights: null
35
+ resize_shape: null
36
+ crop_shape:
37
+ - 76
38
+ - 76
39
+ random_crop: true
40
+ use_group_norm: true
41
+ share_rgb_model: false
42
+ imagenet_norm: true
43
+ depth_norm: true
44
+ norm_args:
45
+ robot0_eye_in_hand_depth:
46
+ clamp_max: 1.0
47
+ mean: 0.177
48
+ std: 0.1699
49
+ agentview_depth:
50
+ clamp_max: 1.75
51
+ mean: 0.778
52
+ std: 0.349
53
+ horizon: ${horizon}
54
+ n_action_steps: ${eval:'${n_action_steps}+${n_latency_steps}'}
55
+ n_obs_steps: ${n_obs_steps}
56
+ num_inference_steps: 100
57
+ obs_as_global_cond: ${obs_as_global_cond}
58
+ diffusion_step_embed_dim: 128
59
+ down_dims:
60
+ - 512
61
+ - 1024
62
+ - 2048
63
+ kernel_size: 5
64
+ n_groups: 8
65
+ cond_predict_scale: true
66
+ ema:
67
+ _target_: adaflow.model.diffusion.ema_model.EMAModel
68
+ update_after_step: 0
69
+ inv_gamma: 1.0
70
+ power: 0.75
71
+ min_value: 0.0
72
+ max_value: 0.9999
73
+ dataloader:
74
+ batch_size: 64
75
+ num_workers: 4
76
+ shuffle: true
77
+ pin_memory: true
78
+ persistent_workers: false
79
+ val_dataloader:
80
+ batch_size: 64
81
+ num_workers: 8
82
+ shuffle: false
83
+ pin_memory: true
84
+ persistent_workers: false
85
+ optimizer:
86
+ _target_: torch.optim.AdamW
87
+ lr: 0.0001
88
+ betas:
89
+ - 0.95
90
+ - 0.999
91
+ eps: 1.0e-08
92
+ weight_decay: 1.0e-06
93
+ training:
94
+ device: cuda:0
95
+ seed: 42
96
+ debug: false
97
+ resume: true
98
+ resume_dir: /mnt/data1/kevin/autom/adaflow//policy_checkpoints/CoffeePreparation_D1/2025-02-01-23-45-24_E32.0-CoffeePreparation_D1-500/
99
+ lr_scheduler: cosine
100
+ lr_warmup_steps: 500
101
+ num_epochs: 500
102
+ gradient_accumulate_every: 1
103
+ use_ema: true
104
+ freeze_encoder: false
105
+ rollout_every: 20
106
+ checkpoint_every: 20
107
+ val_every: 5
108
+ sample_every: 5
109
+ max_train_steps: null
110
+ max_val_steps: null
111
+ tqdm_interval_sec: 1.0
112
+ pretrained_ckpt: null
113
+ logging:
114
+ project: adaflow
115
+ resume: true
116
+ mode: online
117
+ name: E32.0-CoffeePreparation_D1-500_CoffeePreparation_D1_2025-02-01-23-45-24
118
+ tags:
119
+ - ${name}
120
+ - ${task_name}
121
+ - ${exp_name}
122
+ id: null
123
+ group: null
124
+ checkpoint:
125
+ topk:
126
+ monitor_key: test_mean_score
127
+ mode: max
128
+ k: 1
129
+ format_str: epoch={epoch:04d}-test_mean_score={test_mean_score:.3f}.ckpt
130
+ save_last_ckpt: true
131
+ save_last_snapshot: false
132
+ multi_run:
133
+ run_dir: /mnt/data1/kevin/autom/adaflow//policy_checkpoints/CoffeePreparation_D1/2025-02-01-23-45-24_E32.0-CoffeePreparation_D1-500
134
+ wandb_name_base: ${now:%Y.%m.%d-%H.%M.%S}_${name}_${task_name}_${dataset_type}
135
+ task:
136
+ name: coffee_image
137
+ shape_meta:
138
+ obs:
139
+ agentview_image:
140
+ shape:
141
+ - 3
142
+ - 84
143
+ - 84
144
+ type: rgb
145
+ robot0_eye_in_hand_image:
146
+ shape:
147
+ - 3
148
+ - 84
149
+ - 84
150
+ type: rgb
151
+ robot0_eef_pos:
152
+ shape:
153
+ - 3
154
+ robot0_eef_quat:
155
+ shape:
156
+ - 4
157
+ robot0_gripper_qpos:
158
+ shape:
159
+ - 2
160
+ action:
161
+ shape:
162
+ - 10
163
+ task_name: coffee
164
+ dataset_type: ph
165
+ dataset_path: /mnt/data1/kevin/autom/demo-aug//datasets/generated/CoffeePreparation_D1/2025-02-01-23-45-24/merged_E32.0-CoffeePreparation_D1-500_all.hdf5
166
+ abs_action: true
167
+ env_runner:
168
+ _target_: adaflow.env_runner.robomimic_image_runner.RobomimicImageRunner
169
+ dataset_path: /mnt/data1/kevin/autom/demo-aug//datasets/generated/CoffeePreparation_D1/2025-02-01-23-45-24/merged_E32.0-CoffeePreparation_D1-500_all.hdf5
170
+ shape_meta:
171
+ obs:
172
+ agentview_image:
173
+ shape:
174
+ - 3
175
+ - 84
176
+ - 84
177
+ type: rgb
178
+ robot0_eye_in_hand_image:
179
+ shape:
180
+ - 3
181
+ - 84
182
+ - 84
183
+ type: rgb
184
+ robot0_eef_pos:
185
+ shape:
186
+ - 3
187
+ robot0_eef_quat:
188
+ shape:
189
+ - 4
190
+ robot0_gripper_qpos:
191
+ shape:
192
+ - 2
193
+ action:
194
+ shape:
195
+ - 10
196
+ n_train: 1
197
+ n_train_vis: 1
198
+ train_start_idx: 0
199
+ n_test: 50
200
+ n_test_vis: 50
201
+ test_start_seed: 100000
202
+ max_steps: ${eval:'1100 if "${task.dataset_type}" == "mh" else 1100'}
203
+ n_obs_steps: ${n_obs_steps}
204
+ n_action_steps: ${n_action_steps}
205
+ render_obs_key: agentview_image
206
+ fps: 10
207
+ crf: 22
208
+ past_action: ${past_action_visible}
209
+ abs_action: true
210
+ tqdm_interval_sec: 1.0
211
+ n_envs: 25
212
+ camera_depths: false
213
+ dataset:
214
+ _target_: adaflow.dataset.robomimic_replay_image_dataset.RobomimicReplayImageDataset
215
+ shape_meta:
216
+ obs:
217
+ agentview_image:
218
+ shape:
219
+ - 3
220
+ - 84
221
+ - 84
222
+ type: rgb
223
+ robot0_eye_in_hand_image:
224
+ shape:
225
+ - 3
226
+ - 84
227
+ - 84
228
+ type: rgb
229
+ robot0_eef_pos:
230
+ shape:
231
+ - 3
232
+ robot0_eef_quat:
233
+ shape:
234
+ - 4
235
+ robot0_gripper_qpos:
236
+ shape:
237
+ - 2
238
+ action:
239
+ shape:
240
+ - 10
241
+ dataset_path: /mnt/data1/kevin/autom/demo-aug//datasets/generated/CoffeePreparation_D1/2025-02-01-23-45-24/merged_E32.0-CoffeePreparation_D1-500_all.hdf5
242
+ horizon: ${horizon}
243
+ pad_before: ${eval:'${n_obs_steps}-1+${n_latency_steps}'}
244
+ pad_after: ${eval:'${n_action_steps}-1'}
245
+ n_obs_steps: ${dataset_obs_steps}
246
+ abs_action: true
247
+ rotation_rep: rotation_6d
248
+ use_legacy_normalizer: false
249
+ use_cache: true
250
+ seed: 42
251
+ val_ratio: 0.02