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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
run_id: 0707_WanMoTJoint_flexiv_plug_2views
|
| 2 |
+
run_root_dir: ./results/Checkpoints/vla
|
| 3 |
+
seed: 42
|
| 4 |
+
trackers:
|
| 5 |
+
- jsonl
|
| 6 |
+
is_debug: false
|
| 7 |
+
framework:
|
| 8 |
+
name: WanMoTJoint
|
| 9 |
+
torch_dtype: bfloat16
|
| 10 |
+
skip_dit_load_from_pretrain: false
|
| 11 |
+
concat_multi_camera: horizontal
|
| 12 |
+
view_image_size:
|
| 13 |
+
- 224
|
| 14 |
+
- 224
|
| 15 |
+
time_alignment:
|
| 16 |
+
enabled: false
|
| 17 |
+
video_model:
|
| 18 |
+
model_id: Wan-AI/Wan2.2-TI2V-5B
|
| 19 |
+
tokenizer_model_id: Wan-AI/Wan2.1-T2V-1.3B
|
| 20 |
+
tokenizer_max_len: 128
|
| 21 |
+
load_text_encoder: false
|
| 22 |
+
redirect_common_files: true
|
| 23 |
+
dit_path: playground/Pretrained_models/Wan2.2-TI2V-5B
|
| 24 |
+
vae_path: playground/Pretrained_models/Wan2.2-TI2V-5B/Wan2.2_VAE.pth
|
| 25 |
+
text_encoder_path: playground/Pretrained_models/Wan2.2-TI2V-5B/models_t5_umt5-xxl-enc-bf16.pth
|
| 26 |
+
tokenizer_path: playground/Pretrained_models/umt5-xxl
|
| 27 |
+
z_dim: 48
|
| 28 |
+
vae_dim: 160
|
| 29 |
+
enable_prompt_cache: true
|
| 30 |
+
prefer_cached_text_context: true
|
| 31 |
+
text_mask_padding_as_valid: true
|
| 32 |
+
prompt_template: 'A video recorded from a robot''s point of view executing the
|
| 33 |
+
following instruction: {task}'
|
| 34 |
+
config:
|
| 35 |
+
has_image_input: false
|
| 36 |
+
patch_size:
|
| 37 |
+
- 1
|
| 38 |
+
- 2
|
| 39 |
+
- 2
|
| 40 |
+
in_dim: 48
|
| 41 |
+
hidden_dim: 3072
|
| 42 |
+
ffn_dim: 14336
|
| 43 |
+
freq_dim: 256
|
| 44 |
+
text_dim: 4096
|
| 45 |
+
out_dim: 48
|
| 46 |
+
num_heads: 24
|
| 47 |
+
attn_head_dim: 128
|
| 48 |
+
num_layers: 30
|
| 49 |
+
eps: 1.0e-06
|
| 50 |
+
seperated_timestep: true
|
| 51 |
+
require_clip_embedding: false
|
| 52 |
+
require_vae_embedding: false
|
| 53 |
+
fuse_vae_embedding_in_latents: true
|
| 54 |
+
action_conditioned: false
|
| 55 |
+
action_group_causal_mask_mode: group_diagonal
|
| 56 |
+
video_attention_mask_mode: first_frame_causal
|
| 57 |
+
use_gradient_checkpointing: ${trainer.enable_gradient_checkpointing}
|
| 58 |
+
scheduler:
|
| 59 |
+
train_shift: 5.0
|
| 60 |
+
infer_shift: 5.0
|
| 61 |
+
num_train_timesteps: 1000
|
| 62 |
+
text_encoder_kwargs:
|
| 63 |
+
dim: 4096
|
| 64 |
+
dim_attn: 4096
|
| 65 |
+
dim_ffn: 10240
|
| 66 |
+
num_heads: 64
|
| 67 |
+
num_layers: 24
|
| 68 |
+
num_buckets: 32
|
| 69 |
+
shared_pos: false
|
| 70 |
+
dropout: 0.1
|
| 71 |
+
action_model:
|
| 72 |
+
action_horizon: 48
|
| 73 |
+
action_dim: 8
|
| 74 |
+
state_dim: 8
|
| 75 |
+
num_inference_steps: 10
|
| 76 |
+
model_path: results/Checkpoints/WanMoT/ActionExpert_linear_interp_Wan22_alphascale_1024hdim.pt
|
| 77 |
+
skip_load_from_pretrain: ${framework.skip_dit_load_from_pretrain}
|
| 78 |
+
supervision:
|
| 79 |
+
target: action_space
|
| 80 |
+
weight_mode: none
|
| 81 |
+
config:
|
| 82 |
+
action_dim: ${framework.action_model.action_dim}
|
| 83 |
+
hidden_dim: 1024
|
| 84 |
+
ffn_dim: 4096
|
| 85 |
+
num_heads: 24
|
| 86 |
+
attn_head_dim: 128
|
| 87 |
+
num_layers: 30
|
| 88 |
+
text_dim: ${framework.video_model.config.text_dim}
|
| 89 |
+
freq_dim: 256
|
| 90 |
+
eps: 1.0e-06
|
| 91 |
+
use_gradient_checkpointing: ${trainer.enable_gradient_checkpointing}
|
| 92 |
+
scheduler:
|
| 93 |
+
train_shift: 5.0
|
| 94 |
+
infer_shift: 5.0
|
| 95 |
+
num_train_timesteps: 1000
|
| 96 |
+
sample_mode: beta_tau
|
| 97 |
+
noise_beta_alpha: 1.5
|
| 98 |
+
noise_beta_beta: 1.0
|
| 99 |
+
noise_s: 0.999
|
| 100 |
+
tactile_model:
|
| 101 |
+
hidden_dim: 512
|
| 102 |
+
ffn_dim: 2048
|
| 103 |
+
num_inference_steps: ${framework.action_model.num_inference_steps}
|
| 104 |
+
split_step: 6
|
| 105 |
+
delay_stride: ${datasets.vla_data.future_frame_stride}
|
| 106 |
+
loss:
|
| 107 |
+
lambda_video: 1.0
|
| 108 |
+
lambda_action: 1.0
|
| 109 |
+
datasets:
|
| 110 |
+
vla_data:
|
| 111 |
+
dataset_py: vla_datasets
|
| 112 |
+
data_mix: flexiv_plug_2views
|
| 113 |
+
action_horizon: ${framework.action_model.action_horizon}
|
| 114 |
+
action_pad_size: ${framework.action_model.action_dim}
|
| 115 |
+
state_pad_size: ${framework.action_model.state_dim}
|
| 116 |
+
disable_state: false
|
| 117 |
+
image_size: ${framework.view_image_size}
|
| 118 |
+
use_future_frames: true
|
| 119 |
+
num_future_frames: 12
|
| 120 |
+
future_frame_stride: 4
|
| 121 |
+
use_decord: true
|
| 122 |
+
vlm_obs_delay: 0
|
| 123 |
+
text_embedding_cache_dir: data/text_embeds_cache/flexiv
|
| 124 |
+
require_text_embedding_cache: true
|
| 125 |
+
text_context_len: ${framework.video_model.tokenizer_max_len}
|
| 126 |
+
text_cache_encoder_id: wan22ti2v5b
|
| 127 |
+
text_context_prompt_template: ${framework.video_model.prompt_template}
|
| 128 |
+
per_device_batch_size: 8
|
| 129 |
+
split_strategy: episode_ratio
|
| 130 |
+
eval_ratio: 0.02
|
| 131 |
+
split_seed: 42
|
| 132 |
+
eval_per_device_batch_size: 4
|
| 133 |
+
num_workers: 8
|
| 134 |
+
trainer:
|
| 135 |
+
epochs: 100
|
| 136 |
+
max_train_steps: 20000
|
| 137 |
+
num_warmup_steps: 1000
|
| 138 |
+
save_interval: 5000
|
| 139 |
+
eval_interval: 200
|
| 140 |
+
logging_frequency: 10
|
| 141 |
+
learning_rate:
|
| 142 |
+
base: 0.0001
|
| 143 |
+
lr_scheduler_type: cosine_with_min_lr
|
| 144 |
+
scheduler_specific_kwargs:
|
| 145 |
+
min_lr: 1.0e-06
|
| 146 |
+
freeze_modules: null
|
| 147 |
+
max_grad_norm: 1.0
|
| 148 |
+
warmup_ratio: 0.05
|
| 149 |
+
weight_decay: 1.0e-05
|
| 150 |
+
gradient_clipping: 1.0
|
| 151 |
+
gradient_accumulation_steps: 2
|
| 152 |
+
knowledge_isolation: false
|
| 153 |
+
enable_gradient_checkpointing: true
|
| 154 |
+
enable_mixed_precision_training: true
|
| 155 |
+
enable_compile: true
|
| 156 |
+
resume_from_checkpoint: latest
|
| 157 |
+
init_from_stage_checkpoint: null
|
| 158 |
+
optimizer:
|
| 159 |
+
name: AdamW
|
| 160 |
+
betas:
|
| 161 |
+
- 0.9
|
| 162 |
+
- 0.95
|
| 163 |
+
eps: 1.0e-08
|
| 164 |
+
weight_decay: 0.01
|
| 165 |
+
output_dir: ./results/Checkpoints/vla/0707_WanMoTJoint_flexiv_plug_2views
|
dataset_statistics.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"flexiv_tac": {
|
| 3 |
+
"action": {
|
| 4 |
+
"mean": [
|
| 5 |
+
-0.0012282146669037575,
|
| 6 |
+
-0.004907892788618862,
|
| 7 |
+
-0.00098577813814357,
|
| 8 |
+
-0.001942175575827419,
|
| 9 |
+
0.00029975388375520036,
|
| 10 |
+
0.0029154106008861887,
|
| 11 |
+
-0.0023952723103931642,
|
| 12 |
+
0.05475246071322809
|
| 13 |
+
],
|
| 14 |
+
"std": [
|
| 15 |
+
0.017417425369337627,
|
| 16 |
+
0.06274184436860133,
|
| 17 |
+
0.014912954983149748,
|
| 18 |
+
0.06248854554811464,
|
| 19 |
+
0.017541449500550067,
|
| 20 |
+
0.07108631840033632,
|
| 21 |
+
0.043746502221009106,
|
| 22 |
+
0.028552116406501238
|
| 23 |
+
],
|
| 24 |
+
"min": [
|
| 25 |
+
-0.18175049871206284,
|
| 26 |
+
-0.5141234695911407,
|
| 27 |
+
-0.15028800070285797,
|
| 28 |
+
-0.6381519436836243,
|
| 29 |
+
-0.20766699314117432,
|
| 30 |
+
-0.5574750006198883,
|
| 31 |
+
-0.368258997797966,
|
| 32 |
+
0.0
|
| 33 |
+
],
|
| 34 |
+
"max": [
|
| 35 |
+
0.18356749415397644,
|
| 36 |
+
0.49552297592163086,
|
| 37 |
+
0.17738299816846848,
|
| 38 |
+
0.7097319960594177,
|
| 39 |
+
0.17820249870419502,
|
| 40 |
+
0.5664500296115875,
|
| 41 |
+
0.3530514985322952,
|
| 42 |
+
0.10110000148415565
|
| 43 |
+
],
|
| 44 |
+
"q01": null,
|
| 45 |
+
"q99": null
|
| 46 |
+
},
|
| 47 |
+
"state": {
|
| 48 |
+
"mean": [
|
| 49 |
+
-0.002284890991328478,
|
| 50 |
+
-0.6879027064896839,
|
| 51 |
+
-0.0020833111627140584,
|
| 52 |
+
1.6262867223801076,
|
| 53 |
+
0.006774415318821826,
|
| 54 |
+
0.7430012638202609,
|
| 55 |
+
-0.02373740662075458,
|
| 56 |
+
0.05778775943003461
|
| 57 |
+
],
|
| 58 |
+
"std": [
|
| 59 |
+
0.06983513765022062,
|
| 60 |
+
0.16648893697230482,
|
| 61 |
+
0.07089231409983328,
|
| 62 |
+
0.2606028781290864,
|
| 63 |
+
0.07359750676858885,
|
| 64 |
+
0.17608753827729615,
|
| 65 |
+
0.2688251571041512,
|
| 66 |
+
0.02789373622890512
|
| 67 |
+
],
|
| 68 |
+
"min": [
|
| 69 |
+
-0.16750649362802505,
|
| 70 |
+
-1.1429139971733093,
|
| 71 |
+
-0.21077699959278107,
|
| 72 |
+
0.6568499803543091,
|
| 73 |
+
-0.31165000796318054,
|
| 74 |
+
-0.027830000966787338,
|
| 75 |
+
-1.3311590254306793,
|
| 76 |
+
0.006610000040382147
|
| 77 |
+
],
|
| 78 |
+
"max": [
|
| 79 |
+
0.22471299767494202,
|
| 80 |
+
-0.12347950041294098,
|
| 81 |
+
0.23184100538492203,
|
| 82 |
+
2.2920989990234375,
|
| 83 |
+
0.27304550260305405,
|
| 84 |
+
1.3572785258293152,
|
| 85 |
+
1.2321564853191376,
|
| 86 |
+
0.10110000148415565
|
| 87 |
+
],
|
| 88 |
+
"q01": null,
|
| 89 |
+
"q99": null
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
}
|
final_model/pytorch_model.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:595b1610f8171a5a9e1b751db8b190e1222a41046b4a8c9f917f92e610fd523b
|
| 3 |
+
size 13451578203
|