serialexperimentsleon commited on
Commit
23db792
·
verified ·
1 Parent(s): 646289f

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +51 -0
  2. config.yaml +619 -0
  3. videos/66183_0/epoch_20/10_traj_1000010_envseed.mp4 +0 -0
  4. videos/66183_0/epoch_20/13_traj_1000013_envseed.mp4 +0 -0
  5. videos/66183_0/epoch_20/21_traj_1000021_envseed.mp4 +0 -0
  6. videos/66183_0/epoch_20/22_traj_1000022_envseed.mp4 +0 -0
  7. videos/66183_0/epoch_20/24_traj_1000024_envseed.mp4 +0 -0
  8. videos/66183_0/epoch_20/26_traj_1000026_envseed.mp4 +0 -0
  9. videos/66183_0/epoch_20/31_traj_1000031_envseed.mp4 +0 -0
  10. videos/66183_0/epoch_20/33_traj_1000033_envseed.mp4 +0 -0
  11. videos/66183_0/epoch_20/36_traj_1000036_envseed.mp4 +0 -0
  12. videos/66183_0/epoch_20/3_traj_1000003_envseed.mp4 +0 -0
  13. videos/66183_0/epoch_20/40_traj_1000040_envseed.mp4 +0 -0
  14. videos/66183_0/epoch_20/41_traj_1000041_envseed.mp4 +0 -0
  15. videos/66183_0/epoch_20/49_traj_1000049_envseed.mp4 +0 -0
  16. videos/66183_0/epoch_20/51_traj_1000051_envseed.mp4 +0 -0
  17. videos/66183_0/epoch_20/53_traj_1000053_envseed.mp4 +0 -0
  18. videos/66183_0/epoch_20/55_traj_1000055_envseed.mp4 +0 -0
  19. videos/66183_0/epoch_20/56_traj_1000056_envseed.mp4 +0 -0
  20. videos/66183_0/epoch_20/57_traj_1000057_envseed.mp4 +0 -0
  21. videos/66183_0/epoch_20/59_traj_1000059_envseed.mp4 +0 -0
  22. videos/66183_0/epoch_20/66_traj_1000066_envseed.mp4 +0 -0
  23. videos/66183_0/epoch_20/74_traj_1000074_envseed.mp4 +0 -0
  24. videos/66183_0/epoch_20/88_traj_1000088_envseed.mp4 +0 -0
  25. videos/66183_0/epoch_20/91_traj_1000091_envseed.mp4 +0 -0
  26. videos/66183_0/epoch_20/92_traj_1000092_envseed.mp4 +0 -0
  27. videos/66183_0/epoch_20/96_traj_1000096_envseed.mp4 +0 -0
  28. videos/66183_0/epoch_60/200_traj_1000000_envseed.mp4 +0 -0
  29. videos/66183_0/epoch_60/201_traj_1000001_envseed.mp4 +0 -0
  30. videos/66183_0/epoch_60/203_traj_1000003_envseed.mp4 +0 -0
  31. videos/66183_0/epoch_60/204_traj_1000004_envseed.mp4 +0 -0
  32. videos/66183_0/epoch_60/206_traj_1000006_envseed.mp4 +0 -0
  33. videos/66183_0/epoch_60/207_traj_1000007_envseed.mp4 +0 -0
  34. videos/66183_0/epoch_60/213_traj_1000013_envseed.mp4 +0 -0
  35. videos/66183_0/epoch_60/214_traj_1000014_envseed.mp4 +0 -0
  36. videos/66183_0/epoch_60/215_traj_1000015_envseed.mp4 +0 -0
  37. videos/66183_0/epoch_60/217_traj_1000017_envseed.mp4 +0 -0
  38. videos/66183_0/epoch_60/219_traj_1000019_envseed.mp4 +0 -0
  39. videos/66183_0/epoch_60/220_traj_1000020_envseed.mp4 +0 -0
  40. videos/66183_0/epoch_60/225_traj_1000025_envseed.mp4 +0 -0
  41. videos/66183_0/epoch_60/227_traj_1000027_envseed.mp4 +0 -0
  42. videos/66183_0/epoch_60/228_traj_1000028_envseed.mp4 +0 -0
  43. videos/66183_0/epoch_60/233_traj_1000033_envseed.mp4 +0 -0
  44. videos/66183_0/epoch_60/236_traj_1000036_envseed.mp4 +0 -0
  45. videos/66183_0/epoch_60/237_traj_1000037_envseed.mp4 +0 -0
  46. videos/66183_0/epoch_60/238_traj_1000038_envseed.mp4 +0 -0
  47. videos/66183_0/epoch_60/241_traj_1000041_envseed.mp4 +0 -0
  48. videos/66183_0/epoch_60/243_traj_1000043_envseed.mp4 +0 -0
  49. videos/66183_0/epoch_60/244_traj_1000044_envseed.mp4 +0 -0
  50. videos/66183_0/epoch_60/245_traj_1000045_envseed.mp4 +0 -0
