wjstx commited on
Commit
4d1beea
·
verified ·
1 Parent(s): e1bd330

Upload four-dataset PCA30 LDP20

Browse files
pick_tube_02_04_05_06/pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/ldp/.hydra/config.yaml ADDED
@@ -0,0 +1,261 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task:
2
+ name: pick_tube_image_tactile_emb_ldp_30fps
3
+ dataset_path: /home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/pick_tube_02_04_05_06_pca30_armwise_rdp_zarr
4
+ image_shape:
5
+ - 3
6
+ - 224
7
+ - 224
8
+ tactile_embedding_dim: 30
9
+ shape_meta:
10
+ obs:
11
+ camera1:
12
+ shape: ${task.image_shape}
13
+ type: rgb
14
+ camera2:
15
+ shape: ${task.image_shape}
16
+ type: rgb
17
+ observation_state:
18
+ shape:
19
+ - 20
20
+ type: low_dim
21
+ tactile_embedding:
22
+ shape:
23
+ - ${task.tactile_embedding_dim}
24
+ type: low_dim
25
+ extended_obs:
26
+ tactile_embedding:
27
+ shape:
28
+ - ${task.tactile_embedding_dim}
29
+ type: low_dim
30
+ action:
31
+ shape:
32
+ - 20
33
+ dataset:
34
+ _target_: reactive_diffusion_policy.dataset.real_image_tactile_latent_diffusion_dataset.RealImageTactileLatentDiffusionDataset
35
+ shape_meta:
36
+ obs:
37
+ camera1:
38
+ shape: ${task.image_shape}
39
+ type: rgb
40
+ camera2:
41
+ shape: ${task.image_shape}
42
+ type: rgb
43
+ observation_state:
44
+ shape:
45
+ - 20
46
+ type: low_dim
47
+ tactile_embedding:
48
+ shape:
49
+ - ${task.tactile_embedding_dim}
50
+ type: low_dim
51
+ extended_obs:
52
+ tactile_embedding:
53
+ shape:
54
+ - ${task.tactile_embedding_dim}
55
+ type: low_dim
56
+ action:
57
+ shape:
58
+ - 20
59
+ dataset_path: ${task.dataset_path}
60
+ horizon: ${horizon}
61
+ pad_before: ${eval:'${dataset_obs_steps}-1+${n_latency_steps}'}
62
+ pad_after: ${eval:'${n_action_steps}-1'}
63
+ n_obs_steps: ${dataset_obs_steps}
64
+ obs_temporal_downsample_ratio: ${dataset_obs_temporal_downsample_ratio}
65
+ n_latency_steps: ${n_latency_steps}
66
+ seed: 42
67
+ val_ratio: 0.0
68
+ max_train_episodes: null
69
+ use_episode_repeats: false
70
+ delta_action: false
71
+ relative_action: false
72
+ transform_params: null
73
+ load_to_memory: false
74
+ bimanual_contiguous_action: true
75
+ use_latent_action_before_vq: false
76
+ at:
77
+ _target_: reactive_diffusion_policy.model.vae.model.VAE
78
+ shape_meta: ${shape_meta}
79
+ horizon: ${at.policy.horizon}
80
+ n_latent_dims: ${at.policy.n_latent_dims}
81
+ mlp_layer_num: ${at.policy.mlp_layer_num}
82
+ use_conv_encoder: ${at.policy.use_conv_encoder}
83
+ conv_latent_dims: ${at.policy.conv_latent_dims}
84
+ conv_layer_num: ${at.policy.conv_layer_num}
85
+ use_rnn_decoder: ${at.policy.use_rnn_decoder}
86
+ rnn_latent_dims: ${at.policy.rnn_latent_dims}
87
+ rnn_layer_num: ${at.policy.rnn_layer_num}
88
+ use_vq: ${at.policy.use_vq}
89
+ n_embed: ${at.policy.n_embed}
90
+ vqvae_groups: ${at.policy.vqvae_groups}
91
+ eval: true
92
+ load_dir: ${at_load_dir}
93
+ act_scale: ${at.policy.act_scale}
94
+ at:
95
+ horizon: 32
96
+ n_obs_steps: 2
97
+ dataset_obs_temporal_downsample_ratio: 2
98
+ policy:
99
+ horizon: ${horizon}
100
+ n_latent_dims: 16
101
+ mlp_layer_num: 1
102
+ use_conv_encoder: true
103
+ conv_latent_dims: 32
104
+ conv_layer_num: 1
105
+ use_rnn_decoder: true
106
+ rnn_latent_dims: 64
107
+ rnn_layer_num: 1
108
+ kl_multiplier: 1.0e-06
109
+ n_embed: 32
110
+ use_vq: false
111
+ vqvae_groups: 4
112
+ eval: false
113
+ act_scale: 1
114
+ name: train_latent_diffusion_unet_image
115
+ _target_: reactive_diffusion_policy.workspace.train_diffusion_unet_image_workspace.TrainDiffusionUnetImageWorkspace
116
+ task_name: ${task.name}
117
+ shape_meta: ${task.shape_meta}
118
+ exp_name: default
119
+ horizon: ${at.horizon}
120
+ n_obs_steps: ${at.n_obs_steps}
121
+ n_latency_steps: 0
122
+ obs_temporal_downsample_ratio: 2
123
+ dataset_obs_steps: ${eval:'${at.n_obs_steps}*${at.dataset_obs_temporal_downsample_ratio}'}
124
+ dataset_obs_temporal_downsample_ratio: ${at.dataset_obs_temporal_downsample_ratio}
125
+ n_action_steps: ${eval:'${horizon}-${dataset_obs_steps}+1'}
126
+ past_action_visible: false
127
+ keypoint_visible_rate: 1.0
128
+ at_load_dir: /home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/outputs/pick_tube_02_04_05_06/at_pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/checkpoints/latest.ckpt
129
+ use_latent_action_before_vq: false
130
+ obs_as_global_cond: true
131
+ policy:
132
+ _target_: reactive_diffusion_policy.policy.latent_diffusion_unet_image_policy.LatentDiffusionUnetImagePolicy
133
+ shape_meta: ${shape_meta}
134
+ noise_scheduler:
135
+ _target_: diffusers.schedulers.scheduling_ddim.DDIMScheduler
136
+ num_train_timesteps: 100
137
+ beta_start: 0.0001
138
+ beta_end: 0.02
139
+ beta_schedule: squaredcos_cap_v2
140
+ clip_sample: true
141
+ set_alpha_to_one: true
142
+ steps_offset: 0
143
+ prediction_type: epsilon
144
+ obs_encoder:
145
+ _target_: reactive_diffusion_policy.model.vision.multi_image_obs_encoder.MultiImageObsEncoder
146
+ shape_meta: ${shape_meta}
147
+ rgb_model:
148
+ _target_: reactive_diffusion_policy.model.vision.model_getter.get_resnet
149
+ name: resnet18
150
+ weights: null
151
+ resize_shape:
152
+ - 224
153
+ - 224
154
+ random_transforms:
155
+ - type: RandomCrop
156
+ ratio: 0.9
157
+ use_group_norm: true
158
+ share_rgb_model: false
159
+ imagenet_norm: true
160
+ use_latent_action_before_vq: ${use_latent_action_before_vq}
161
+ at:
162
+ _target_: reactive_diffusion_policy.model.vae.model.VAE
163
+ shape_meta: ${shape_meta}
164
+ horizon: ${at.policy.horizon}
165
+ n_latent_dims: ${at.policy.n_latent_dims}
166
+ mlp_layer_num: ${at.policy.mlp_layer_num}
167
+ use_conv_encoder: ${at.policy.use_conv_encoder}
168
+ conv_latent_dims: ${at.policy.conv_latent_dims}
169
+ conv_layer_num: ${at.policy.conv_layer_num}
170
+ use_rnn_decoder: ${at.policy.use_rnn_decoder}
171
+ rnn_latent_dims: ${at.policy.rnn_latent_dims}
172
+ rnn_layer_num: ${at.policy.rnn_layer_num}
173
+ use_vq: ${at.policy.use_vq}
174
+ n_embed: ${at.policy.n_embed}
175
+ vqvae_groups: ${at.policy.vqvae_groups}
176
+ eval: true
177
+ load_dir: ${at_load_dir}
178
+ act_scale: ${at.policy.act_scale}
179
+ horizon: ${horizon}
180
+ n_action_steps: ${eval:'${n_action_steps}+${n_latency_steps}'}
181
+ n_obs_steps: ${n_obs_steps}
182
+ num_inference_steps: 100
183
+ obs_as_global_cond: ${obs_as_global_cond}
184
+ diffusion_step_embed_dim: 128
185
+ down_dims:
186
+ - 512
187
+ - 1024
188
+ - 2048
189
+ kernel_size: 5
190
+ n_groups: 8
191
+ cond_predict_scale: true
192
+ ema:
193
+ _target_: reactive_diffusion_policy.model.diffusion.ema_model.EMAModel
194
+ update_after_step: 0
195
+ inv_gamma: 1.0
196
+ power: 0.75
197
+ min_value: 0.0
198
+ max_value: 0.9999
199
+ dataloader:
200
+ batch_size: 64
201
+ num_workers: 8
202
+ shuffle: true
203
+ pin_memory: true
204
+ persistent_workers: true
205
+ val_dataloader:
206
+ batch_size: 64
207
+ num_workers: 8
208
+ shuffle: false
209
+ pin_memory: true
210
+ persistent_workers: true
211
+ optimizer:
212
+ _target_: torch.optim.AdamW
213
+ lr: 0.0001
214
+ betas:
215
+ - 0.95
216
+ - 0.999
217
+ eps: 1.0e-08
218
+ weight_decay: 1.0e-06
219
+ encoder_weight_decay: 1.0e-06
220
+ training:
221
+ device: cuda:0
222
+ seed: 42
223
+ debug: false
224
+ resume: false
225
+ lr_scheduler: cosine
226
+ lr_warmup_steps: 500
227
+ num_epochs: 20
228
+ gradient_accumulate_every: 1
229
+ use_ema: true
230
+ freeze_encoder: false
231
+ rollout_every: 50
232
+ checkpoint_every: 1
233
+ val_every: 1
234
+ sample_every: 10
235
+ max_train_steps: null
236
+ max_val_steps: null
237
+ tqdm_interval_sec: 1.0
238
+ layer_decay: 1.0
239
+ encoder_lr_coefficient: 0.1
240
+ logging:
241
+ project: latent_diffusion_policy_tactile
242
+ resume: true
243
+ mode: online
244
+ name: ${now:%Y.%m.%d-%H.%M.%S}_${name}_${task_name}
245
+ tags:
246
+ - ${name}
247
+ - ${task_name}
248
+ - ${exp_name}
249
+ id: null
250
+ group: null
251
+ checkpoint:
252
+ topk:
253
+ monitor_key: train_loss
254
+ mode: min
255
+ k: 1
256
+ format_str: epoch={epoch:04d}-train_loss={train_loss:.3f}.ckpt
257
+ save_last_ckpt: true
258
+ save_last_snapshot: false
259
+ multi_run:
260
+ run_dir: data/outputs/${now:%Y.%m.%d}/${now:%H.%M.%S}_${name}_${task_name}
261
+ wandb_name_base: ${now:%Y.%m.%d-%H.%M.%S}_${name}_${task_name}
pick_tube_02_04_05_06/pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/ldp/.hydra/hydra.yaml ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ hydra:
2
+ run:
3
+ dir: /home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/outputs/pick_tube_02_04_05_06/ldp_pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1
4
+ sweep:
5
+ dir: data/outputs/${now:%Y.%m.%d}/${now:%H.%M.%S}_${name}_${task_name}
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=/home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/outputs/pick_tube_02_04_05_06/ldp_pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1
114
+ - hydra.mode=RUN
115
+ task:
116
+ - task.dataset_path=/home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/pick_tube_02_04_05_06_pca30_armwise_rdp_zarr
117
+ - task.tactile_embedding_dim=30
118
+ - at_load_dir='/home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/outputs/pick_tube_02_04_05_06/at_pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/checkpoints/latest.ckpt'
119
+ - logging.mode=online
120
+ - training.resume=false
121
+ - training.num_epochs=20
122
+ - training.checkpoint_every=1
123
+ - dataloader.batch_size=64
124
+ - val_dataloader.batch_size=64
125
+ - dataloader.num_workers=8
126
+ - val_dataloader.num_workers=8
127
+ job:
128
+ name: train
129
+ chdir: null
130
+ override_dirname: at_load_dir='/home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/outputs/pick_tube_02_04_05_06/at_pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/checkpoints/latest.ckpt',dataloader.batch_size=64,dataloader.num_workers=8,logging.mode=online,task.dataset_path=/home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/pick_tube_02_04_05_06_pca30_armwise_rdp_zarr,task.tactile_embedding_dim=30,training.checkpoint_every=1,training.num_epochs=20,training.resume=false,val_dataloader.batch_size=64,val_dataloader.num_workers=8
131
+ id: ???
132
+ num: ???
133
+ config_name: train_pick_tube_ldp_workspace
134
+ env_set: {}
135
+ env_copy: []
136
+ config:
137
+ override_dirname:
138
+ kv_sep: '='
139
+ item_sep: ','
140
+ exclude_keys: []
141
+ runtime:
142
+ version: 1.3.5
143
+ version_base: '1.3'
144
+ cwd: /home/hillbot/FRS_Tact/reactive_diffusion_policy-main
145
+ config_sources:
146
+ - path: hydra.conf
147
+ schema: pkg
148
+ provider: hydra
149
+ - path: /home/hillbot/FRS_Tact/reactive_diffusion_policy-main/reactive_diffusion_policy/config
150
+ schema: file
151
+ provider: main
152
+ - path: ''
153
+ schema: structured
154
+ provider: schema
155
+ output_dir: /home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/outputs/pick_tube_02_04_05_06/ldp_pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1
156
+ choices:
157
+ at: at_pick_tube
158
+ task: pick_tube_image_tactile_emb_ldp_30fps
159
+ hydra/env: default
160
+ hydra/callbacks: null
161
+ hydra/job_logging: default
162
+ hydra/hydra_logging: default
163
+ hydra/hydra_help: default
164
+ hydra/help: default
165
+ hydra/sweeper: basic
166
+ hydra/launcher: basic
167
+ hydra/output: default
168
+ verbose: false
pick_tube_02_04_05_06/pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/ldp/.hydra/overrides.yaml ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ - task.dataset_path=/home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/pick_tube_02_04_05_06_pca30_armwise_rdp_zarr
2
+ - task.tactile_embedding_dim=30
3
+ - at_load_dir='/home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/outputs/pick_tube_02_04_05_06/at_pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/checkpoints/latest.ckpt'
4
+ - logging.mode=online
5
+ - training.resume=false
6
+ - training.num_epochs=20
7
+ - training.checkpoint_every=1
8
+ - dataloader.batch_size=64
9
+ - val_dataloader.batch_size=64
10
+ - dataloader.num_workers=8
11
+ - val_dataloader.num_workers=8
pick_tube_02_04_05_06/pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/ldp/checkpoints/latest.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4750b6023b70bfd6271824bdababf63d0336b109b4c12848d564a0d0e4af46a
3
+ size 3857142477
pick_tube_02_04_05_06/pca30_armwise_02_04_05_06_at20_ldp20_rdp_dim_ablation_v1/ldp/normalizer.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e4e2481080a7b44e68d410738dbe5da0e687b6352cea915ddd31c8b744e74be5
3
+ size 15514