Abha2001 commited on
Commit
0aa8777
·
verified ·
1 Parent(s): 1c8d2b6

Upload folder using huggingface_hub

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