Upload diffusion_policy_trained_models/square-dp_ddpm/20260205023205/config.json with huggingface_hub
Browse files
diffusion_policy_trained_models/square-dp_ddpm/20260205023205/config.json
ADDED
|
@@ -0,0 +1,213 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"algo_name": "diffusion_policy",
|
| 3 |
+
"experiment": {
|
| 4 |
+
"name": "square-dp_ddpm",
|
| 5 |
+
"validate": false,
|
| 6 |
+
"logging": {
|
| 7 |
+
"terminal_output_to_txt": true,
|
| 8 |
+
"log_tb": true,
|
| 9 |
+
"log_wandb": false,
|
| 10 |
+
"wandb_proj_name": "debug"
|
| 11 |
+
},
|
| 12 |
+
"save": {
|
| 13 |
+
"enabled": true,
|
| 14 |
+
"every_n_seconds": null,
|
| 15 |
+
"every_n_epochs": 50,
|
| 16 |
+
"epochs": [],
|
| 17 |
+
"on_best_validation": false,
|
| 18 |
+
"on_best_rollout_return": false,
|
| 19 |
+
"on_best_rollout_success_rate": true
|
| 20 |
+
},
|
| 21 |
+
"epoch_every_n_steps": 500,
|
| 22 |
+
"validation_epoch_every_n_steps": 10,
|
| 23 |
+
"env": null,
|
| 24 |
+
"additional_envs": null,
|
| 25 |
+
"render": false,
|
| 26 |
+
"render_video": true,
|
| 27 |
+
"keep_all_videos": false,
|
| 28 |
+
"video_skip": 5,
|
| 29 |
+
"rollout": {
|
| 30 |
+
"enabled": true,
|
| 31 |
+
"n": 50,
|
| 32 |
+
"horizon": 600,
|
| 33 |
+
"rate": 50,
|
| 34 |
+
"warmstart": 0,
|
| 35 |
+
"terminate_on_success": true
|
| 36 |
+
},
|
| 37 |
+
"env_meta_update_dict": {},
|
| 38 |
+
"ckpt_path": null
|
| 39 |
+
},
|
| 40 |
+
"train": {
|
| 41 |
+
"data": [
|
| 42 |
+
{
|
| 43 |
+
"path": "/nethome/vsaxena33/flash7/work/robomimic-work/robomimic/datasets/square/ph/image_v15.hdf5"
|
| 44 |
+
}
|
| 45 |
+
],
|
| 46 |
+
"output_dir": "../diffusion_policy_trained_models",
|
| 47 |
+
"normalize_weights_by_ds_size": true,
|
| 48 |
+
"num_data_workers": 5,
|
| 49 |
+
"hdf5_cache_mode": "low_dim",
|
| 50 |
+
"hdf5_use_swmr": true,
|
| 51 |
+
"hdf5_load_next_obs": false,
|
| 52 |
+
"hdf5_normalize_obs": false,
|
| 53 |
+
"hdf5_filter_key": null,
|
| 54 |
+
"hdf5_validation_filter_key": null,
|
| 55 |
+
"seq_length": 16,
|
| 56 |
+
"pad_seq_length": true,
|
| 57 |
+
"frame_stack": 2,
|
| 58 |
+
"pad_frame_stack": true,
|
| 59 |
+
"dataset_keys": [
|
| 60 |
+
"actions",
|
| 61 |
+
"rewards",
|
| 62 |
+
"dones"
|
| 63 |
+
],
|
| 64 |
+
"action_keys": [
|
| 65 |
+
"actions"
|
| 66 |
+
],
|
| 67 |
+
"action_config": {
|
| 68 |
+
"actions": {
|
| 69 |
+
"normalization": "min_max"
|
| 70 |
+
}
|
| 71 |
+
},
|
| 72 |
+
"goal_mode": null,
|
| 73 |
+
"cuda": true,
|
| 74 |
+
"batch_size": 64,
|
| 75 |
+
"num_epochs": 600,
|
| 76 |
+
"seed": 1,
|
| 77 |
+
"max_grad_norm": null
|
| 78 |
+
},
|
| 79 |
+
"algo": {
|
| 80 |
+
"optim_params": {
|
| 81 |
+
"policy": {
|
| 82 |
+
"optimizer_type": "adamw",
|
| 83 |
+
"learning_rate": {
|
| 84 |
+
"initial": 0.0001,
|
| 85 |
+
"decay_factor": 0.1,
|
| 86 |
+
"step_every_batch": true,
|
| 87 |
+
"scheduler_type": "cosine",
|
| 88 |
+
"num_cycles": 0.5,
|
| 89 |
+
"warmup_steps": 500,
|
| 90 |
+
"epoch_schedule": []
|
| 91 |
+
},
|
| 92 |
+
"regularization": {
|
| 93 |
+
"L2": 1e-06
|
| 94 |
+
},
|
| 95 |
+
"num_train_batches": 500,
|
| 96 |
+
"num_epochs": 600
|
| 97 |
+
}
|
| 98 |
+
},
|
| 99 |
+
"horizon": {
|
| 100 |
+
"observation_horizon": 2,
|
| 101 |
+
"action_horizon": 8,
|
| 102 |
+
"prediction_horizon": 16
|
| 103 |
+
},
|
| 104 |
+
"unet": {
|
| 105 |
+
"enabled": true,
|
| 106 |
+
"diffusion_step_embed_dim": 256,
|
| 107 |
+
"down_dims": [
|
| 108 |
+
256,
|
| 109 |
+
512,
|
| 110 |
+
1024
|
| 111 |
+
],
|
| 112 |
+
"kernel_size": 5,
|
| 113 |
+
"n_groups": 8
|
| 114 |
+
},
|
| 115 |
+
"ema": {
|
| 116 |
+
"enabled": true,
|
| 117 |
+
"power": 0.75
|
| 118 |
+
},
|
| 119 |
+
"ddpm": {
|
| 120 |
+
"enabled": true,
|
| 121 |
+
"num_train_timesteps": 100,
|
| 122 |
+
"num_inference_timesteps": 100,
|
| 123 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 124 |
+
"clip_sample": true,
|
| 125 |
+
"prediction_type": "epsilon"
|
| 126 |
+
},
|
| 127 |
+
"ddim": {
|
| 128 |
+
"enabled": false,
|
| 129 |
+
"num_train_timesteps": 100,
|
| 130 |
+
"num_inference_timesteps": 10,
|
| 131 |
+
"beta_schedule": "squaredcos_cap_v2",
|
| 132 |
+
"clip_sample": true,
|
| 133 |
+
"set_alpha_to_one": true,
|
| 134 |
+
"steps_offset": 0,
|
| 135 |
+
"prediction_type": "epsilon"
|
| 136 |
+
}
|
| 137 |
+
},
|
| 138 |
+
"observation": {
|
| 139 |
+
"modalities": {
|
| 140 |
+
"obs": {
|
| 141 |
+
"low_dim": [
|
| 142 |
+
"robot0_eef_pos",
|
| 143 |
+
"robot0_eef_quat",
|
| 144 |
+
"robot0_gripper_qpos"
|
| 145 |
+
],
|
| 146 |
+
"rgb": [
|
| 147 |
+
"agentview_image",
|
| 148 |
+
"robot0_eye_in_hand_image"
|
| 149 |
+
],
|
| 150 |
+
"depth": [],
|
| 151 |
+
"scan": []
|
| 152 |
+
},
|
| 153 |
+
"goal": {
|
| 154 |
+
"low_dim": [],
|
| 155 |
+
"rgb": [],
|
| 156 |
+
"depth": [],
|
| 157 |
+
"scan": []
|
| 158 |
+
}
|
| 159 |
+
},
|
| 160 |
+
"encoder": {
|
| 161 |
+
"low_dim": {
|
| 162 |
+
"core_class": null,
|
| 163 |
+
"core_kwargs": {},
|
| 164 |
+
"obs_randomizer_class": null,
|
| 165 |
+
"obs_randomizer_kwargs": {}
|
| 166 |
+
},
|
| 167 |
+
"rgb": {
|
| 168 |
+
"core_class": "VisualCore",
|
| 169 |
+
"core_kwargs": {
|
| 170 |
+
"feature_dimension": 64,
|
| 171 |
+
"flatten": true,
|
| 172 |
+
"backbone_class": "ResNet18Conv",
|
| 173 |
+
"backbone_kwargs": {
|
| 174 |
+
"pretrained": false,
|
| 175 |
+
"input_coord_conv": false
|
| 176 |
+
},
|
| 177 |
+
"pool_class": null,
|
| 178 |
+
"pool_kwargs": {
|
| 179 |
+
"num_kp": 32,
|
| 180 |
+
"learnable_temperature": false,
|
| 181 |
+
"temperature": 1.0,
|
| 182 |
+
"noise_std": 0.0,
|
| 183 |
+
"output_variance": false
|
| 184 |
+
}
|
| 185 |
+
},
|
| 186 |
+
"obs_randomizer_class": "CropRandomizer",
|
| 187 |
+
"obs_randomizer_kwargs": {
|
| 188 |
+
"crop_height": 76,
|
| 189 |
+
"crop_width": 76,
|
| 190 |
+
"num_crops": 1,
|
| 191 |
+
"pos_enc": false
|
| 192 |
+
}
|
| 193 |
+
},
|
| 194 |
+
"depth": {
|
| 195 |
+
"core_class": "VisualCore",
|
| 196 |
+
"core_kwargs": {},
|
| 197 |
+
"obs_randomizer_class": null,
|
| 198 |
+
"obs_randomizer_kwargs": {}
|
| 199 |
+
},
|
| 200 |
+
"scan": {
|
| 201 |
+
"core_class": "ScanCore",
|
| 202 |
+
"core_kwargs": {},
|
| 203 |
+
"obs_randomizer_class": null,
|
| 204 |
+
"obs_randomizer_kwargs": {}
|
| 205 |
+
}
|
| 206 |
+
}
|
| 207 |
+
},
|
| 208 |
+
"meta": {
|
| 209 |
+
"hp_base_config_file": null,
|
| 210 |
+
"hp_keys": [],
|
| 211 |
+
"hp_values": []
|
| 212 |
+
}
|
| 213 |
+
}
|