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

Upload 02/04/06 PCA30 AT for LDP20 experiment

Browse files
pick_tube_02_04_06/pca30_armwise_020406_ldp20_rdp_dim_ablation_v1/at/.hydra/config.yaml ADDED
@@ -0,0 +1,160 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ task:
2
+ name: pick_tube_image_tactile_emb_at_30fps
3
+ dataset_path: /home/hillbot/FRS_Tact/reactive_diffusion_policy-main/data/pick_tube_02_04_06_pca30_armwise_rdp_zarr
4
+ shape_meta:
5
+ obs:
6
+ observation_state:
7
+ shape:
8
+ - 20
9
+ type: low_dim
10
+ tactile_embedding:
11
+ shape:
12
+ - 30
13
+ type: low_dim
14
+ extended_obs:
15
+ tactile_embedding:
16
+ shape:
17
+ - 30
18
+ type: low_dim
19
+ action:
20
+ shape:
21
+ - 20
22
+ dataset:
23
+ _target_: reactive_diffusion_policy.dataset.real_image_tactile_dataset.RealImageTactileDataset
24
+ shape_meta:
25
+ obs:
26
+ observation_state:
27
+ shape:
28
+ - 20
29
+ type: low_dim
30
+ tactile_embedding:
31
+ shape:
32
+ - 30
33
+ type: low_dim
34
+ extended_obs:
35
+ tactile_embedding:
36
+ shape:
37
+ - 30
38
+ type: low_dim
39
+ action:
40
+ shape:
41
+ - 20
42
+ dataset_path: ${task.dataset_path}
43
+ horizon: ${horizon}
44
+ pad_before: ${eval:'${dataset_obs_steps}-1+${n_latency_steps}'}
45
+ pad_after: ${eval:'${n_action_steps}-1'}
46
+ n_obs_steps: ${dataset_obs_steps}
47
+ obs_temporal_downsample_ratio: ${dataset_obs_temporal_downsample_ratio}
48
+ n_latency_steps: ${n_latency_steps}
49
+ seed: 42
50
+ val_ratio: 0.0
51
+ max_train_episodes: null
52
+ use_episode_repeats: false
53
+ delta_action: false
54
+ relative_action: false
55
+ transform_params: null
56
+ load_to_memory: false
57
+ bimanual_contiguous_action: true
58
+ at:
59
+ horizon: 32
60
+ n_obs_steps: 2
61
+ dataset_obs_temporal_downsample_ratio: 2
62
+ policy:
63
+ horizon: ${horizon}
64
+ n_latent_dims: 16
65
+ mlp_layer_num: 1
66
+ use_conv_encoder: true
67
+ conv_latent_dims: 32
68
+ conv_layer_num: 1
69
+ use_rnn_decoder: true
70
+ rnn_latent_dims: 64
71
+ rnn_layer_num: 1
72
+ kl_multiplier: 1.0e-06
73
+ n_embed: 32
74
+ use_vq: false
75
+ vqvae_groups: 4
76
+ eval: false
77
+ act_scale: 1
78
+ name: train_vae
79
+ _target_: reactive_diffusion_policy.workspace.train_at_workspace.TrainATWorkspace
80
+ task_name: ${task.name}
81
+ shape_meta: ${task.shape_meta}
82
+ exp_name: default
83
+ horizon: ${at.horizon}
84
+ n_obs_steps: ${at.n_obs_steps}
85
+ n_latency_steps: 0
86
+ dataset_obs_steps: ${eval:'${n_obs_steps}*${at.dataset_obs_temporal_downsample_ratio}'}
87
+ dataset_obs_temporal_downsample_ratio: ${at.dataset_obs_temporal_downsample_ratio}
88
+ n_action_steps: ${eval:'${horizon}-${dataset_obs_steps}+1'}
89
+ policy:
90
+ _target_: reactive_diffusion_policy.model.vae.model.VAE
91
+ shape_meta: ${task.shape_meta}
92
+ horizon: ${horizon}
93
+ n_latent_dims: ${at.policy.n_latent_dims}
94
+ mlp_layer_num: ${at.policy.mlp_layer_num}
95
+ use_conv_encoder: ${at.policy.use_conv_encoder}
96
+ conv_latent_dims: ${at.policy.conv_latent_dims}
97
+ conv_layer_num: ${at.policy.conv_layer_num}
98
+ use_rnn_decoder: ${at.policy.use_rnn_decoder}
99
+ rnn_latent_dims: ${at.policy.rnn_latent_dims}
100
+ rnn_layer_num: ${at.policy.rnn_layer_num}
101
+ kl_multiplier: ${at.policy.kl_multiplier}
102
+ n_embed: ${at.policy.n_embed}
103
+ use_vq: ${at.policy.use_vq}
104
+ vqvae_groups: ${at.policy.vqvae_groups}
105
+ eval: ${at.policy.eval}
106
+ act_scale: ${at.policy.act_scale}
107
+ dataloader:
108
+ batch_size: 64
109
+ num_workers: 8
110
+ shuffle: true
111
+ pin_memory: true
112
+ persistent_workers: true
113
+ val_dataloader:
114
+ batch_size: 64
115
+ num_workers: 8
116
+ shuffle: false
117
+ pin_memory: true
118
+ persistent_workers: true
119
+ optimizer:
120
+ _target_: torch.optim.AdamW
121
+ lr: 0.001
122
+ weight_decay: 0.0001
123
+ training:
124
+ device: cuda:0
125
+ seed: 42
126
+ debug: false
127
+ resume: true
128
+ lr_scheduler: cosine
129
+ lr_warmup_steps: 100
130
+ num_epochs: 20
131
+ gradient_accumulate_every: 1
132
+ use_ema: false
133
+ freeze_encoder: false
134
+ rollout_every: -1
135
+ checkpoint_every: 1
136
+ val_every: 1
137
+ sample_every: -1
138
+ max_train_steps: null
139
+ max_val_steps: null
140
+ tqdm_interval_sec: 1.0
141
+ mixed_precision: bf16
142
+ logging:
143
+ project: at
144
+ resume: true
145
+ mode: offline
146
+ name: ${now:%Y.%m.%d-%H.%M.%S}_${name}_${task_name}
147
+ tags:
148
+ - ${name}
149
+ - ${task_name}
150
+ - ${exp_name}
151
+ id: null
152
+ group: null
153
+ checkpoint:
154
+ topk:
155
+ monitor_key: train_loss
156
+ mode: min
157
+ k: 1
158
+ format_str: epoch={epoch:04d}-train_loss={train_loss:.6f}.ckpt
159
+ save_last_ckpt: true
160
+ save_last_snapshot: false
pick_tube_02_04_06/pca30_armwise_020406_ldp20_rdp_dim_ablation_v1/at/.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_06/at_pca30_armwise_020406_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/at_pca30_armwise_020406_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
+ - logging.mode=offline
118
+ - training.device=cuda:0
119
+ - training.resume=true
120
+ - training.num_epochs=20
121
+ - training.checkpoint_every=1
122
+ - +training.mixed_precision=bf16
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: +training.mixed_precision=bf16,dataloader.batch_size=64,dataloader.num_workers=8,logging.mode=offline,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.device=cuda:0,training.num_epochs=20,training.resume=true,val_dataloader.batch_size=64,val_dataloader.num_workers=8
131
+ id: ???
132
+ num: ???
133
+ config_name: train_pick_tube_at_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_06/at_pca30_armwise_020406_v1
156
+ choices:
157
+ at: at_pick_tube
158
+ task: pick_tube_image_tactile_emb_at_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_06/pca30_armwise_020406_ldp20_rdp_dim_ablation_v1/at/.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_06_pca30_armwise_rdp_zarr
2
+ - logging.mode=offline
3
+ - training.device=cuda:0
4
+ - training.resume=true
5
+ - training.num_epochs=20
6
+ - training.checkpoint_every=1
7
+ - +training.mixed_precision=bf16
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_06/pca30_armwise_020406_ldp20_rdp_dim_ablation_v1/at/checkpoints/latest.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc6cdd3b3afa64e331930befd09eb7bf7a5d3e4b62568e32d906644bd0e976c2
3
+ size 660859