Abha2001 commited on
Commit
fc0a88d
·
verified ·
1 Parent(s): e21aca7

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. ddpm_200/latest.ckpt +3 -0
  2. ddpm_200/policy_config.yaml +133 -0
ddpm_200/latest.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6f246c3914e29f762c6498c55082716a3d0cf60d9528219e925f5de2ed45f28
3
+ size 697958870
ddpm_200/policy_config.yaml ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ _target_: workspaces.train_bfn_workspace.TrainBFNWorkspace
2
+ name: train_ddpm_pusht_xarm_200
3
+ task_name: pusht_xarm_200
4
+ exp_name: ddpm_top
5
+ shape_meta:
6
+ obs:
7
+ camera_0:
8
+ shape:
9
+ - 3
10
+ - 224
11
+ - 224
12
+ type: rgb
13
+ action:
14
+ shape:
15
+ - 9
16
+ horizon: 16
17
+ n_obs_steps: 2
18
+ n_action_steps: 8
19
+ n_latency_steps: 0
20
+ dataset_obs_steps: 2
21
+ past_action_visible: false
22
+ obs_as_global_cond: true
23
+ policy:
24
+ _target_: diffusion_policy.policy.diffusion_unet_hybrid_image_policy.DiffusionUnetHybridImagePolicy
25
+ shape_meta: ${shape_meta}
26
+ horizon: ${horizon}
27
+ n_action_steps: ${n_action_steps}
28
+ n_obs_steps: ${n_obs_steps}
29
+ noise_scheduler:
30
+ _target_: diffusers.schedulers.scheduling_ddpm.DDPMScheduler
31
+ num_train_timesteps: 100
32
+ beta_start: 0.0001
33
+ beta_end: 0.02
34
+ beta_schedule: squaredcos_cap_v2
35
+ variance_type: fixed_small
36
+ clip_sample: true
37
+ prediction_type: epsilon
38
+ num_inference_steps: 100
39
+ obs_as_global_cond: ${obs_as_global_cond}
40
+ obs_encoder_group_norm: true
41
+ eval_fixed_crop: true
42
+ crop_shape:
43
+ - 216
44
+ - 216
45
+ diffusion_step_embed_dim: 128
46
+ down_dims:
47
+ - 256
48
+ - 512
49
+ - 1024
50
+ kernel_size: 5
51
+ n_groups: 8
52
+ cond_predict_scale: true
53
+ task:
54
+ dataset:
55
+ _target_: dataset.pusht_xarm_dataset.PushTXArmDataset
56
+ zarr_path: data/pusht_xarm_200/replay.zarr
57
+ horizon: ${horizon}
58
+ pad_before: 1
59
+ pad_after: 7
60
+ n_obs_steps: ${n_obs_steps}
61
+ seed: 42
62
+ val_ratio: 0.1
63
+ cameras:
64
+ - camera_0
65
+ action_mode: onehot
66
+ env_runner: null
67
+ ema:
68
+ _target_: diffusion_policy.model.diffusion.ema_model.EMAModel
69
+ update_after_step: 0
70
+ inv_gamma: 1.0
71
+ power: 0.75
72
+ min_value: 0.0
73
+ max_value: 0.9999
74
+ optimizer:
75
+ _target_: torch.optim.AdamW
76
+ lr: 0.0001
77
+ betas:
78
+ - 0.95
79
+ - 0.999
80
+ eps: 1.0e-08
81
+ weight_decay: 1.0e-06
82
+ training:
83
+ device: cuda:0
84
+ seed: 42
85
+ debug: false
86
+ resume: false
87
+ lr_scheduler: cosine
88
+ lr_warmup_steps: 500
89
+ num_epochs: 200
90
+ gradient_accumulate_every: 1
91
+ use_ema: true
92
+ rollout_every: 50
93
+ checkpoint_every: 10
94
+ val_every: 1
95
+ sample_every: 5
96
+ max_train_steps: null
97
+ max_val_steps: null
98
+ tqdm_interval_sec: 1.0
99
+ dataloader:
100
+ batch_size: 32
101
+ num_workers: 4
102
+ shuffle: true
103
+ pin_memory: true
104
+ persistent_workers: false
105
+ val_dataloader:
106
+ batch_size: 32
107
+ num_workers: 2
108
+ shuffle: false
109
+ pin_memory: true
110
+ persistent_workers: false
111
+ checkpoint:
112
+ topk:
113
+ monitor_key: val_loss
114
+ mode: min
115
+ k: 3
116
+ format_str: epoch={epoch:04d}-train_loss={train_loss:.4f}.ckpt
117
+ save_last_ckpt: true
118
+ save_last_snapshot: false
119
+ logging:
120
+ project: pusht_xarm_200_ddpm
121
+ resume: true
122
+ mode: offline
123
+ name: ${now:%Y.%m.%d-%H.%M.%S}_${name}
124
+ tags:
125
+ - ddpm
126
+ - pusht_xarm
127
+ - onehot
128
+ - top
129
+ id: null
130
+ group: null
131
+ multi_run:
132
+ run_dir: data/outputs/${now:%Y.%m.%d}/${now:%H.%M.%S}_${name}
133
+ wandb_name_base: ${now:%Y.%m.%d-%H.%M.%S}_${name}