File size: 5,724 Bytes
e8c0fb4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 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 |
_target_: diffusion_policy.workspace.train_tedi_unet_hybrid_workspace.TrainTEDIUnetHybridWorkspace
checkpoint:
save_last_ckpt: false
save_last_snapshot: false
topk:
format_str: epoch={epoch:04d}-test_mean_score={test_mean_score:.3f}.ckpt
k: 1
mode: max
monitor_key: test_mean_score
dataloader:
batch_size: 64
num_workers: 16
persistent_workers: true
pin_memory: true
shuffle: true
dataset_obs_steps: 2
ema:
_target_: diffusion_policy.model.diffusion.ema_model.EMAModel
inv_gamma: 1.0
max_value: 0.9999
min_value: 0.0
power: 0.75
update_after_step: 0
exp_name: default
horizon: 20
keypoint_visible_rate: 1.0
logging:
group: null
id: null
mode: online
name: 2024.11.21-04.18.34_train_tedi_unet_hybrid_square_image
project: diffusion_policy_debug
resume: true
tags:
- train_tedi_unet_hybrid
- square_image
- default
multi_run:
run_dir: data/outputs/2024.11.21/04.18.34_train_tedi_unet_hybrid_square_image
wandb_name_base: 2024.11.21-04.18.34_train_tedi_unet_hybrid_square_image
n_action_steps: 8
n_latency_steps: 0
n_obs_steps: 2
name: train_tedi_unet_hybrid
obs_as_global_cond: true
optimizer:
_target_: torch.optim.AdamW
betas:
- 0.95
- 0.999
eps: 1.0e-08
lr: 0.0001
weight_decay: 1.0e-06
past_action_visible: false
policy:
_target_: diffusion_policy.policy.tedi_unet_hybrid_image_policy.TEDIUnetHybridImagePolicy
buffer_init: zero
chunk_wise_weight: 0.8
cond_predict_scale: true
crop_shape:
- 76
- 76
diffusion_step_embed_dim: 128
down_dims:
- 512
- 1024
- 2048
eval_fixed_crop: true
horizon: 20
kernel_size: 5
n_action_steps: 8
n_groups: 8
n_obs_steps: 2
noise_scheduler:
_target_: diffusion_policy.policy.schedulers.DDPMTEDiScheduler
beta_end: 0.02
beta_schedule: squaredcos_cap_v2
beta_start: 0.0001
clip_sample: true
num_train_timesteps: 100
prediction_type: epsilon
variance_type: fixed_small
num_inference_steps: 100
obs_as_global_cond: true
obs_encoder_group_norm: true
shape_meta:
action:
shape:
- 10
obs:
agentview_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_eef_pos:
shape:
- 3
robot0_eef_quat:
shape:
- 4
robot0_eye_in_hand_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_gripper_qpos:
shape:
- 2
temporally_constant_weight: 0.2
temporally_increasing_weight: 0.0
temporally_random_weights: 0.0
shape_meta:
action:
shape:
- 10
obs:
agentview_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_eef_pos:
shape:
- 3
robot0_eef_quat:
shape:
- 4
robot0_eye_in_hand_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_gripper_qpos:
shape:
- 2
task:
abs_action: true
dataset:
_target_: diffusion_policy.dataset.robomimic_replay_image_dataset.RobomimicReplayImageDataset
abs_action: true
dataset_path: data/robomimic/datasets/square/ph/image_abs.hdf5
horizon: 20
n_obs_steps: 2
pad_after: 7
pad_before: 1
rotation_rep: rotation_6d
seed: 42
shape_meta:
action:
shape:
- 10
obs:
agentview_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_eef_pos:
shape:
- 3
robot0_eef_quat:
shape:
- 4
robot0_eye_in_hand_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_gripper_qpos:
shape:
- 2
use_cache: true
use_legacy_normalizer: false
val_ratio: 0.02
dataset_path: data/robomimic/datasets/square/ph/image_abs.hdf5
dataset_type: ph
env_runner:
_target_: diffusion_policy.env_runner.robomimic_image_runner.RobomimicImageRunner
abs_action: true
crf: 22
dataset_path: data/robomimic/datasets/square/ph/image_abs.hdf5
fps: 10
max_steps: 400
n_action_steps: 8
n_envs: 28
n_obs_steps: 2
n_test: 50
n_test_vis: 4
n_train: 6
n_train_vis: 2
past_action: false
render_obs_key: agentview_image
shape_meta:
action:
shape:
- 10
obs:
agentview_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_eef_pos:
shape:
- 3
robot0_eef_quat:
shape:
- 4
robot0_eye_in_hand_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_gripper_qpos:
shape:
- 2
test_start_seed: 100000
tqdm_interval_sec: 1.0
train_start_idx: 0
name: square_image
shape_meta:
action:
shape:
- 10
obs:
agentview_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_eef_pos:
shape:
- 3
robot0_eef_quat:
shape:
- 4
robot0_eye_in_hand_image:
shape:
- 3
- 84
- 84
type: rgb
robot0_gripper_qpos:
shape:
- 2
task_name: square
task_name: square_image
training:
checkpoint_every: 50
debug: false
device: cuda:0
gradient_accumulate_every: 1
lr_scheduler: cosine
lr_warmup_steps: 500
max_train_steps: null
max_val_steps: null
num_epochs: 1501
resume: true
rollout_every: 50
sample_every: 5
seed: 42
tqdm_interval_sec: 1.0
use_ema: true
val_every: 1
val_dataloader:
batch_size: 64
num_workers: 16
persistent_workers: true
pin_memory: true
shuffle: false
|