wjstx commited on
Commit
c53040d
·
verified ·
1 Parent(s): cf70469

Upload pick_tube_02_04_06 PCA30 LDP checkpoint

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