xiaoma26 commited on
Commit
d0f0bf1
·
verified ·
1 Parent(s): b50118a

Add files using upload-large-folder tool

Browse files
config.yaml ADDED
@@ -0,0 +1,157 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ run_id: 0625_WanMoTMultiViewJoint_flexiv_2views
2
+ run_root_dir: ./results/Checkpoints/vla
3
+ seed: 42
4
+ trackers:
5
+ - jsonl
6
+ is_debug: false
7
+ framework:
8
+ name: WanMoTMultiViewJoint
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
+ video_model:
16
+ model_id: Wan-AI/Wan2.2-TI2V-5B
17
+ tokenizer_model_id: Wan-AI/Wan2.1-T2V-1.3B
18
+ tokenizer_max_len: 128
19
+ load_text_encoder: false
20
+ redirect_common_files: true
21
+ dit_path: playground/Pretrained_models/Wan2.2-TI2V-5B
22
+ vae_path: playground/Pretrained_models/Wan2.2-TI2V-5B/Wan2.2_VAE.pth
23
+ text_encoder_path: playground/Pretrained_models/Wan2.2-TI2V-5B/models_t5_umt5-xxl-enc-bf16.pth
24
+ tokenizer_path: playground/Pretrained_models/umt5-xxl
25
+ z_dim: 48
26
+ vae_dim: 160
27
+ enable_prompt_cache: true
28
+ prefer_cached_text_context: true
29
+ text_mask_padding_as_valid: true
30
+ prompt_template: 'A video recorded from a robot''s point of view executing the
31
+ following instruction: {task}'
32
+ config:
33
+ has_image_input: false
34
+ patch_size:
35
+ - 1
36
+ - 2
37
+ - 2
38
+ in_dim: 48
39
+ hidden_dim: 3072
40
+ ffn_dim: 14336
41
+ freq_dim: 256
42
+ text_dim: 4096
43
+ out_dim: 48
44
+ num_heads: 24
45
+ attn_head_dim: 128
46
+ num_layers: 30
47
+ eps: 1.0e-06
48
+ seperated_timestep: true
49
+ require_clip_embedding: false
50
+ require_vae_embedding: false
51
+ fuse_vae_embedding_in_latents: true
52
+ action_conditioned: false
53
+ action_group_causal_mask_mode: group_diagonal
54
+ video_attention_mask_mode: first_frame_causal
55
+ use_gradient_checkpointing: ${trainer.enable_gradient_checkpointing}
56
+ scheduler:
57
+ train_shift: 5.0
58
+ infer_shift: 5.0
59
+ num_train_timesteps: 1000
60
+ text_encoder_kwargs:
61
+ dim: 4096
62
+ dim_attn: 4096
63
+ dim_ffn: 10240
64
+ num_heads: 64
65
+ num_layers: 24
66
+ num_buckets: 32
67
+ shared_pos: false
68
+ dropout: 0.1
69
+ action_model:
70
+ action_horizon: 48
71
+ action_dim: 8
72
+ state_dim: 8
73
+ num_inference_steps: 10
74
+ model_path: results/Checkpoints/WanMoT/ActionExpert_linear_interp_Wan22_alphascale_1024hdim.pt
75
+ skip_load_from_pretrain: ${framework.skip_dit_load_from_pretrain}
76
+ supervision:
77
+ target: action_space
78
+ weight_mode: none
79
+ config:
80
+ action_dim: ${framework.action_model.action_dim}
81
+ hidden_dim: 1024
82
+ ffn_dim: 4096
83
+ num_heads: 24
84
+ attn_head_dim: 128
85
+ num_layers: 30
86
+ text_dim: ${framework.video_model.config.text_dim}
87
+ freq_dim: 256
88
+ eps: 1.0e-06
89
+ use_gradient_checkpointing: ${trainer.enable_gradient_checkpointing}
90
+ scheduler:
91
+ train_shift: 5.0
92
+ infer_shift: 5.0
93
+ num_train_timesteps: 1000
94
+ sample_mode: beta_tau
95
+ noise_beta_alpha: 1.5
96
+ noise_beta_beta: 1.0
97
+ noise_s: 0.999
98
+ loss:
99
+ lambda_video: 1.0
100
+ lambda_action: 1.0
101
+ datasets:
102
+ vla_data:
103
+ dataset_py: vla_datasets
104
+ data_mix: flexiv_2views
105
+ action_horizon: ${framework.action_model.action_horizon}
106
+ action_pad_size: ${framework.action_model.action_dim}
107
+ state_pad_size: ${framework.action_model.state_dim}
108
+ disable_state: false
109
+ image_size: ${framework.view_image_size}
110
+ use_future_frames: true
111
+ num_future_frames: 12
112
+ future_frame_stride: 4
113
+ use_decord: true
114
+ vlm_obs_delay: 0
115
+ text_embedding_cache_dir: data/text_embeds_cache/flexiv
116
+ require_text_embedding_cache: true
117
+ text_context_len: ${framework.video_model.tokenizer_max_len}
118
+ text_cache_encoder_id: wan22ti2v5b
119
+ text_context_prompt_template: ${framework.video_model.prompt_template}
120
+ per_device_batch_size: 8
121
+ split_strategy: episode_ratio
122
+ eval_ratio: 0.02
123
+ split_seed: 42
124
+ eval_per_device_batch_size: 4
125
+ num_workers: 8
126
+ trainer:
127
+ epochs: 100
128
+ max_train_steps: 20000
129
+ num_warmup_steps: 1000
130
+ save_interval: 5000
131
+ eval_interval: 200
132
+ logging_frequency: 10
133
+ learning_rate:
134
+ base: 0.0001
135
+ lr_scheduler_type: cosine_with_min_lr
136
+ scheduler_specific_kwargs:
137
+ min_lr: 1.0e-06
138
+ freeze_modules: null
139
+ max_grad_norm: 1.0
140
+ warmup_ratio: 0.05
141
+ weight_decay: 1.0e-05
142
+ gradient_clipping: 1.0
143
+ gradient_accumulation_steps: 1
144
+ knowledge_isolation: false
145
+ enable_gradient_checkpointing: true
146
+ enable_mixed_precision_training: true
147
+ enable_compile: true
148
+ resume_from_checkpoint: latest
149
+ init_from_stage_checkpoint: null
150
+ optimizer:
151
+ name: AdamW
152
+ betas:
153
+ - 0.9
154
+ - 0.95
155
+ eps: 1.0e-08
156
+ weight_decay: 0.01
157
+ output_dir: ./results/Checkpoints/vla/0625_WanMoTMultiViewJoint_flexiv_2views
dataset_statistics.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "flexiv_tac": {
3
+ "action": {
4
+ "mean": [
5
+ -0.0021471975889416116,
6
+ -0.006510055349735526,
7
+ -0.0013380912320339093,
8
+ -0.005949666203842312,
9
+ 0.0009088097982147607,
10
+ 0.00024194774618673394,
11
+ -0.0027595721283229175,
12
+ 0.05042095424915953
13
+ ],
14
+ "std": [
15
+ 0.02171544294282339,
16
+ 0.07145401429320582,
17
+ 0.019291937336467967,
18
+ 0.07751492140178613,
19
+ 0.02085302200153759,
20
+ 0.08339417326473307,
21
+ 0.05424014822946641,
22
+ 0.026841927188824458
23
+ ],
24
+ "min": [
25
+ -0.20565299689769745,
26
+ -0.561244010925293,
27
+ -0.18788300454616547,
28
+ -0.6890000104904175,
29
+ -0.27163398265838623,
30
+ -0.5268030166625977,
31
+ -0.42483702301979065,
32
+ 0.0
33
+ ],
34
+ "max": [
35
+ 0.1963060051202774,
36
+ 0.5743389129638672,
37
+ 0.21102400124073029,
38
+ 0.7800420522689819,
39
+ 0.22932401299476624,
40
+ 0.6647109985351562,
41
+ 0.3987810015678406,
42
+ 0.10006000101566315
43
+ ],
44
+ "q01": null,
45
+ "q99": null
46
+ },
47
+ "state": {
48
+ "mean": [
49
+ 0.004597892502169826,
50
+ -0.6628407539214973,
51
+ 0.013475039120146451,
52
+ 1.661976362304327,
53
+ -0.003530769040758804,
54
+ 0.7484176425966574,
55
+ 0.05153932248836374,
56
+ 0.05381028527533211
57
+ ],
58
+ "std": [
59
+ 0.0855862864237747,
60
+ 0.18022102250382083,
61
+ 0.0862308077121702,
62
+ 0.2924328309708477,
63
+ 0.08576178857500444,
64
+ 0.1901975361172308,
65
+ 0.32797629752918706,
66
+ 0.02645007695338555
67
+ ],
68
+ "min": [
69
+ -0.17071199417114258,
70
+ -1.1214179992675781,
71
+ -0.22675900161266327,
72
+ 0.6467589735984802,
73
+ -0.3490380048751831,
74
+ -0.13446000218391418,
75
+ -1.7821190357208252,
76
+ 0.013220000080764294
77
+ ],
78
+ "max": [
79
+ 0.26929599046707153,
80
+ -0.09738600254058838,
81
+ 0.26130300760269165,
82
+ 2.3931961059570312,
83
+ 0.30517899990081787,
84
+ 1.4650850296020508,
85
+ 1.6099319458007812,
86
+ 0.10006000101566315
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:2ffe27977a1b93d580aa2bac9c54f9f2249b234a6cd80709ae48eb399043ab1c
3
+ size 15736631323