.gitattributes CHANGED
@@ -33,3 +33,54 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ videos/66183_0/epoch_80/345_traj_1000045_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
37
+ videos/66183_0/epoch_80/325_traj_1000025_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
38
+ videos/66183_0/epoch_80/302_traj_1000002_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
39
+ videos/66183_0/epoch_80/357_traj_1000057_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
40
+ videos/66183_0/epoch_80/350_traj_1000050_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
41
+ videos/66183_0/epoch_80/346_traj_1000046_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
42
+ videos/66183_0/epoch_80/332_traj_1000032_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
43
+ videos/66183_0/epoch_80/399_traj_1000099_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
44
+ videos/66183_0/epoch_80/351_traj_1000051_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
45
+ videos/66183_0/epoch_80/356_traj_1000056_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
46
+ videos/66183_0/epoch_80/326_traj_1000026_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
47
+ videos/66183_0/epoch_80/301_traj_1000001_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
48
+ videos/66183_0/epoch_80/392_traj_1000092_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
49
+ videos/66183_0/epoch_80/361_traj_1000061_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
50
+ videos/66183_0/epoch_80/370_traj_1000070_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
51
+ videos/66183_0/epoch_80/348_traj_1000048_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
52
+ videos/66183_0/epoch_80/372_traj_1000072_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
53
+ videos/66183_0/epoch_80/359_traj_1000059_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
54
+ videos/66183_0/epoch_80/379_traj_1000079_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
55
+ videos/66183_0/epoch_80/330_traj_1000030_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
56
+ videos/66183_0/epoch_80/307_traj_1000007_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
57
+ videos/66183_0/epoch_80/305_traj_1000005_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
58
+ videos/66183_0/epoch_80/375_traj_1000075_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
59
+ videos/66183_0/epoch_80/319_traj_1000019_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ videos/66183_0/epoch_80/369_traj_1000069_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
61
+ videos/66183_0/epoch_80/322_traj_1000022_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
62
+ videos/66183_0/epoch_80/308_traj_1000008_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
63
+ videos/66183_0/epoch_80/377_traj_1000077_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
64
+ videos/66183_0/epoch_80/337_traj_1000037_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
65
+ videos/66183_0/epoch_80/327_traj_1000027_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
66
+ videos/66183_0/epoch_80/349_traj_1000049_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
67
+ videos/66183_0/epoch_80/378_traj_1000078_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
68
+ videos/66183_0/epoch_80/382_traj_1000082_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
69
+ videos/66183_0/epoch_80/384_traj_1000084_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
70
+ videos/66183_0/epoch_80/333_traj_1000033_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
71
+ videos/66183_0/epoch_80/363_traj_1000063_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
72
+ videos/66183_0/epoch_80/360_traj_1000060_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
73
+ videos/66183_0/epoch_80/336_traj_1000036_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
74
+ videos/66183_0/epoch_80/339_traj_1000039_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
75
+ videos/66183_0/epoch_80/343_traj_1000043_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
76
+ videos/66183_0/epoch_80/388_traj_1000088_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
77
+ videos/66183_0/epoch_80/331_traj_1000031_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
78
+ videos/66183_0/epoch_80/398_traj_1000098_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
79
+ videos/66183_0/epoch_80/347_traj_1000047_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
80
+ videos/66183_0/epoch_80/344_traj_1000044_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
81
+ videos/66183_0/epoch_80/371_traj_1000071_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
82
+ videos/66183_0/epoch_80/342_traj_1000042_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
83
+ videos/66183_0/epoch_80/368_traj_1000068_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
84
+ videos/66183_0/epoch_80/334_traj_1000034_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
85
+ videos/66183_0/epoch_80/321_traj_1000021_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
86
+ videos/66183_0/epoch_80/312_traj_1000012_envseed.mp4 filter=lfs diff=lfs merge=lfs -text
config.yaml ADDED
@@ -0,0 +1,619 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ root_dir: /mnt/kostas-graid/datasets/extrinsic_contact_data
2
+ replay_buffer_size: 150000
3
+ replay_buffer_num_workers: 2
4
+ nstep: 3
5
+ batch_size: 128
6
+ seed: 0
7
+ dataset_shuffle_seed: ${seed}
8
+ valid_dataset_shuffle_seed: 0
9
+ train_dataset_shuffle_seed: 0
10
+ device: cuda
11
+ save_video: true
12
+ save_train_video: true
13
+ use_tb: true
14
+ use_wandb: true
15
+ wandb_run_id: '66183_0'
16
+ wandb_notes: '66183_0_'
17
+ eval: false
18
+ eval_on_sim: true
19
+ eval_on_sim_past_checkpoints: false
20
+ simulation: true
21
+ true_action_history: false
22
+ train_pad_after: 4
23
+ process_contact_features: ${eval}
24
+ obs_type: pixels
25
+ use_color: true
26
+ use_depth: true
27
+ use_masks: false
28
+ mask_list:
29
+ - EE_obj_mask
30
+ mask_representation: channels
31
+ segmentation_model_name: gt_segmentation
32
+ crop_hw:
33
+ - 144
34
+ - 144
35
+ crop_down_offset: 48
36
+ color_crop_type: null
37
+ depth_crop_type: null
38
+ segmask_crop_type: null
39
+ add_crop_binary_mask: false
40
+ add_coord_conv_map: false
41
+ use_context_color: false
42
+ use_context_depth: false
43
+ use_context_segmask: false
44
+ context_color_crop_type: null
45
+ context_depth_crop_type: null
46
+ context_segmask_crop_type: null
47
+ context_add_crop_binary_mask: false
48
+ context_add_coord_conv_map: false
49
+ use_contact_map: false
50
+ use_sdf_maps: false
51
+ use_normals_maps: false
52
+ which_objects: both
53
+ max_contact_prob: 1.0
54
+ max_depth: 2.0
55
+ grasped_dtc_max_value: 0.2
56
+ env_dtc_max_value: 0.4
57
+ grasped_normals_mask_max_dtc_value: 0.2
58
+ env_normals_mask_max_dtc_value: 0.4
59
+ clamp_dtc: true
60
+ dtc_adaptive_normalization: false
61
+ mask_normals_within_sdf: true
62
+ adaptive_normals_mask: true
63
+ learnable_contact_preprocess_params: false
64
+ contact_model_name: gt_contact
65
+ contact_estimation_model_ckpt_path: ~/fish_leon/contact_estimation/artifacts/175604_2/checkpoints/epoch=09-val_loss=0.00.ckpt
66
+ encoder_type: small
67
+ debug_timestamps: false
68
+ open_loop: false
69
+ action_trajectories: true
70
+ stop_after_action: false
71
+ interpolation_frequency: 25
72
+ policy_frequency: 5
73
+ wait_for_new_camera_frames: true
74
+ baseline: false
75
+ use_num_train_epochs_to_determine_lr_schedule: true
76
+ grasped_book_config:
77
+ randomize_color: false
78
+ randomize_density: false
79
+ density_randomization_bounds:
80
+ - 650
81
+ - 850
82
+ randomize_height: false
83
+ height_randomization_bounds:
84
+ - 0.165
85
+ - 0.25
86
+ randomize_width: false
87
+ width_randomization_bounds:
88
+ - 0.03
89
+ - 0.065
90
+ randomize_length: false
91
+ length_randomization_bounds:
92
+ - 0.1
93
+ - 0.15
94
+ env_books_config:
95
+ num_env_books: 8
96
+ randomize_color: false
97
+ randomize_density: false
98
+ density_randomization_bounds:
99
+ - 655
100
+ - 1015
101
+ randomize_height: false
102
+ height_randomization_bounds:
103
+ - 0.2475
104
+ - 0.2525
105
+ randomize_width: false
106
+ width_randomization_bounds:
107
+ - 0.015
108
+ - 0.05
109
+ randomize_length: false
110
+ length_randomization_bounds:
111
+ - 0.15
112
+ - 0.2
113
+ shuffle_mode: none
114
+ slot_config:
115
+ negative_tolerance: 0.0035
116
+ left_of_book_index: 4
117
+ y_randomization_bounds:
118
+ - -0.05
119
+ - 0.05
120
+ book_ends_config:
121
+ mode: dynamic
122
+ height: 0.1
123
+ mass: 3.5
124
+ color: '#808080'
125
+ friction: 0.15
126
+ record_sim_videos: true
127
+ resume_wandb_run: true
128
+ train_demo_idxs_list_or_num: -1
129
+ log_train_every_steps: 25
130
+ name_of_expert_demo: 343_sim_demos_leftof4thbook_bookends_nograspedrand_noenvrand_slotrand_20hz_act
131
+ expert_dataset_dirpath: ${root_dir}/FISH/expert_demos/${suite.name}/${task_name}/${name_of_expert_demo}
132
+ store_dataset_in_memory: false
133
+ expert_dataset: ${expert_dataset_dirpath}/demos.zarr
134
+ action_key: action
135
+ semantic_demo_grouping_name: semantic_demo_grouping.yaml
136
+ semantic_demo_grouping: ${expert_dataset_dirpath}/${semantic_demo_grouping_name}
137
+ include_groups_list: all
138
+ expert_dataset_config: ${expert_dataset_dirpath}/demo_config.yaml
139
+ name_of_valid_demo: 343_sim_demos_leftof4thbook_bookends_nograspedrand_noenvrand_slotrand_20hz_act
140
+ train_num_groups: 313
141
+ valid_dataset_dir: ${root_dir}/FISH/expert_demos/${suite.name}/${task_name}/${name_of_valid_demo}/demos.zarr
142
+ valid_demo_idxs_list_or_num: null
143
+ val_num_groups: 30
144
+ universal_unseen_env_seed_start: 1000000
145
+ load_bc: ${agent.load_checkpoint}
146
+ checkpoint_epoch_list:
147
+ - 99
148
+ - 199
149
+ - 299
150
+ - 399
151
+ - 499
152
+ - 599
153
+ - 699
154
+ - 799
155
+ - 899
156
+ - 999
157
+ - 1249
158
+ - 1499
159
+ - 1749
160
+ - 1999
161
+ - 2999
162
+ - 3999
163
+ - 4999
164
+ - 5999
165
+ - 6999
166
+ - 7999
167
+ - 8999
168
+ - 9999
169
+ snapshot_root_dir: /mnt/grasp_high_usage/leonmkim/contact_estimation/FISH
170
+ save_snapshot: true
171
+ save_last_snapshot: true
172
+ save_snapshot_when_done: true
173
+ top_k_checkpoints: 10
174
+ save_snapshot_link_to_weights_dir: deprecated
175
+ restore_missing_checkpoint: null
176
+ restore_and_eval_all_missing_checkpoints: false
177
+ bc_regularize: false
178
+ bc_weight_type: qfilter
179
+ username: leonmkim
180
+ hostname: grasp-login1
181
+ local_snapshot_root_dir: /mnt/bighdd/fish_contact_backup
182
+ local_snapshot_dir: ${local_snapshot_root_dir}/exp_local/${suite.name}_${obs_type}/${task_name}
183
+ experiment_dir: ./exp_local/${suite.name}_${obs_type}/${task_name}/${wandb_run_id}
184
+ agent:
185
+ _target_: agent.diffusion_policy.DiffusionPolicyAgent
186
+ name: diffusion_policy
187
+ load_checkpoint: ${eval}
188
+ device: ${device}
189
+ n_obs_steps: ${.config.policy_cfg.n_obs_steps}
190
+ suite_name: ${suite.name}
191
+ obs_type: ${obs_type}
192
+ enable_arm: ${eval}
193
+ enable_camera: ${eval}
194
+ use_tb: ${use_tb}
195
+ desired_image_shape:
196
+ - 13
197
+ - 180
198
+ - 240
199
+ orig_cam_shape:
200
+ - 3
201
+ - 240
202
+ - 320
203
+ actions_prenormalized: ${simulation}
204
+ config:
205
+ _target_: agent.diffusion_policy.DiffusionPolicyAgentConfig
206
+ compile: false
207
+ device: ${device}
208
+ cam_resize_shape: ${agent.desired_image_shape}
209
+ orig_cam_shape: ${agent.orig_cam_shape}
210
+ policy_frequency: ${policy_frequency}
211
+ interpolation_frequency: ${interpolation_frequency}
212
+ deterministic_actions: true
213
+ deterministic_actions_seed: 0
214
+ policy_cfg:
215
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig
216
+ n_obs_steps: 1
217
+ horizon: 28
218
+ n_action_steps: ${agent.config.policy_cfg.horizon}
219
+ output_shapes:
220
+ action:
221
+ - 7
222
+ input_normalization_modes:
223
+ observation.image: mean_std
224
+ observation.state: min_max
225
+ observation.action_history: min_max
226
+ output_normalization_modes:
227
+ action: min_max
228
+ vision_backbone: resnet18
229
+ crop_distractors_tlhw: null
230
+ pretrained_backbone_weights: null
231
+ transforms:
232
+ - _target_: torchvision.transforms.v2.Grayscale
233
+ num_output_channels: 3
234
+ use_group_norm: true
235
+ spatial_softmax_num_keypoints: 32
236
+ action_history_encoder_config:
237
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig
238
+ in_channels: 7
239
+ out_channels: 32
240
+ history_length: 4
241
+ kernel_size: ${agent.config.policy_cfg.kernel_size}
242
+ downsample_kernel_size: 3
243
+ downsample_stride: 2
244
+ downsample_padding: 1
245
+ down_dims:
246
+ - 128
247
+ - 256
248
+ - 512
249
+ kernel_size: 5
250
+ n_groups: 8
251
+ diffusion_step_embed_dim: 128
252
+ use_film_scale_modulation: true
253
+ noise_scheduler_type: DDIM
254
+ beta_schedule: squaredcos_cap_v2
255
+ beta_start: 0.0001
256
+ beta_end: 0.02
257
+ prediction_type: epsilon
258
+ clip_sample: true
259
+ clip_sample_range: 1.0
260
+ num_train_timesteps: 50
261
+ num_inference_steps: 10
262
+ do_mask_loss_for_padding: false
263
+ start_horizon_at_current_step: true
264
+ input_shapes:
265
+ observation.image:
266
+ - 13
267
+ - 180
268
+ - 240
269
+ context_observation.image:
270
+ - 13
271
+ - 180
272
+ - 240
273
+ observation.state:
274
+ - 8
275
+ observation.action_history:
276
+ - 7
277
+ train_cfg:
278
+ _target_: utils.TrainConfig
279
+ lr: 0.0001
280
+ lr_scheduler: cosine
281
+ lr_warmup_steps: 500
282
+ adam_betas:
283
+ - 0.95
284
+ - 0.999
285
+ adam_eps: 1.0e-08
286
+ adam_weight_decay: 1.0e-06
287
+ grad_clip_norm: 10
288
+ offline_steps: 415000
289
+ use_amp: true
290
+ optimizer: adamw
291
+ observation_cfg:
292
+ _target_: agent.encoder.VisualFeatureSet
293
+ use_depth: ${use_depth}
294
+ use_color: ${use_color}
295
+ mask_input_dict:
296
+ _target_: agent.encoder.MaskInputDict
297
+ enable: ${use_masks}
298
+ representation: ${mask_representation}
299
+ mask_list: ${mask_list}
300
+ segmentation_model_name: ${segmentation_model_name}
301
+ crop_input_config:
302
+ _target_: agent.encoder.CropInputConfig
303
+ color_crop_type: ${color_crop_type}
304
+ depth_crop_type: ${depth_crop_type}
305
+ segmask_crop_type: ${segmask_crop_type}
306
+ crop_hw: ${crop_hw}
307
+ crop_down_offset: ${crop_down_offset}
308
+ add_crop_binary_mask: ${add_crop_binary_mask}
309
+ add_coord_conv_map: ${add_coord_conv_map}
310
+ context_input_config:
311
+ _target_: agent.encoder.ContextInputConfig
312
+ use_color: ${use_context_color}
313
+ use_depth: ${use_context_depth}
314
+ mask_input_dict:
315
+ _target_: agent.encoder.MaskInputDict
316
+ enable: ${use_context_segmask}
317
+ representation: ${mask_representation}
318
+ mask_list: ${mask_list}
319
+ segmentation_model_name: ${segmentation_model_name}
320
+ crop_input_config:
321
+ _target_: agent.encoder.CropInputConfig
322
+ color_crop_type: ${context_color_crop_type}
323
+ depth_crop_type: ${context_depth_crop_type}
324
+ segmask_crop_type: ${context_segmask_crop_type}
325
+ crop_hw: ${crop_hw}
326
+ crop_down_offset: ${crop_down_offset}
327
+ add_crop_binary_mask: ${context_add_crop_binary_mask}
328
+ add_coord_conv_map: ${context_add_coord_conv_map}
329
+ mask_soft_approx_scheduler_config:
330
+ _target_: agent.encoder.MaskSoftApproxSchedulerConfig
331
+ num_steps: 40000
332
+ initial_value: 10.0
333
+ final_value: 1000.0
334
+ interpolation_scheme: cosine
335
+ use_contact_map: ${use_contact_map}
336
+ use_sdf_maps: ${use_sdf_maps}
337
+ use_normals_maps: ${use_normals_maps}
338
+ which_objects: ${which_objects}
339
+ grasped_dtc_max_value: ${grasped_dtc_max_value}
340
+ env_dtc_max_value: ${env_dtc_max_value}
341
+ grasped_normals_mask_max_dtc_value: ${grasped_normals_mask_max_dtc_value}
342
+ env_normals_mask_max_dtc_value: ${env_normals_mask_max_dtc_value}
343
+ clamp_dtc: ${clamp_dtc}
344
+ max_contact_prob: ${max_contact_prob}
345
+ mask_normals_within_sdf: ${mask_normals_within_sdf}
346
+ dtc_adaptive_normalization: ${dtc_adaptive_normalization}
347
+ adaptive_normals_mask: ${adaptive_normals_mask}
348
+ max_depth: ${max_depth}
349
+ image_shape: ${agent.desired_image_shape}
350
+ learnable_contact_preprocess_params: ${learnable_contact_preprocess_params}
351
+ learning_rate: 0.0001
352
+ weight_decay: 0.0
353
+ contact_model_name: ${contact_model_name}
354
+ zero_centered: false
355
+ crop_distractors_tlhw: ${agent.config.policy_cfg.crop_distractors_tlhw}
356
+ suite:
357
+ suite: frankagym
358
+ name: frankagym
359
+ frame_stack: ${agent.n_obs_steps}
360
+ action_repeat: 1
361
+ discount: 0.99
362
+ hidden_dim: 1024
363
+ num_train_frames: 1000000
364
+ num_seed_frames: 0
365
+ num_train_epochs: 1000
366
+ validate_every_epochs: 20
367
+ eval_on_sim_every_epochs: 20
368
+ validate_diffusion_on_action_loss_every_epochs: 20
369
+ eval_on_sim_every_epochs_diffusion: 500
370
+ train_eval_diffusion_on_action_loss_every_epochs: 20
371
+ check_topk_every_epochs: 20
372
+ save_snapshot_every_epochs: 25
373
+ num_seen_eval_envs: 0
374
+ num_unseen_eval_envs: 100
375
+ evals_per_env: 1
376
+ eval_every_frames: 2000
377
+ num_eval_episodes: 5
378
+ save_snapshot: true
379
+ wait_for_user_to_start_episode: true
380
+ task_make_fn:
381
+ _target_: suite.frankagym.make
382
+ name: ${task_name}
383
+ height: 240
384
+ width: 320
385
+ frame_stack: ${suite.frame_stack}
386
+ action_repeat: ${suite.action_repeat}
387
+ seed: ${seed}
388
+ enable_arm: ${agent.enable_arm}
389
+ enable_gripper: ${enable_gripper}
390
+ start_with_gripper_open: ${start_with_gripper_open}
391
+ enable_camera: ${agent.enable_camera}
392
+ path_to_depth_extrinsics: ${path_to_depth_extrinsics}
393
+ contact_estimation_model_ckpt_path: ${contact_estimation_model_ckpt_path}
394
+ x_limit: ${x_limit}
395
+ y_limit: ${y_limit}
396
+ z_limit: ${z_limit}
397
+ device: ${device}
398
+ interpolation_frequency: ${interpolation_frequency}
399
+ policy_frequency: ${policy_frequency}
400
+ debug_timestamps: ${debug_timestamps}
401
+ stop_after_action: ${stop_after_action}
402
+ open_loop: ${open_loop}
403
+ wait_for_new_camera_frames: ${wait_for_new_camera_frames}
404
+ action_key: ${action_key}
405
+ action_trajectory_horizon: ${agent.config.policy_cfg.horizon}
406
+ action_trajectories: ${action_trajectories}
407
+ path_to_zarr_dataset: ${expert_dataset}
408
+ agent_policy_cfg:
409
+ _target_: agent.diffusion_policy.DiffusionPolicyAgentConfig
410
+ compile: false
411
+ device: ${device}
412
+ cam_resize_shape: ${agent.desired_image_shape}
413
+ orig_cam_shape: ${agent.orig_cam_shape}
414
+ policy_frequency: ${policy_frequency}
415
+ interpolation_frequency: ${interpolation_frequency}
416
+ deterministic_actions: true
417
+ deterministic_actions_seed: 0
418
+ policy_cfg:
419
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.DiffusionConfig
420
+ n_obs_steps: 1
421
+ horizon: 28
422
+ n_action_steps: ${agent.config.policy_cfg.horizon}
423
+ output_shapes:
424
+ action:
425
+ - 7
426
+ input_normalization_modes:
427
+ observation.image: mean_std
428
+ observation.state: min_max
429
+ observation.action_history: min_max
430
+ output_normalization_modes:
431
+ action: min_max
432
+ vision_backbone: resnet18
433
+ crop_distractors_tlhw: null
434
+ pretrained_backbone_weights: null
435
+ transforms:
436
+ - _target_: torchvision.transforms.v2.Grayscale
437
+ num_output_channels: 3
438
+ use_group_norm: true
439
+ spatial_softmax_num_keypoints: 32
440
+ action_history_encoder_config:
441
+ _target_: lerobot.common.policies.diffusion.configuration_diffusion.Unet1dEncoderConfig
442
+ in_channels: 7
443
+ out_channels: 32
444
+ history_length: 4
445
+ kernel_size: ${agent.config.policy_cfg.kernel_size}
446
+ downsample_kernel_size: 3
447
+ downsample_stride: 2
448
+ downsample_padding: 1
449
+ down_dims:
450
+ - 128
451
+ - 256
452
+ - 512
453
+ kernel_size: 5
454
+ n_groups: 8
455
+ diffusion_step_embed_dim: 128
456
+ use_film_scale_modulation: true
457
+ noise_scheduler_type: DDIM
458
+ beta_schedule: squaredcos_cap_v2
459
+ beta_start: 0.0001
460
+ beta_end: 0.02
461
+ prediction_type: epsilon
462
+ clip_sample: true
463
+ clip_sample_range: 1.0
464
+ num_train_timesteps: 50
465
+ num_inference_steps: 10
466
+ do_mask_loss_for_padding: false
467
+ start_horizon_at_current_step: true
468
+ input_shapes:
469
+ observation.image:
470
+ - 13
471
+ - 180
472
+ - 240
473
+ context_observation.image:
474
+ - 13
475
+ - 180
476
+ - 240
477
+ observation.state:
478
+ - 8
479
+ observation.action_history:
480
+ - 7
481
+ train_cfg:
482
+ _target_: utils.TrainConfig
483
+ lr: 0.0001
484
+ lr_scheduler: cosine
485
+ lr_warmup_steps: 500
486
+ adam_betas:
487
+ - 0.95
488
+ - 0.999
489
+ adam_eps: 1.0e-08
490
+ adam_weight_decay: 1.0e-06
491
+ grad_clip_norm: 10
492
+ offline_steps: ${num_train_frames_diffusion}
493
+ use_amp: true
494
+ optimizer: adamw
495
+ observation_cfg:
496
+ _target_: agent.encoder.VisualFeatureSet
497
+ use_depth: ${use_depth}
498
+ use_color: ${use_color}
499
+ mask_input_dict:
500
+ _target_: agent.encoder.MaskInputDict
501
+ enable: ${use_masks}
502
+ representation: ${mask_representation}
503
+ mask_list: ${mask_list}
504
+ segmentation_model_name: ${segmentation_model_name}
505
+ crop_input_config:
506
+ _target_: agent.encoder.CropInputConfig
507
+ color_crop_type: ${color_crop_type}
508
+ depth_crop_type: ${depth_crop_type}
509
+ segmask_crop_type: ${segmask_crop_type}
510
+ crop_hw: ${crop_hw}
511
+ crop_down_offset: ${crop_down_offset}
512
+ add_crop_binary_mask: ${add_crop_binary_mask}
513
+ add_coord_conv_map: ${add_coord_conv_map}
514
+ context_input_config:
515
+ _target_: agent.encoder.ContextInputConfig
516
+ use_color: ${use_context_color}
517
+ use_depth: ${use_context_depth}
518
+ mask_input_dict:
519
+ _target_: agent.encoder.MaskInputDict
520
+ enable: ${use_context_segmask}
521
+ representation: ${mask_representation}
522
+ mask_list: ${mask_list}
523
+ segmentation_model_name: ${segmentation_model_name}
524
+ crop_input_config:
525
+ _target_: agent.encoder.CropInputConfig
526
+ color_crop_type: ${context_color_crop_type}
527
+ depth_crop_type: ${context_depth_crop_type}
528
+ segmask_crop_type: ${context_segmask_crop_type}
529
+ crop_hw: ${crop_hw}
530
+ crop_down_offset: ${crop_down_offset}
531
+ add_crop_binary_mask: ${context_add_crop_binary_mask}
532
+ add_coord_conv_map: ${context_add_coord_conv_map}
533
+ mask_soft_approx_scheduler_config:
534
+ _target_: agent.encoder.MaskSoftApproxSchedulerConfig
535
+ num_steps: 40000
536
+ initial_value: 10.0
537
+ final_value: 1000.0
538
+ interpolation_scheme: cosine
539
+ use_contact_map: ${use_contact_map}
540
+ use_sdf_maps: ${use_sdf_maps}
541
+ use_normals_maps: ${use_normals_maps}
542
+ which_objects: ${which_objects}
543
+ grasped_dtc_max_value: ${grasped_dtc_max_value}
544
+ env_dtc_max_value: ${env_dtc_max_value}
545
+ grasped_normals_mask_max_dtc_value: ${grasped_normals_mask_max_dtc_value}
546
+ env_normals_mask_max_dtc_value: ${env_normals_mask_max_dtc_value}
547
+ clamp_dtc: ${clamp_dtc}
548
+ max_contact_prob: ${max_contact_prob}
549
+ mask_normals_within_sdf: ${mask_normals_within_sdf}
550
+ dtc_adaptive_normalization: ${dtc_adaptive_normalization}
551
+ adaptive_normals_mask: ${adaptive_normals_mask}
552
+ max_depth: ${max_depth}
553
+ image_shape: ${agent.desired_image_shape}
554
+ learnable_contact_preprocess_params: ${learnable_contact_preprocess_params}
555
+ learning_rate: 0.0001
556
+ weight_decay: 0.0
557
+ contact_model_name: ${contact_model_name}
558
+ zero_centered: false
559
+ crop_distractors_tlhw: ${agent.config.policy_cfg.crop_distractors_tlhw}
560
+ true_action_history: ${true_action_history}
561
+ num_train_frames_bc: 50000
562
+ num_train_frames_drq: 1100000
563
+ stddev_schedule_drq: linear(1.0,0.1,100000)
564
+ task_name: FrankaInsertion-v1
565
+ num_train_frames_vinn: 25000
566
+ num_train_frames_diffusion: 1000000
567
+ num_train_epochs_bc: 5000
568
+ num_train_epochs_diffusion: 1000
569
+ validate_every_epochs_bc: 5
570
+ validate_every_epochs_diffusion: 20
571
+ validate_diffusion_on_action_loss_every_epochs: 20
572
+ train_eval_diffusion_on_action_loss_every_epochs: 20
573
+ eval_on_sim_every_epochs_diffusion: 20
574
+ check_topk_every_epochs: 5
575
+ check_topk_every_epochs_diffusion: 20
576
+ save_snapshot_every_epochs_diffusion: 25
577
+ x_limit:
578
+ - 0.2
579
+ - 0.7
580
+ y_limit:
581
+ - -0.4
582
+ - 0.4
583
+ z_limit:
584
+ - -0.05
585
+ - 0.55
586
+ home_displacement:
587
+ - 0.55
588
+ - 0.0
589
+ - 0.55
590
+ - 180.0
591
+ - 0.0
592
+ - 0.0
593
+ enable_gripper: true
594
+ start_with_gripper_open: true
595
+ offset_mask:
596
+ - 1
597
+ - 1
598
+ - 1
599
+ - 1
600
+ - 1
601
+ - 1
602
+ path_to_depth_extrinsics: ~/fish_leon/FISH/cfgs/camera_poses/camera_poses_L515/20240904-122305/color_tf_world.npy
603
+ test:
604
+ username: leonmkim
605
+ hostname: grasp-login1
606
+ name_of_expert_demo: 112_240x320_all_twodim_left_to_right_annotated_start_idx_5hz_zstd7_EE_pxl_coords_expert_demos_imp_act
607
+ root_dir: ~/fish_leon
608
+ expert_dataset_dirpath: ${test.root_dir}/FISH/expert_demos/${suite.name}/${task_name}/${test.name_of_expert_demo}
609
+ expert_dataset: ${test.expert_dataset_dirpath}/demos.zarr
610
+ semantic_demo_grouping_name: semantic_demo_grouping.yaml
611
+ semantic_demo_grouping: ${test.expert_dataset_dirpath}/${test.semantic_demo_grouping_name}
612
+ include_groups_list: all
613
+ batch_size: 128
614
+ store_dataset_in_memory: false
615
+ use_tb: true
616
+ local_snapshot_root_dir: /mnt/bighdd/fish_contact_backup
617
+ local_snapshot_dir: ${test.local_snapshot_root_dir}/exp_local/${suite.name}_${obs_type}/${task_name}
618
+ resume_wandb_run: false
619
+ feature_type: 180x240_1_RGB_D_2.0_acthist_hst4_out32_dwnkrnl3_dwnstrd2_dwnpd1
videos/66183_0/epoch_20/10_traj_1000010_envseed.mp4 ADDED
Binary file (62.4 kB). View file
 
