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40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
{
    "algo_name": "iris",
    "experiment": {
        "name": "test",
        "validate": false,
        "logging": {
            "terminal_output_to_txt": true,
            "log_tb": true,
            "log_wandb": false,
            "wandb_proj_name": "debug"
        },
        "save": {
            "enabled": true,
            "every_n_seconds": null,
            "every_n_epochs": 50,
            "epochs": [],
            "on_best_validation": false,
            "on_best_rollout_return": false,
            "on_best_rollout_success_rate": true
        },
        "epoch_every_n_steps": 100,
        "validation_epoch_every_n_steps": 10,
        "env": null,
        "additional_envs": null,
        "render": false,
        "render_video": true,
        "keep_all_videos": false,
        "video_skip": 5,
        "rollout": {
            "enabled": true,
            "n": 50,
            "horizon": 400,
            "rate": 50,
            "warmstart": 0,
            "terminate_on_success": true
        }
    },
    "train": {
        "data": null,
        "output_dir": "../iris_trained_models",
        "num_data_workers": 0,
        "hdf5_cache_mode": "all",
        "hdf5_use_swmr": true,
        "hdf5_load_next_obs": true,
        "hdf5_normalize_obs": false,
        "hdf5_filter_key": null,
        "hdf5_validation_filter_key": null,
        "seq_length": 10,
        "pad_seq_length": true,
        "frame_stack": 1,
        "pad_frame_stack": true,
        "dataset_keys": [
            "actions",
            "rewards",
            "dones"
        ],
        "goal_mode": null,
        "cuda": true,
        "batch_size": 100,
        "num_epochs": 2000,
        "seed": 1
    },
    "algo": {
        "mode": "separate",
        "actor_use_random_subgoals": false,
        "subgoal_update_interval": 10,
        "latent_subgoal": {
            "enabled": false,
            "prior_correction": {
                "enabled": false,
                "num_samples": 100
            }
        },
        "value_planner": {
            "planner": {
                "optim_params": {
                    "goal_network": {
                        "learning_rate": {
                            "initial": 0.0001,
                            "decay_factor": 0.1,
                            "epoch_schedule": []
                        },
                        "regularization": {
                            "L2": 0.0
                        }
                    }
                },
                "subgoal_horizon": 10,
                "ae": {
                    "planner_layer_dims": [
                        300,
                        400
                    ]
                },
                "vae": {
                    "enabled": true,
                    "latent_dim": 16,
                    "latent_clip": null,
                    "kl_weight": 1.0,
                    "decoder": {
                        "is_conditioned": true,
                        "reconstruction_sum_across_elements": false
                    },
                    "prior": {
                        "learn": false,
                        "is_conditioned": false,
                        "use_gmm": false,
                        "gmm_num_modes": 10,
                        "gmm_learn_weights": false,
                        "use_categorical": false,
                        "categorical_dim": 10,
                        "categorical_gumbel_softmax_hard": false,
                        "categorical_init_temp": 1.0,
                        "categorical_temp_anneal_step": 0.001,
                        "categorical_min_temp": 0.3
                    },
                    "encoder_layer_dims": [
                        300,
                        400
                    ],
                    "decoder_layer_dims": [
                        300,
                        400
                    ],
                    "prior_layer_dims": [
                        300,
                        400
                    ]
                }
            },
            "value": {
                "optim_params": {
                    "critic": {
                        "learning_rate": {
                            "initial": 0.001,
                            "decay_factor": 0.1,
                            "epoch_schedule": []
                        },
                        "regularization": {
                            "L2": 0.0
                        },
                        "start_epoch": -1,
                        "end_epoch": -1
                    },
                    "action_sampler": {
                        "learning_rate": {
                            "initial": 0.001,
                            "decay_factor": 0.1,
                            "epoch_schedule": []
                        },
                        "regularization": {
                            "L2": 0.0
                        },
                        "start_epoch": -1,
                        "end_epoch": -1
                    },
                    "actor": {
                        "learning_rate": {
                            "initial": 0.001,
                            "decay_factor": 0.1,
                            "epoch_schedule": []
                        },
                        "regularization": {
                            "L2": 0.0
                        },
                        "start_epoch": -1,
                        "end_epoch": -1
                    }
                },
                "discount": 0.99,
                "n_step": 1,
                "target_tau": 0.005,
                "infinite_horizon": false,
                "critic": {
                    "use_huber": false,
                    "max_gradient_norm": null,
                    "value_bounds": null,
                    "num_action_samples": 10,
                    "num_action_samples_rollout": 100,
                    "ensemble": {
                        "n": 2,
                        "weight": 0.75
                    },
                    "distributional": {
                        "enabled": false,
                        "num_atoms": 51
                    },
                    "layer_dims": [
                        300,
                        400
                    ]
                },
                "action_sampler": {
                    "actor_layer_dims": [
                        1024,
                        1024
                    ],
                    "gmm": {
                        "enabled": false,
                        "num_modes": 5,
                        "min_std": 0.0001,
                        "std_activation": "softplus",
                        "low_noise_eval": true
                    },
                    "vae": {
                        "enabled": true,
                        "latent_dim": 14,
                        "latent_clip": null,
                        "kl_weight": 1.0,
                        "decoder": {
                            "is_conditioned": true,
                            "reconstruction_sum_across_elements": false
                        },
                        "prior": {
                            "learn": false,
                            "is_conditioned": false,
                            "use_gmm": false,
                            "gmm_num_modes": 10,
                            "gmm_learn_weights": false,
                            "use_categorical": false,
                            "categorical_dim": 10,
                            "categorical_gumbel_softmax_hard": false,
                            "categorical_init_temp": 1.0,
                            "categorical_temp_anneal_step": 0.001,
                            "categorical_min_temp": 0.3
                        },
                        "encoder_layer_dims": [
                            300,
                            400
                        ],
                        "decoder_layer_dims": [
                            300,
                            400
                        ],
                        "prior_layer_dims": [
                            300,
                            400
                        ]
                    },
                    "freeze_encoder_epoch": -1
                },
                "actor": {
                    "enabled": false,
                    "perturbation_scale": 0.05,
                    "layer_dims": [
                        300,
                        400
                    ]
                }
            },
            "num_samples": 100
        },
        "actor": {
            "optim_params": {
                "policy": {
                    "optimizer_type": "adam",
                    "learning_rate": {
                        "initial": 0.0001,
                        "decay_factor": 0.1,
                        "epoch_schedule": [],
                        "scheduler_type": "multistep"
                    },
                    "regularization": {
                        "L2": 0.0
                    }
                }
            },
            "loss": {
                "l2_weight": 1.0,
                "l1_weight": 0.0,
                "cos_weight": 0.0
            },
            "actor_layer_dims": [
                1024,
                1024
            ],
            "rnn": {
                "enabled": true,
                "horizon": 10,
                "hidden_dim": 400,
                "rnn_type": "LSTM",
                "num_layers": 2,
                "open_loop": false,
                "kwargs": {
                    "bidirectional": false
                }
            },
            "transformer": {
                "enabled": false,
                "context_length": 10,
                "embed_dim": 512,
                "num_layers": 6,
                "num_heads": 8,
                "emb_dropout": 0.1,
                "attn_dropout": 0.1,
                "block_output_dropout": 0.1,
                "sinusoidal_embedding": false,
                "activation": "gelu",
                "supervise_all_steps": false,
                "nn_parameter_for_timesteps": true
            }
        }
    },
    "observation": {
        "value_planner": {
            "planner": {
                "modalities": {
                    "obs": {
                        "low_dim": [
                            "robot0_eef_pos",
                            "robot0_eef_quat",
                            "robot0_gripper_qpos",
                            "object"
                        ],
                        "rgb": [],
                        "depth": [],
                        "scan": []
                    },
                    "goal": {
                        "low_dim": [],
                        "rgb": [],
                        "depth": [],
                        "scan": []
                    },
                    "subgoal": {
                        "low_dim": [
                            "robot0_eef_pos",
                            "robot0_eef_quat",
                            "robot0_gripper_qpos",
                            "object"
                        ],
                        "rgb": [],
                        "depth": [],
                        "scan": []
                    }
                },
                "encoder": {
                    "low_dim": {
                        "core_class": null,
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    },
                    "rgb": {
                        "core_class": "VisualCore",
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    },
                    "depth": {
                        "core_class": "VisualCore",
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    },
                    "scan": {
                        "core_class": "ScanCore",
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    }
                }
            },
            "value": {
                "modalities": {
                    "obs": {
                        "low_dim": [
                            "robot0_eef_pos",
                            "robot0_eef_quat",
                            "robot0_gripper_qpos",
                            "object"
                        ],
                        "rgb": [],
                        "depth": [],
                        "scan": []
                    },
                    "goal": {
                        "low_dim": [],
                        "rgb": [],
                        "depth": [],
                        "scan": []
                    }
                },
                "encoder": {
                    "low_dim": {
                        "core_class": null,
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    },
                    "rgb": {
                        "core_class": "VisualCore",
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    },
                    "depth": {
                        "core_class": "VisualCore",
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    },
                    "scan": {
                        "core_class": "ScanCore",
                        "core_kwargs": {},
                        "obs_randomizer_class": null,
                        "obs_randomizer_kwargs": {}
                    }
                }
            }
        },
        "actor": {
            "modalities": {
                "obs": {
                    "low_dim": [
                        "robot0_eef_pos",
                        "robot0_eef_quat",
                        "robot0_gripper_qpos",
                        "object"
                    ],
                    "rgb": [],
                    "depth": [],
                    "scan": []
                },
                "goal": {
                    "low_dim": [],
                    "rgb": [],
                    "depth": [],
                    "scan": []
                }
            },
            "encoder": {
                "low_dim": {
                    "core_class": null,
                    "core_kwargs": {},
                    "obs_randomizer_class": null,
                    "obs_randomizer_kwargs": {}
                },
                "rgb": {
                    "core_class": "VisualCore",
                    "core_kwargs": {},
                    "obs_randomizer_class": null,
                    "obs_randomizer_kwargs": {}
                },
                "depth": {
                    "core_class": "VisualCore",
                    "core_kwargs": {},
                    "obs_randomizer_class": null,
                    "obs_randomizer_kwargs": {}
                },
                "scan": {
                    "core_class": "ScanCore",
                    "core_kwargs": {},
                    "obs_randomizer_class": null,
                    "obs_randomizer_kwargs": {}
                }
            }
        }
    },
    "meta": {
        "hp_base_config_file": null,
        "hp_keys": [],
        "hp_values": []
    }
}