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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
callbacks:
|
| 2 |
+
ema:
|
| 3 |
+
_target_: flower.callbacks.ema.EMA
|
| 4 |
+
decay: 0.999
|
| 5 |
+
start_step: 0
|
| 6 |
+
save_ema_weights_in_callback_state: true
|
| 7 |
+
evaluate_ema_weights_instead: true
|
| 8 |
+
power: 0.6666666666666666
|
| 9 |
+
inv_gamma: 1.0
|
| 10 |
+
min_value: 0.0
|
| 11 |
+
max_value: 0.9999
|
| 12 |
+
rollout_lh:
|
| 13 |
+
_target_: flower.rollout.libero_rollout.RolloutLibero
|
| 14 |
+
_recursive_: false
|
| 15 |
+
env_cfg:
|
| 16 |
+
_target_: flower.wrappers.hulc_wrapper.HulcWrapper
|
| 17 |
+
skip_epochs: ${rollout_lh_skip_epochs}
|
| 18 |
+
benchmark_name: ${libero_benchmark}
|
| 19 |
+
rollout_freq: 10
|
| 20 |
+
num_videos: 0
|
| 21 |
+
num_sequences: 20
|
| 22 |
+
max_steps: 520
|
| 23 |
+
empty_cache: false
|
| 24 |
+
debug: false
|
| 25 |
+
n_eval: 50
|
| 26 |
+
num_procs: 10
|
| 27 |
+
use_mp: false
|
| 28 |
+
task_embedding_format: clip
|
| 29 |
+
device: ${device}
|
| 30 |
+
checkpoint:
|
| 31 |
+
_target_: pytorch_lightning.callbacks.ModelCheckpoint
|
| 32 |
+
save_top_k: 1
|
| 33 |
+
verbose: true
|
| 34 |
+
monitor: eval_lh/avg_seq_len
|
| 35 |
+
mode: max
|
| 36 |
+
dirpath: saved_models
|
| 37 |
+
filename: '{epoch:02d}_{eval_lh/avg_seq_len:.2f}'
|
| 38 |
+
every_n_epochs: ${callbacks.rollout_lh.rollout_freq}
|
| 39 |
+
datamodule:
|
| 40 |
+
transforms:
|
| 41 |
+
train:
|
| 42 |
+
rgb_static:
|
| 43 |
+
- _target_: torchvision.transforms.Resize
|
| 44 |
+
size: 112
|
| 45 |
+
antialias: true
|
| 46 |
+
- _target_: flower.utils.transforms.RandomShiftsAug
|
| 47 |
+
pad: 10
|
| 48 |
+
- _target_: flower.utils.transforms.ScaleImageTensor
|
| 49 |
+
- _target_: torchvision.transforms.Normalize
|
| 50 |
+
mean:
|
| 51 |
+
- 0.48145466
|
| 52 |
+
- 0.4578275
|
| 53 |
+
- 0.40821073
|
| 54 |
+
std:
|
| 55 |
+
- 0.26862954
|
| 56 |
+
- 0.26130258
|
| 57 |
+
- 0.27577711
|
| 58 |
+
rgb_gripper:
|
| 59 |
+
- _target_: torchvision.transforms.Resize
|
| 60 |
+
size: 112
|
| 61 |
+
antialias: true
|
| 62 |
+
- _target_: flower.utils.transforms.RandomShiftsAug
|
| 63 |
+
pad: 4
|
| 64 |
+
- _target_: flower.utils.transforms.ScaleImageTensor
|
| 65 |
+
- _target_: torchvision.transforms.Normalize
|
| 66 |
+
mean:
|
| 67 |
+
- 0.48145466
|
| 68 |
+
- 0.4578275
|
| 69 |
+
- 0.40821073
|
| 70 |
+
std:
|
| 71 |
+
- 0.26862954
|
| 72 |
+
- 0.26130258
|
| 73 |
+
- 0.27577711
|
| 74 |
+
val:
|
| 75 |
+
rgb_static:
|
| 76 |
+
- _target_: torchvision.transforms.Resize
|
| 77 |
+
size: 112
|
| 78 |
+
antialias: true
|
| 79 |
+
- _target_: flower.utils.transforms.ScaleImageTensor
|
| 80 |
+
- _target_: torchvision.transforms.Normalize
|
| 81 |
+
mean:
|
| 82 |
+
- 0.48145466
|
| 83 |
+
- 0.4578275
|
| 84 |
+
- 0.40821073
|
| 85 |
+
std:
|
| 86 |
+
- 0.26862954
|
| 87 |
+
- 0.26130258
|
| 88 |
+
- 0.27577711
|
| 89 |
+
rgb_gripper:
|
| 90 |
+
- _target_: torchvision.transforms.Resize
|
| 91 |
+
size: 112
|
| 92 |
+
antialias: true
|
| 93 |
+
- _target_: flower.utils.transforms.ScaleImageTensor
|
| 94 |
+
- _target_: torchvision.transforms.Normalize
|
| 95 |
+
mean:
|
| 96 |
+
- 0.48145466
|
| 97 |
+
- 0.4578275
|
| 98 |
+
- 0.40821073
|
| 99 |
+
std:
|
| 100 |
+
- 0.26862954
|
| 101 |
+
- 0.26130258
|
| 102 |
+
- 0.27577711
|
| 103 |
+
_target_: flower.datasets.libero_data_module.LiberoDataModule
|
| 104 |
+
_recursive_: false
|
| 105 |
+
root_data_dir: ${root_data_dir}
|
| 106 |
+
action_space: 7
|
| 107 |
+
shuffle_val: false
|
| 108 |
+
benchmark_name: ${libero_benchmark}
|
| 109 |
+
observation_space:
|
| 110 |
+
rgb_obs:
|
| 111 |
+
- agentview_rgb
|
| 112 |
+
- eye_in_hand_rgb
|
| 113 |
+
depth_obs: []
|
| 114 |
+
state_obs:
|
| 115 |
+
- gripper_states
|
| 116 |
+
- joint_states
|
| 117 |
+
actions:
|
| 118 |
+
- rel_actions
|
| 119 |
+
language:
|
| 120 |
+
- language
|
| 121 |
+
proprioception_dims: None
|
| 122 |
+
datasets:
|
| 123 |
+
lang_dataset:
|
| 124 |
+
_target_: flower.datasets.libero_dataset.LiberoMultitaskDataset
|
| 125 |
+
key: lang
|
| 126 |
+
benchmark_name: ${libero_benchmark}
|
| 127 |
+
batch_size: ${batch_size}
|
| 128 |
+
proprio_state: ${datamodule.proprioception_dims}
|
| 129 |
+
obs_space: ${datamodule.observation_space}
|
| 130 |
+
num_workers: ${num_workers}
|
| 131 |
+
action_seq_len: ${act_seq_len}
|
| 132 |
+
obs_seq_len: ${obs_seq_len}
|
| 133 |
+
split_ratio: 0.0
|
| 134 |
+
model:
|
| 135 |
+
_target_: flower.models.flower.FLOWERVLA
|
| 136 |
+
_recursive_: false
|
| 137 |
+
vlm_path: microsoft/Florence-2-large
|
| 138 |
+
freeze_florence: false
|
| 139 |
+
freeze_vision_tower: false
|
| 140 |
+
vlm_prompt_style: default
|
| 141 |
+
token_dropout: 0.1
|
| 142 |
+
multistep: ${multistep}
|
| 143 |
+
num_sampling_steps: 4
|
| 144 |
+
lowdim_obs_dim: 7
|
| 145 |
+
action_dim: 7
|
| 146 |
+
act_window_size: 10
|
| 147 |
+
load_pretrained: true
|
| 148 |
+
pretrained_model_path: /home/hk-project-sustainebot/ft4740/code/flower_vla_policy/logs/runs/2025-02-05/10-17-02/360000_model_weights.pt
|
| 149 |
+
use_second_view: true
|
| 150 |
+
second_view_key: image_wrist
|
| 151 |
+
action_type_adaln: true
|
| 152 |
+
use_causal_attention: true
|
| 153 |
+
use_cross_attn: true
|
| 154 |
+
use_adaln_cond: false
|
| 155 |
+
use_readout_token: false
|
| 156 |
+
use_proprio: false
|
| 157 |
+
return_act_chunk: false
|
| 158 |
+
sampling_type: uniform
|
| 159 |
+
dit_dim: 1024
|
| 160 |
+
n_heads: 16
|
| 161 |
+
n_layers: 18
|
| 162 |
+
attn_pdrop: 0.1
|
| 163 |
+
resid_pdrop: 0.1
|
| 164 |
+
mlp_pdrop: 0.1
|
| 165 |
+
use_rope: true
|
| 166 |
+
use_nope: false
|
| 167 |
+
query_seq_len: 100
|
| 168 |
+
rope_theta: 32.0
|
| 169 |
+
optimizer_type: adamw
|
| 170 |
+
optimizer:
|
| 171 |
+
_target_: torch.optim.AdamW
|
| 172 |
+
transformer_weight_decay: 0.05
|
| 173 |
+
learning_rate: 2.0e-05
|
| 174 |
+
betas:
|
| 175 |
+
- 0.9
|
| 176 |
+
- 0.95
|
| 177 |
+
lr_scheduler:
|
| 178 |
+
lr_scheduler:
|
| 179 |
+
init_lr: 2.0e-05
|
| 180 |
+
init_lr_scale: 0.1
|
| 181 |
+
final_lr_scale: 0.5
|
| 182 |
+
total_steps: 50000
|
| 183 |
+
phase_ratio: (0.05, 0.1, 0.85)
|
| 184 |
+
lr: 2.0e-05
|
| 185 |
+
root_data_dir: /home/yagmurlu/code/MoDE_Calvin/dataset/task_ABC_D
|
| 186 |
+
lang_folder: lang_clip_resnet50
|
| 187 |
+
log_dir: ./logs
|
| 188 |
+
slurm: false
|
| 189 |
+
seed: 42
|
| 190 |
+
device: cuda
|
| 191 |
+
batch_size: 8
|
| 192 |
+
devices: 4
|
| 193 |
+
goal_window_size: 1
|
| 194 |
+
act_dim: 7
|
| 195 |
+
proprio_dims: 9
|
| 196 |
+
obs_dim: 512
|
| 197 |
+
goal_dim: 512
|
| 198 |
+
obs_seq_len: 1
|
| 199 |
+
act_seq_len: 10
|
| 200 |
+
multistep: ${act_seq_len}
|
| 201 |
+
p_last_state: 0
|
| 202 |
+
max_epochs: 50
|
| 203 |
+
rollout_lh_skip_epochs: 19
|
| 204 |
+
num_workers: 1
|
| 205 |
+
benchmark_name: ${libero_benchmark}
|
| 206 |
+
libero_benchmark: libero_90
|
| 207 |
+
trainer:
|
| 208 |
+
devices: ${devices}
|
| 209 |
+
precision: bf16-mixed
|
| 210 |
+
max_epochs: ${max_epochs}
|
| 211 |
+
sync_batchnorm: true
|
| 212 |
+
accelerator: gpu
|
| 213 |
+
strategy: ddp
|
| 214 |
+
limit_train_batches: 1000
|
| 215 |
+
limit_val_batches: 4
|
| 216 |
+
logger:
|
| 217 |
+
_target_: pytorch_lightning.loggers.WandbLogger
|
| 218 |
+
save_dir: .
|
| 219 |
+
name: logger
|
| 220 |
+
group: mode
|
| 221 |
+
log_model: false
|
| 222 |
+
project: ${libero_benchmark}
|
| 223 |
+
entity: bennoq
|
| 224 |
+
id: ???
|