videos/66183_0/epoch_20/13_traj_1000013_envseed.mp4 ADDED
Binary file (58.4 kB). View file
 
videos/66183_0/epoch_20/21_traj_1000021_envseed.mp4 ADDED
Binary file (59.6 kB). View file
 
videos/66183_0/epoch_20/22_traj_1000022_envseed.mp4 ADDED
Binary file (64.7 kB). View file
 
videos/66183_0/epoch_20/24_traj_1000024_envseed.mp4 ADDED
Binary file (59.1 kB). View file
 
videos/66183_0/epoch_20/26_traj_1000026_envseed.mp4 ADDED
Binary file (61.8 kB). View file
 
videos/66183_0/epoch_20/31_traj_1000031_envseed.mp4 ADDED
Binary file (61 kB). View file
 
videos/66183_0/epoch_20/33_traj_1000033_envseed.mp4 ADDED
Binary file (60.3 kB). View file
 
videos/66183_0/epoch_20/36_traj_1000036_envseed.mp4 ADDED
Binary file (57.9 kB). View file
 
videos/66183_0/epoch_20/3_traj_1000003_envseed.mp4 ADDED
Binary file (64.9 kB). View file
 
videos/66183_0/epoch_20/40_traj_1000040_envseed.mp4 ADDED
Binary file (58.4 kB). View file
 
