File size: 24,650 Bytes
d7beed5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
CONFIG
β”œβ”€β”€ data
β”‚   └── train_val_split: null                                                                               
β”‚       train_data_budget: 1.0                                                                              
β”‚       val_data_budget: 1.0                                                                                
β”‚       max_train_data: null                                                                                
β”‚       sensor: digit                                                                                       
β”‚       dataset:                                                                                            
β”‚         _target_: tactile_ssl.data.vision_tactile_forcefield.VisionTactileBackboneDataset                 
β”‚         config:                                                                                           
β”‚           sensor: digit                                                                                   
β”‚           remove_bg: true                                                                                 
β”‚           out_format: concat_ch_img                                                                       
β”‚           num_frames: 2                                                                                   
β”‚           frame_stride: 5                                                                                 
β”‚           path_dataset: /media/chiguera/GUM//datasets/digitv1/Object-Slide/                               
β”‚           path_bgs: /media/chiguera/GUM//datasets/digitv1/Object-Slide/bgs/                               
β”‚           list_datasets:                                                                                  
β”‚           - 004_sugar_box/dataset_0                                                                       
β”‚           - 025_mug/dataset_0                                                                             
β”‚           - 048_hammer/dataset_0                                                                          
β”‚           - 005_tomato_soup_can/dataset_0                                                                 
β”‚           - 035_power_drill/dataset_0                                                                     
β”‚           - 055_baseball/dataset_0                                                                        
β”‚           - 006_mustard_bottle/dataset_0                                                                  
β”‚           - 037_scissors/dataset_0                                                                        
β”‚           - 021_bleach_cleanser/dataset_0                                                                 
β”‚           - 042_adjustable_wrench/dataset_0                                                               
β”‚           - 004_sugar_box/dataset_1                                                                       
β”‚           - 025_mug/dataset_1                                                                             
β”‚           - 048_hammer/dataset_1                                                                          
β”‚           - 005_tomato_soup_can/dataset_1                                                                 
β”‚           - 035_power_drill/dataset_1                                                                     
β”‚           - 055_baseball/dataset_1                                                                        
β”‚           - 006_mustard_bottle/dataset_1                                                                  
β”‚           - 037_scissors/dataset_1                                                                        
β”‚           - 021_bleach_cleanser/dataset_1                                                                 
β”‚           - 042_adjustable_wrench/dataset_1                                                               
β”‚           - 004_sugar_box/dataset_2                                                                       
β”‚           - 025_mug/dataset_2                                                                             
β”‚           - 048_hammer/dataset_2                                                                          
β”‚           - 005_tomato_soup_can/dataset_2                                                                 
β”‚           - 035_power_drill/dataset_2                                                                     
β”‚           - 055_baseball/dataset_2                                                                        
β”‚           - 006_mustard_bottle/dataset_2                                                                  
β”‚           - 037_scissors/dataset_2                                                                        
β”‚           - 021_bleach_cleanser/dataset_2                                                                 
β”‚           - 042_adjustable_wrench/dataset_2                                                               
β”‚           - 004_sugar_box/dataset_3                                                                       
β”‚           - 025_mug/dataset_3                                                                             
β”‚           - 048_hammer/dataset_3                                                                          
β”‚           - 005_tomato_soup_can/dataset_3                                                                 
β”‚           - 035_power_drill/dataset_3                                                                     
β”‚           - 055_baseball/dataset_3                                                                        
β”‚           - 006_mustard_bottle/dataset_3                                                                  
β”‚           - 037_scissors/dataset_3                                                                        
β”‚           - 021_bleach_cleanser/dataset_3                                                                 
β”‚           - 042_adjustable_wrench/dataset_3                                                               
β”‚           - banana/dataset_0                                                                              
β”‚           - banana/dataset_1                                                                              
β”‚           - banana/dataset_2                                                                              
β”‚           - banana/dataset_3                                                                              
β”‚           - bread/dataset_0                                                                               
β”‚           - bread/dataset_1                                                                               
β”‚           - bread/dataset_2                                                                               
β”‚           - bread/dataset_3                                                                               
β”‚           - cheese/dataset_0                                                                              
β”‚           - cheese/dataset_1                                                                              
β”‚           - cheese/dataset_2                                                                              
β”‚           - cheese/dataset_3                                                                              
β”‚           - cookie/dataset_0                                                                              
β”‚           - cookie/dataset_1                                                                              
β”‚           - cookie/dataset_2                                                                              
β”‚           - cookie/dataset_3                                                                              
β”‚           - corn/dataset_0                                                                                
β”‚           - corn/dataset_1                                                                                
β”‚           - corn/dataset_2                                                                                
β”‚           - corn/dataset_3                                                                                
β”‚           - lettuce/dataset_0                                                                             
β”‚           - lettuce/dataset_1                                                                             
β”‚           - lettuce/dataset_2                                                                             
β”‚           - lettuce/dataset_3                                                                             
β”‚           - plum/dataset_0                                                                                
β”‚           - plum/dataset_1                                                                                
β”‚           - plum/dataset_2                                                                                
β”‚           - plum/dataset_3                                                                                
β”‚           - strawberry/dataset_0                                                                          
β”‚           - strawberry/dataset_1                                                                          
β”‚           - strawberry/dataset_2                                                                          
β”‚           - strawberry/dataset_3                                                                          
β”‚           - tomato/dataset_0                                                                              
β”‚           - tomato/dataset_1                                                                              
β”‚           - tomato/dataset_2                                                                              
β”‚           - tomato/dataset_3                                                                              
β”‚           - sphere/dataset_0                                                                              
β”‚           - sphere/dataset_1                                                                              
β”‚           - sphere/dataset_2                                                                              
β”‚           list_datasets_test:                                                                             
β”‚           - 004_sugar_box/dataset_4                                                                       
β”‚           - 025_mug/dataset_4                                                                             
β”‚           - 048_hammer/dataset_4                                                                          
β”‚           - 005_tomato_soup_can/dataset_4                                                                 
β”‚           - 035_power_drill/dataset_4                                                                     
β”‚           - 055_baseball/dataset_4                                                                        
β”‚           - 006_mustard_bottle/dataset_4                                                                  
β”‚           - 037_scissors/dataset_4                                                                        
β”‚           - 021_bleach_cleanser/dataset_4                                                                 
β”‚           - 042_adjustable_wrench/dataset_4                                                               
β”‚           - sphere/dataset_1                                                                              
β”‚           - sphere/dataset_2                                                                              
β”‚           look_in_folder: false                                                                           
β”‚           transforms:                                                                                     
β”‚             with_augmentation: false                                                                      
β”‚             resize:                                                                                       
β”‚             - 224                                                                                         
β”‚             - 224                                                                                         
β”‚             p_flip: 0.0                                                                                   
β”‚             p_crop: 0.0                                                                                   
β”‚             p_rot: 0.0                                                                                    
β”‚       train_dataloader:                                                                                   
β”‚         batch_size: 20                                                                                    
β”‚         num_workers: 2                                                                                    
β”‚         drop_last: true                                                                                   
β”‚         pin_memory: true                                                                                  
β”‚         persistent_workers: true                                                                          
β”‚         shuffle: true                                                                                     
β”‚       val_dataloader:                                                                                     
β”‚         batch_size: 20                                                                                    
β”‚         num_workers: 2                                                                                    
β”‚         drop_last: true                                                                                   
β”‚         pin_memory: true                                                                                  
β”‚         persistent_workers: true                                                                          
β”‚                                                                                                           
β”œβ”€β”€ trainer
β”‚   └── max_epochs: 31                                                                                      
β”‚       validation_frequency: 2                                                                             
β”‚       sanity_validate: false                                                                              
β”‚       save_checkpoint_dir: /media/chiguera/GUM/tactile_ssl/outputs_sparsh/digit_t1_forcefield_dino_vitbase
β”‚       checkpoint_interval_type: log                                                                       
β”‚       max_task_checkpoints: 10                                                                            
β”‚       save_probe_weights_only: true                                                                       
β”‚       limit_train_batches: 500                                                                            
β”‚       limit_val_batches: 150                                                                              
β”‚       use_distributed_sampler: false                                                                      
β”‚       devices:                                                                                            
β”‚       - 0                                                                                                 
β”‚                                                                                                           
β”œβ”€β”€ paths
β”‚   └── data_root: /media/chiguera/GUM/                                                                     
β”‚       encoder_checkpoint_root: /media/chiguera/2TB/sparsh/encoders_460k/                                  
β”‚       log_dir: /media/chiguera/GUM/tactile_ssl/outputs_sparsh/digit_t1_forcefield_dino_vitbase_t0/logs/   
β”‚       output_dir: /media/chiguera/GUM/tactile_ssl/outputs_sparsh/digit_t1_forcefield_dino_vitbase_t0/     
β”‚       work_dir: /media/chiguera/2TB/sparsh/tactile-ssl                                                    
β”‚                                                                                                           
β”œβ”€β”€ wandb
β”‚   └── project: t1_forcefield_digit                                                                        
β”‚       entity: chiguera                                                                                    
β”‚       save_dir: /media/chiguera/GUM/tactile_ssl/outputs_sparsh/digit_t1_forcefield_dino_vitbase_t0/       
β”‚       id: 2024.09.28_17-57_digit_t1_forcefield_dino_vitbase_t0                                            
β”‚       tags:                                                                                               
β”‚       - dino                                                                                              
β”‚       group: null                                                                                         
β”‚       notes: null                                                                                         
β”‚                                                                                                           
β”œβ”€β”€ task
β”‚   └── _target_: tactile_ssl.downstream_task.ForceFieldModuleSL                                            
β”‚       model_encoder:                                                                                      
β”‚         _target_: tactile_ssl.model.vit_base                                                              
β”‚         img_size:                                                                                         
β”‚         - 224                                                                                             
β”‚         - 224                                                                                             
β”‚         in_chans: 6                                                                                       
β”‚         pos_embed_fn: sinusoidal                                                                          
β”‚         num_register_tokens: 1                                                                            
β”‚       model_task:                                                                                         
β”‚         _target_: tactile_ssl.downstream_task.ForceFieldDecoderSL                                         
β”‚         embed_dim: base                                                                                   
β”‚       checkpoint_encoder: /media/chiguera/2TB/sparsh/encoders_460k//dino_vitbase.ckpt                     
β”‚       checkpoint_task: null                                                                               
β”‚       train_encoder: false                                                                                
β”‚       optim_cfg:                                                                                          
β”‚         _partial_: true                                                                                   
β”‚         _target_: torch.optim.Adam                                                                        
β”‚         lr: 0.0001                                                                                        
β”‚       scheduler_cfg: null                                                                                 
β”‚       ssl_config:                                                                                         
β”‚         img_sz:                                                                                           
β”‚         - 224                                                                                             
β”‚         - 224                                                                                             
β”‚         pose_estimator:                                                                                   
β”‚           num_encoder_layers: 18                                                                          
β”‚         loss:                                                                                             
β”‚           with_mask_supervision: false                                                                    
β”‚           with_sl_supervision: false                                                                      
β”‚           with_ssim: true                                                                                 
β”‚           disparity_smoothness: 0.001                                                                     
β”‚           min_depth: 0.1                                                                                  
β”‚           max_depth: 100.0                                                                                
β”‚       encoder_type: dino                                                                                  
β”‚                                                                                                           
β”œβ”€β”€ ssl_name
β”‚   └── dino                                                                                                
β”œβ”€β”€ sensor
β”‚   └── digit                                                                                               
β”œβ”€β”€ ckpt_path
β”‚   └── None                                                                                                
β”œβ”€β”€ task_name
β”‚   └── t1_forcefield                                                                                       
β”œβ”€β”€ ssl_model_size
β”‚   └── base                                                                                                
β”œβ”€β”€ train_data_budget
β”‚   └── 1.0                                                                                                 
β”œβ”€β”€ val_data_budget
β”‚   └── 1.0                                                                                                 
β”œβ”€β”€ experiment_name
β”‚   └── digit_t1_forcefield_dino_vitbase_t0                                                                 
β”œβ”€β”€ seed
β”‚   └── 42                                                                                                  
β”œβ”€β”€ data_out_format
β”‚   └── concat_ch_img                                                                                       
β”œβ”€β”€ num_frames
β”‚   └── 2                                                                                                   
β”œβ”€β”€ frame_stride
β”‚   └── 5                                                                                                   
└── test
    └── data:                                                                                               
          dataset_name:                                                                                     
          - 005_tomato_soup_can/dataset_0                                                                   
          batch_size: 1                                                                                     
        tester:                                                                                             
          _partial_: true                                                                                   
          _target_: tactile_ssl.test.TestForceField                                                         
        demo:                                                                                               
          _partial_: true                                                                                   
          _target_: tactile_ssl.test.DemoForceField                                                         
        path_outputs: null