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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
stage_1:
|
| 2 |
+
ckpt_path: /iopsstor/scratch/cscs/hongsu/seonghu/checkpoints/track4world_da3.pth
|
| 3 |
+
encoder_input_size: 224
|
| 4 |
+
normalization_stat_path: null
|
| 5 |
+
da3_finetune:
|
| 6 |
+
enabled: true
|
| 7 |
+
freeze_blocks_before: 13
|
| 8 |
+
n_action_steps: 9
|
| 9 |
+
n_views: 2
|
| 10 |
+
use_temporal_embed: false
|
| 11 |
+
action_input_rate: 0.4
|
| 12 |
+
action_head:
|
| 13 |
+
type: mlp_resnet
|
| 14 |
+
input_dim: 1536
|
| 15 |
+
hidden_dim: 1536
|
| 16 |
+
n_dims: 7
|
| 17 |
+
chunk_size: 8
|
| 18 |
+
chunk_position_encoding: none
|
| 19 |
+
num_blocks: 2
|
| 20 |
+
pool_mode: mean
|
| 21 |
+
regularization:
|
| 22 |
+
lambda_feat: 0.0
|
| 23 |
+
layer_weight_min: 0.5
|
| 24 |
+
adaptive_lambda: false
|
| 25 |
+
lambda_depth: 3.0
|
| 26 |
+
depth_grad_weight: 1.0
|
| 27 |
+
depth_decode_chunk_size: 8
|
| 28 |
+
lambda_camera: 0.0
|
| 29 |
+
teacher_depth_fallback: false
|
| 30 |
+
lambda_path_b_deep_feat_reg: 0.0
|
| 31 |
+
deep_feat_reg_layer_weight_min: 0.5
|
| 32 |
+
proprioception:
|
| 33 |
+
enabled: true
|
| 34 |
+
proprio_dim: 7
|
| 35 |
+
hidden_dim: 256
|
| 36 |
+
predictor:
|
| 37 |
+
enabled: true
|
| 38 |
+
type: shallow12_ar
|
| 39 |
+
d_model: 1024
|
| 40 |
+
depth: 12
|
| 41 |
+
num_heads: 16
|
| 42 |
+
ffn_ratio: 4.0
|
| 43 |
+
dropout: 0.0
|
| 44 |
+
num_patches_per_view: 256
|
| 45 |
+
use_language: true
|
| 46 |
+
language_encoder_type: t5
|
| 47 |
+
language_dim: 768
|
| 48 |
+
language_len: 77
|
| 49 |
+
clip_model: openai/clip-vit-large-patch14
|
| 50 |
+
t5_model: google-t5/t5-base
|
| 51 |
+
condition_mode: concat
|
| 52 |
+
input_proj_norm: ln
|
| 53 |
+
sigreg_proj_dim: 256
|
| 54 |
+
sigreg_n_projections: 1024
|
| 55 |
+
sigreg_knots: 17
|
| 56 |
+
sigreg_max_knot: 3.0
|
| 57 |
+
sigreg_redraw: true
|
| 58 |
+
sigreg_pool_mode: cls
|
| 59 |
+
lambda_feat_current: 0.0
|
| 60 |
+
lambda_feat_future: 1.0
|
| 61 |
+
lambda_sigreg: 0.0
|
| 62 |
+
feature_loss_type: l1
|
| 63 |
+
H_choices:
|
| 64 |
+
- 1
|
| 65 |
+
H_weights:
|
| 66 |
+
- 1.0
|
| 67 |
+
num_register_tokens: 0
|
| 68 |
+
deep_gradient_checkpointing: false
|
| 69 |
+
point_track_loss_weight: 0.0
|
| 70 |
+
point_track_head_dim: 256
|
| 71 |
+
point_track_head_layers: 2
|
| 72 |
+
point_track_head_dropout: 0.0
|
| 73 |
+
training:
|
| 74 |
+
global_batch_size: 160
|
| 75 |
+
micro_batch_size: 20
|
| 76 |
+
base_lr: 5.16e-05
|
| 77 |
+
head_lr_mult: 10.0
|
| 78 |
+
predictor_lr_mult: 10.0
|
| 79 |
+
adam_eps: 1.0e-06
|
| 80 |
+
adam_beta1: 0.9
|
| 81 |
+
adam_beta2: 0.95
|
| 82 |
+
weight_decay: 0.0
|
| 83 |
+
lambda_action: 3.0
|
| 84 |
+
lambda_action_direct: 0.0
|
| 85 |
+
lambda_action_refine: 1.0
|
| 86 |
+
grad_accum_steps: 1
|
| 87 |
+
epochs: 500000
|
| 88 |
+
clip_grad: 1.0
|
| 89 |
+
warmup_steps: 0
|
| 90 |
+
max_steps: 300000
|
| 91 |
+
min_lr_ratio: 1.0
|
| 92 |
+
log_every: 50
|
| 93 |
+
ckpt_every: 1000
|
| 94 |
+
vis_every: 500
|
| 95 |
+
eval_every: 2000
|
| 96 |
+
global_seed: 42
|
| 97 |
+
num_workers: 8
|
| 98 |
+
bf16: true
|
| 99 |
+
compile: false
|
| 100 |
+
persistent_workers: true
|
| 101 |
+
ema:
|
| 102 |
+
enabled: false
|
| 103 |
+
decay: 0.999
|
| 104 |
+
device: cuda
|
| 105 |
+
dtype: float32
|
| 106 |
+
update_every: 1
|
| 107 |
+
start_step: 0
|
| 108 |
+
include:
|
| 109 |
+
- future_predictor
|
| 110 |
+
- action_head
|
| 111 |
+
- text_conditioner_proj
|
| 112 |
+
- student_da3_blocks
|
| 113 |
+
student_da3_blocks_start: 13
|
| 114 |
+
student_da3_blocks_end: 39
|
| 115 |
+
closed_loop_evals:
|
| 116 |
+
- name: libero_spatial_train
|
| 117 |
+
enabled: true
|
| 118 |
+
benchmark: libero
|
| 119 |
+
eval_num_active_ranks: 4
|
| 120 |
+
use_ema: false
|
| 121 |
+
first_eval_step: 2000
|
| 122 |
+
eval_every: 2000
|
| 123 |
+
history_horizon: 1
|
| 124 |
+
rollout_decode_horizon: 1
|
| 125 |
+
suites:
|
| 126 |
+
- libero_spatial
|
| 127 |
+
num_tasks_per_suite: all
|
| 128 |
+
num_trials_per_task: 5
|
| 129 |
+
num_steps_wait: 10
|
| 130 |
+
action_horizon: 1
|
| 131 |
+
action_repeat: 1
|
| 132 |
+
action_repeat_mode: split_delta
|
| 133 |
+
env_control_hz: 20
|
| 134 |
+
policy_hz: 20
|
| 135 |
+
camera_size: 256
|
| 136 |
+
seed: 7
|
| 137 |
+
env_seed: 0
|
| 138 |
+
log_video: true
|
| 139 |
+
video_max_per_eval: 4
|
| 140 |
+
detailed_video: true
|
| 141 |
+
max_steps_by_suite:
|
| 142 |
+
libero_spatial: 220
|
| 143 |
+
libero_object: 280
|
| 144 |
+
libero_goal: 300
|
| 145 |
+
libero_10: 520
|
| 146 |
+
- name: libero_plus_spatial_10each
|
| 147 |
+
enabled: true
|
| 148 |
+
benchmark: libero_plus
|
| 149 |
+
eval_num_active_ranks: 4
|
| 150 |
+
use_ema: false
|
| 151 |
+
first_eval_step: 2000
|
| 152 |
+
eval_every: 2000
|
| 153 |
+
history_horizon: 1
|
| 154 |
+
rollout_decode_horizon: 1
|
| 155 |
+
suites:
|
| 156 |
+
- libero_spatial
|
| 157 |
+
num_tasks_per_suite: all
|
| 158 |
+
num_trials_per_task: 1
|
| 159 |
+
num_steps_wait: 10
|
| 160 |
+
action_horizon: 1
|
| 161 |
+
action_repeat: 1
|
| 162 |
+
action_repeat_mode: split_delta
|
| 163 |
+
env_control_hz: 20
|
| 164 |
+
policy_hz: 20
|
| 165 |
+
camera_size: 256
|
| 166 |
+
seed: 7
|
| 167 |
+
env_seed: 0
|
| 168 |
+
log_video: false
|
| 169 |
+
video_max_per_eval: 0
|
| 170 |
+
detailed_video: false
|
| 171 |
+
plus_perturbation: all
|
| 172 |
+
plus_official_category: all
|
| 173 |
+
plus_subset:
|
| 174 |
+
group_by: official_category
|
| 175 |
+
samples_per_group: 10
|
| 176 |
+
sample_seed: 195
|
| 177 |
+
max_steps_by_suite:
|
| 178 |
+
libero_spatial: 220
|
| 179 |
+
libero_object: 280
|
| 180 |
+
libero_goal: 300
|
| 181 |
+
libero_10: 520
|
| 182 |
+
dataset:
|
| 183 |
+
type: libero_hdf5
|
| 184 |
+
dataset_name: libero_noop_spatial
|
| 185 |
+
hdf5_root: /iopsstor/scratch/cscs/hongsu/seonghu/data/libero_noop
|
| 186 |
+
stats_dir: /iopsstor/scratch/cscs/hongsu/seonghu/data/libero_noop/_stats
|
| 187 |
+
image_size:
|
| 188 |
+
- 224
|
| 189 |
+
- 224
|
| 190 |
+
future_steps: 8
|
| 191 |
+
chunk_size: 8
|
| 192 |
+
include_current_action: true
|
| 193 |
+
eval_ratio: 0.05
|
| 194 |
+
proprio_dim: 7
|
| 195 |
+
n_views: 2
|
| 196 |
+
source_fps: 20
|
| 197 |
+
da3_input_rotate180: false
|
| 198 |
+
da3_input_hflip: true
|
| 199 |
+
da3_input_vflip: false
|
| 200 |
+
gt_depth_root: null
|
| 201 |
+
gt_depth_rotate180: false
|
| 202 |
+
gt_depth_hflip: true
|
| 203 |
+
gt_depth_vflip: false
|
| 204 |
+
gt_depth_require_geometry: true
|
| 205 |
+
gt_depth_scale_mode: pointmap
|
| 206 |
+
gt_depth_min_meters: 0.001
|
| 207 |
+
action_stats_samples: -1
|
| 208 |
+
proprio_stats_samples: -1
|
| 209 |
+
camera_keys:
|
| 210 |
+
- agentview_rgb
|
| 211 |
+
- eye_in_hand_rgb
|
| 212 |
+
openpi_libero_augment: true
|
| 213 |
+
openpi_base_crop_scale: 0.9486832980505138
|
| 214 |
+
openpi_base_rotate_degrees: 5.0
|
| 215 |
+
color_jitter_brightness: 0.3
|
| 216 |
+
color_jitter_contrast: 0.4
|
| 217 |
+
color_jitter_saturation: 0.5
|
| 218 |
+
color_jitter_hue: 0.05
|
| 219 |
+
image_augmentation:
|
| 220 |
+
profile: cosmos_policy_strong
|
| 221 |
+
train:
|
| 222 |
+
random_resized_crop_area: 0.9
|
| 223 |
+
base_only_rotation_degrees: 5.0
|
| 224 |
+
color_jitter:
|
| 225 |
+
brightness: 0.3
|
| 226 |
+
contrast: 0.4
|
| 227 |
+
saturation: 0.5
|
| 228 |
+
hue: 0.05
|
| 229 |
+
jpeg:
|
| 230 |
+
enabled: true
|
| 231 |
+
quality: 95
|
| 232 |
+
eval:
|
| 233 |
+
center_crop_area: 0.9
|
| 234 |
+
jpeg:
|
| 235 |
+
enabled: true
|
| 236 |
+
quality: 95
|
| 237 |
+
suites:
|
| 238 |
+
- libero_spatial
|
| 239 |
+
filter_noops: false
|
| 240 |
+
noop_threshold: 0.0001
|
| 241 |
+
uniform_action_sampling: true
|
| 242 |
+
norm_mode: q01_q99
|
| 243 |
+
action_norm_mode: q01_q99
|
| 244 |
+
proprio_norm_mode: q01_q99
|
| 245 |
+
point_track_root: /iopsstor/scratch/cscs/hongsu/seonghu/data/libero_gdrive_original
|
| 246 |
+
point_track_file: vertex_tracks_resampled_1024.npy
|
| 247 |
+
point_track_num_points: 1024
|
| 248 |
+
point_track_required: true
|
| 249 |
+
use_dit: false
|