videos/66183_0/epoch_20/41_traj_1000041_envseed.mp4 ADDED
Binary file (73.7 kB). View file
 
videos/66183_0/epoch_20/49_traj_1000049_envseed.mp4 ADDED
Binary file (58.5 kB). View file
 
videos/66183_0/epoch_20/51_traj_1000051_envseed.mp4 ADDED
Binary file (58.8 kB). View file
 
videos/66183_0/epoch_20/53_traj_1000053_envseed.mp4 ADDED
Binary file (59.3 kB). View file
 
videos/66183_0/epoch_20/55_traj_1000055_envseed.mp4 ADDED
Binary file (58.3 kB). View file
 
videos/66183_0/epoch_20/56_traj_1000056_envseed.mp4 ADDED
Binary file (62.2 kB). View file
 
videos/66183_0/epoch_20/57_traj_1000057_envseed.mp4 ADDED
Binary file (59.9 kB). View file
 
videos/66183_0/epoch_20/59_traj_1000059_envseed.mp4 ADDED
Binary file (59.4 kB). View file
 
videos/66183_0/epoch_20/66_traj_1000066_envseed.mp4 ADDED
Binary file (59.4 kB). View file
 
videos/66183_0/epoch_20/74_traj_1000074_envseed.mp4 ADDED
Binary file (60 kB). View file
 
