ducido commited on
Commit
cd97b68
·
verified ·
1 Parent(s): 78a4079

Initial commit

Browse files
.hydra/config.yaml ADDED
@@ -0,0 +1,271 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: diffusion_policy.workspace.train_diffusion_unet_hybrid_workspace.TrainDiffusionUnetHybridWorkspace
2
+ checkpoint:
3
+ save_last_ckpt: true
4
+ save_last_snapshot: false
5
+ topk:
6
+ format_str: epoch={epoch:04d}-test_mean_score={test_mean_score:.3f}.ckpt
7
+ k: 5
8
+ mode: max
9
+ monitor_key: test_mean_score
10
+ dataloader:
11
+ batch_size: 64
12
+ num_workers: 8
13
+ persistent_workers: false
14
+ pin_memory: true
15
+ shuffle: true
16
+ dataset_obs_steps: 2
17
+ ema:
18
+ _target_: diffusion_policy.model.diffusion.ema_model.EMAModel
19
+ inv_gamma: 1.0
20
+ max_value: 0.9999
21
+ min_value: 0.0
22
+ power: 0.75
23
+ update_after_step: 0
24
+ exp_name: default
25
+ horizon: 32
26
+ keypoint_visible_rate: 1.0
27
+ logging:
28
+ group: null
29
+ id: null
30
+ mode: online
31
+ name: ${now:%Y.%m.%d}_${now:%H.%M.%S}_train_diffusion_unet_hybrid_aloha_image
32
+ project: GBC-PBRL-2026
33
+ resume: true
34
+ tags:
35
+ - train_diffusion_unet_hybrid
36
+ - aloha_image
37
+ - default
38
+ entity: Robotics_VLA
39
+ multi_run:
40
+ run_dir: data/outputs/${now:%Y-%m-%d}/${now:%H-%M-%S}_train_diffusion_unet_hybrid_aloha_image
41
+ wandb_name_base: ${now:%Y-%m-%d}_${now:%H-%M-%S}_train_diffusion_unet_hybrid_aloha_image
42
+ n_action_steps: 15
43
+ n_latency_steps: 0
44
+ n_obs_steps: 2
45
+ name: dp_cnn_ERate
46
+ obs_as_global_cond: true
47
+ optimizer:
48
+ _target_: torch.optim.AdamW
49
+ betas:
50
+ - 0.95
51
+ - 0.999
52
+ eps: 1.0e-08
53
+ lr: 0.0001
54
+ weight_decay: 1.0e-06
55
+ past_action_visible: false
56
+ policy:
57
+ _target_: diffusion_policy.policy.diffusion_unet_hybrid_image_policy.DiffusionUnetHybridImagePolicy
58
+ cond_predict_scale: true
59
+ crop_shape:
60
+ - 128
61
+ - 128
62
+ diffusion_step_embed_dim: 128
63
+ down_dims:
64
+ - 512
65
+ - 1024
66
+ - 2048
67
+ eval_fixed_crop: true
68
+ horizon: 32
69
+ kernel_size: 5
70
+ n_action_steps: 15
71
+ n_groups: 8
72
+ n_obs_steps: 2
73
+ noise_scheduler:
74
+ _target_: diffusers.schedulers.scheduling_ddpm.DDPMScheduler
75
+ beta_end: 0.02
76
+ beta_schedule: squaredcos_cap_v2
77
+ beta_start: 0.0001
78
+ clip_sample: true
79
+ num_train_timesteps: 100
80
+ prediction_type: epsilon
81
+ variance_type: fixed_small
82
+ num_inference_steps: 100
83
+ obs_as_global_cond: true
84
+ obs_encoder_group_norm: true
85
+ shape_meta:
86
+ action:
87
+ shape:
88
+ - 14
89
+ obs:
90
+ states:
91
+ shape:
92
+ - 14
93
+ high_images:
94
+ shape:
95
+ - 3
96
+ - 480
97
+ - 640
98
+ type: rgb
99
+ wrist_left_images:
100
+ shape:
101
+ - 3
102
+ - 480
103
+ - 640
104
+ type: rgb
105
+ wrist_right_images:
106
+ shape:
107
+ - 3
108
+ - 480
109
+ - 640
110
+ type: rgb
111
+ shape_meta:
112
+ action:
113
+ shape:
114
+ - 14
115
+ obs:
116
+ states:
117
+ shape:
118
+ - 14
119
+ high_images:
120
+ shape:
121
+ - 3
122
+ - 480
123
+ - 640
124
+ type: rgb
125
+ wrist_left_images:
126
+ shape:
127
+ - 3
128
+ - 480
129
+ - 640
130
+ type: rgb
131
+ wrist_right_images:
132
+ shape:
133
+ - 3
134
+ - 480
135
+ - 640
136
+ type: rgb
137
+ task:
138
+ dataset:
139
+ _target_: diffusion_policy.dataset.aloha_replay_image_dataset.AlohaReplayImageDataset
140
+ dataset_path: /pfss/mlde/workspaces/mlde_wsp_MGPATH/VLA/lpb_libero/data/aloha/fold_shirt/fold_shirt_demo.hdf5
141
+ horizon: 32
142
+ n_obs_steps: 2
143
+ pad_after: 7
144
+ pad_before: 1
145
+ seed: 42
146
+ shape_meta:
147
+ action:
148
+ shape:
149
+ - 14
150
+ obs:
151
+ states:
152
+ shape:
153
+ - 14
154
+ high_images:
155
+ shape:
156
+ - 3
157
+ - 480
158
+ - 640
159
+ type: rgb
160
+ wrist_left_images:
161
+ shape:
162
+ - 3
163
+ - 480
164
+ - 640
165
+ type: rgb
166
+ wrist_right_images:
167
+ shape:
168
+ - 3
169
+ - 480
170
+ - 640
171
+ type: rgb
172
+ use_cache: true
173
+ val_ratio: 0.1
174
+ dataset_path: /pfss/mlde/workspaces/mlde_wsp_MGPATH/VLA/lpb_libero/data/aloha/fold_shirt/fold_shirt_demo.hdf5
175
+ dataset_type: mh
176
+ env_runner:
177
+ _target_: diffusion_policy.env_runner.robomimic_image_runner.RobomimicImageRunner
178
+ crf: 22
179
+ dataset_path: /pfss/mlde/workspaces/mlde_wsp_MGPATH/VLA/lpb_libero/data/aloha/fold_shirt/fold_shirt_demo.hdf5
180
+ fps: 10
181
+ max_steps: 700
182
+ n_action_steps: 15
183
+ n_envs: 28
184
+ n_obs_steps: 2
185
+ n_test: 50
186
+ n_test_vis: 4
187
+ n_train: 6
188
+ n_train_vis: 2
189
+ past_action: false
190
+ render_obs_key: shouldercamera0_image
191
+ shape_meta:
192
+ action:
193
+ shape:
194
+ - 14
195
+ obs:
196
+ states:
197
+ shape:
198
+ - 14
199
+ high_images:
200
+ shape:
201
+ - 3
202
+ - 480
203
+ - 640
204
+ type: rgb
205
+ wrist_left_images:
206
+ shape:
207
+ - 3
208
+ - 480
209
+ - 640
210
+ type: rgb
211
+ wrist_right_images:
212
+ shape:
213
+ - 3
214
+ - 480
215
+ - 640
216
+ type: rgb
217
+ test_start_seed: 100000
218
+ tqdm_interval_sec: 1.0
219
+ train_start_idx: 0
220
+ name: aloha_image
221
+ shape_meta:
222
+ action:
223
+ shape:
224
+ - 14
225
+ obs:
226
+ states:
227
+ shape:
228
+ - 14
229
+ high_images:
230
+ shape:
231
+ - 3
232
+ - 480
233
+ - 640
234
+ type: rgb
235
+ wrist_left_images:
236
+ shape:
237
+ - 3
238
+ - 480
239
+ - 640
240
+ type: rgb
241
+ wrist_right_images:
242
+ shape:
243
+ - 3
244
+ - 480
245
+ - 640
246
+ type: rgb
247
+ task_name: aloha
248
+ task_name: aloha_image
249
+ training:
250
+ checkpoint_every: 20
251
+ debug: false
252
+ device: cuda:0
253
+ gradient_accumulate_every: 1
254
+ lr_scheduler: cosine
255
+ lr_warmup_steps: 500
256
+ max_train_steps: null
257
+ max_val_steps: null
258
+ num_epochs: 500
259
+ resume: true
260
+ rollout_every: 20
261
+ sample_every: 5
262
+ seed: 42
263
+ tqdm_interval_sec: 1.0
264
+ use_ema: true
265
+ val_every: 1
266
+ val_dataloader:
267
+ batch_size: 64
268
+ num_workers: 8
269
+ persistent_workers: false
270
+ pin_memory: true
271
+ shuffle: false
.hydra/hydra.yaml ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: logs/reproduce/${task_name}/${logging.group}/${logging.name}
4
+ sweep:
5
+ dir: multirun/${now:%Y-%m-%d}/${now:%H-%M-%S}
6
+ subdir: ${hydra.job.num}
7
+ launcher:
8
+ _target_: hydra._internal.core_plugins.basic_launcher.BasicLauncher
9
+ sweeper:
10
+ _target_: hydra._internal.core_plugins.basic_sweeper.BasicSweeper
11
+ max_batch_size: null
12
+ params: null
13
+ help:
14
+ app_name: ${hydra.job.name}
15
+ header: '${hydra.help.app_name} is powered by Hydra.
16
+
17
+ '
18
+ footer: 'Powered by Hydra (https://hydra.cc)
19
+
20
+ Use --hydra-help to view Hydra specific help
21
+
22
+ '
23
+ template: '${hydra.help.header}
24
+
25
+ == Configuration groups ==
26
+
27
+ Compose your configuration from those groups (group=option)
28
+
29
+
30
+ $APP_CONFIG_GROUPS
31
+
32
+
33
+ == Config ==
34
+
35
+ Override anything in the config (foo.bar=value)
36
+
37
+
38
+ $CONFIG
39
+
40
+
41
+ ${hydra.help.footer}
42
+
43
+ '
44
+ hydra_help:
45
+ template: 'Hydra (${hydra.runtime.version})
46
+
47
+ See https://hydra.cc for more info.
48
+
49
+
50
+ == Flags ==
51
+
52
+ $FLAGS_HELP
53
+
54
+
55
+ == Configuration groups ==
56
+
57
+ Compose your configuration from those groups (For example, append hydra/job_logging=disabled
58
+ to command line)
59
+
60
+
61
+ $HYDRA_CONFIG_GROUPS
62
+
63
+
64
+ Use ''--cfg hydra'' to Show the Hydra config.
65
+
66
+ '
67
+ hydra_help: ???
68
+ hydra_logging:
69
+ version: 1
70
+ formatters:
71
+ simple:
72
+ format: '[%(asctime)s][HYDRA] %(message)s'
73
+ handlers:
74
+ console:
75
+ class: logging.StreamHandler
76
+ formatter: simple
77
+ stream: ext://sys.stdout
78
+ root:
79
+ level: INFO
80
+ handlers:
81
+ - console
82
+ loggers:
83
+ logging_example:
84
+ level: DEBUG
85
+ disable_existing_loggers: false
86
+ job_logging:
87
+ version: 1
88
+ formatters:
89
+ simple:
90
+ format: '[%(asctime)s][%(name)s][%(levelname)s] - %(message)s'
91
+ handlers:
92
+ console:
93
+ class: logging.StreamHandler
94
+ formatter: simple
95
+ stream: ext://sys.stdout
96
+ file:
97
+ class: logging.FileHandler
98
+ formatter: simple
99
+ filename: ${hydra.runtime.output_dir}/${hydra.job.name}.log
100
+ root:
101
+ level: INFO
102
+ handlers:
103
+ - console
104
+ - file
105
+ disable_existing_loggers: false
106
+ env: {}
107
+ mode: RUN
108
+ searchpath: []
109
+ callbacks: {}
110
+ output_subdir: .hydra
111
+ overrides:
112
+ hydra:
113
+ - hydra.run.dir=logs/reproduce/${task_name}/${logging.group}/${logging.name}
114
+ - hydra.mode=RUN
115
+ task:
116
+ - training.seed=42
117
+ - name=dp_cnn_ERate
118
+ - logging.project=GBC-PBRL-2026
119
+ - +logging.entity=Robotics_VLA
120
+ - logging.mode=online
121
+ - task.dataset.val_ratio=0.1
122
+ - training.num_epochs=500
123
+ job:
124
+ name: train
125
+ chdir: null
126
+ override_dirname: +logging.entity=Robotics_VLA,logging.mode=online,logging.project=GBC-PBRL-2026,name=dp_cnn_ERate,task.dataset.val_ratio=0.1,training.num_epochs=500,training.seed=42
127
+ id: ???
128
+ num: ???
129
+ config_name: image_aloha_diffusion_policy_cnn.yaml
130
+ env_set: {}
131
+ env_copy: []
132
+ config:
133
+ override_dirname:
134
+ kv_sep: '='
135
+ item_sep: ','
136
+ exclude_keys: []
137
+ runtime:
138
+ version: 1.2.0
139
+ version_base: '1.2'
140
+ cwd: /pfss/mlde/workspaces/mlde_wsp_MGPATH/VLA/lpb_libero
141
+ config_sources:
142
+ - path: hydra.conf
143
+ schema: pkg
144
+ provider: hydra
145
+ - path: /pfss/mlde/workspaces/mlde_wsp_MGPATH/VLA/lpb_libero/diffusion_policy/config
146
+ schema: file
147
+ provider: main
148
+ - path: /pfss/mlde/workspaces/mlde_wsp_MGPATH/VLA/lpb_libero
149
+ schema: file
150
+ provider: command-line
151
+ - path: ''
152
+ schema: structured
153
+ provider: schema
154
+ output_dir: /pfss/mlde/workspaces/mlde_wsp_MGPATH/VLA/lpb_libero/logs/reproduce/aloha_image/None/2026.06.02_03.50.28_train_diffusion_unet_hybrid_aloha_image
155
+ choices:
156
+ hydra/env: default
157
+ hydra/callbacks: null
158
+ hydra/job_logging: default
159
+ hydra/hydra_logging: default
160
+ hydra/hydra_help: default
161
+ hydra/help: default
162
+ hydra/sweeper: basic
163
+ hydra/launcher: basic
164
+ hydra/output: default
165
+ verbose: false
.hydra/overrides.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ - training.seed=42
2
+ - name=dp_cnn_ERate
3
+ - logging.project=GBC-PBRL-2026
4
+ - +logging.entity=Robotics_VLA
5
+ - logging.mode=online
6
+ - task.dataset.val_ratio=0.1
7
+ - training.num_epochs=500
checkpoints/40.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0813c4dfe9d7d7ba15135e5d5e85bb59985b8c7ad9b382d9ee88d28e0d29467
3
+ size 4960156329
logs.json.txt ADDED
The diff for this file is too large to render. See raw diff
 
normalizer.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fececb5e44305002c27babbe7c7f6146b63cc19bdf0d054bdd3811f7a61a3b6
3
+ size 9547
train.log ADDED
@@ -0,0 +1 @@
 
 
1
+ [2026-06-02 03:50:35,807][diffusion_policy.model.diffusion.conditional_unet1d][INFO] - number of parameters: 2.595831e+08