videos/66183_0/epoch_20/88_traj_1000088_envseed.mp4 ADDED
Binary file (59.6 kB). View file
 
videos/66183_0/epoch_20/91_traj_1000091_envseed.mp4 ADDED
Binary file (67.9 kB). View file
 
videos/66183_0/epoch_20/92_traj_1000092_envseed.mp4 ADDED
Binary file (59.4 kB). View file
 
videos/66183_0/epoch_20/96_traj_1000096_envseed.mp4 ADDED
Binary file (58.4 kB). View file
 
videos/66183_0/epoch_60/200_traj_1000000_envseed.mp4 ADDED
Binary file (87.1 kB). View file
 
videos/66183_0/epoch_60/201_traj_1000001_envseed.mp4 ADDED
Binary file (90 kB). View file
 
videos/66183_0/epoch_60/203_traj_1000003_envseed.mp4 ADDED
Binary file (71.2 kB). View file
 
videos/66183_0/epoch_60/204_traj_1000004_envseed.mp4 ADDED
Binary file (88.4 kB). View file
 
videos/66183_0/epoch_60/206_traj_1000006_envseed.mp4 ADDED
Binary file (75.5 kB). View file
 
videos/66183_0/epoch_60/207_traj_1000007_envseed.mp4 ADDED
Binary file (96 kB). View file
 
videos/66183_0/epoch_60/213_traj_1000013_envseed.mp4 ADDED
Binary file (71.3 kB). View file
 
videos/66183_0/epoch_60/214_traj_1000014_envseed.mp4 ADDED
Binary file (76.9 kB). View file
 
videos/66183_0/epoch_60/215_traj_1000015_envseed.mp4 ADDED
Binary file (66.4 kB). View file
 
videos/66183_0/epoch_60/217_traj_1000017_envseed.mp4 ADDED
Binary file (91.3 kB). View file
 
videos/66183_0/epoch_60/219_traj_1000019_envseed.mp4 ADDED
Binary file (73.3 kB). View file
 
videos/66183_0/epoch_60/220_traj_1000020_envseed.mp4 ADDED
Binary file (89.4 kB). View file
 
videos/66183_0/epoch_60/225_traj_1000025_envseed.mp4 ADDED
Binary file (96.3 kB). View file
 
videos/66183_0/epoch_60/227_traj_1000027_envseed.mp4 ADDED
Binary file (89.6 kB). View file
 
videos/66183_0/epoch_60/228_traj_1000028_envseed.mp4 ADDED
Binary file (77 kB). View file
 
videos/66183_0/epoch_60/233_traj_1000033_envseed.mp4 ADDED
Binary file (70 kB). View file
 
videos/66183_0/epoch_60/236_traj_1000036_envseed.mp4 ADDED
Binary file (71.5 kB). View file
 
videos/66183_0/epoch_60/237_traj_1000037_envseed.mp4 ADDED
Binary file (95.6 kB). View file
 
videos/66183_0/epoch_60/238_traj_1000038_envseed.mp4 ADDED
Binary file (73.2 kB). View file
 
videos/66183_0/epoch_60/241_traj_1000041_envseed.mp4 ADDED
Binary file (77.3 kB). View file
 
videos/66183_0/epoch_60/243_traj_1000043_envseed.mp4 ADDED
Binary file (90.2 kB). View file
 
videos/66183_0/epoch_60/244_traj_1000044_envseed.mp4 ADDED
Binary file (77.3 kB). View file
 
videos/66183_0/epoch_60/245_traj_1000045_envseed.mp4 ADDED
Binary file (68 kB). View file