lidc commited on
Commit
fce5016
·
verified ·
1 Parent(s): c9e97ac

Add files using upload-large-folder tool

Browse files
config.yaml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ datasets:
2
+ vla_data:
3
+ CoT_prompt: Your task is {instruction}. To identify the key objects for your task.
4
+ Locate their bounding boxes in [x1,y1,x2,y2] format.
5
+ data_mix: libero_plus_all
6
+ data_root_dir: /home/Sylvest
7
+ dataset_py: lerobot_datasets
8
+ per_device_batch_size: 4
9
+ video_backend: torchvision_av
10
+ framework:
11
+ action_model:
12
+ action_dim: 7
13
+ action_horizon: 10
14
+ action_model_type: DiT-B
15
+ add_pos_embed: true
16
+ diffusion_model_cfg:
17
+ cross_attention_dim: 2048
18
+ dropout: 0.2
19
+ final_dropout: true
20
+ interleave_self_attention: true
21
+ norm_type: ada_norm
22
+ num_layers: 16
23
+ output_dim: 1024
24
+ positional_embeddings: null
25
+ future_action_window_size: 9
26
+ hidden_size: 1024
27
+ max_action_dim: 32
28
+ max_seq_len: 1024
29
+ noise_beta_alpha: 1.5
30
+ noise_beta_beta: 1.0
31
+ noise_s: 0.999
32
+ num_inference_timesteps: 4
33
+ num_target_vision_tokens: 3
34
+ num_timestep_buckets: 1000
35
+ past_action_window_size: 0
36
+ state_dim: 7
37
+ name: QwenGR00T
38
+ qwenvl:
39
+ base_vlm: /root/.cache/huggingface/hub/models--StarVLA--Qwen2.5-VL-3B-Instruct-Action/snapshots/01f25c3e057346fda67bdd17fba264d8e31d88b0
40
+ output_dir: ./results/QwenGR00T/exp_c4
41
+ run_id: exp_c4
42
+ run_root_dir: ./results/QwenGR00T
43
+ seed: 42
44
+ trainer:
45
+ eval_interval: 100
46
+ freeze_modules: true
47
+ gradient_accumulation_steps: 4
48
+ gradient_clipping: 1.0
49
+ is_resume: false
50
+ learning_rate:
51
+ action_model: 0.0001
52
+ base: 2.5e-05
53
+ qwen_vl_interface: 1.0e-05
54
+ logging_frequency: 100
55
+ lr_scheduler_type: cosine_with_min_lr
56
+ max_train_steps: 40000
57
+ num_warmup_steps: 5000
58
+ optimizer:
59
+ betas:
60
+ - 0.9
61
+ - 0.95
62
+ eps: 1.0e-08
63
+ weight_decay: 1.0e-08
64
+ save_interval: 10000
65
+ scheduler_specific_kwargs:
66
+ min_lr: 1.0e-06
67
+ wandb_entity: xxx
68
+ wandb_project: starVLA_Libero
dataset_statistics.json ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "franka": {
3
+ "action": {
4
+ "mean": [
5
+ 0.07236806908622384,
6
+ 0.09041699254885316,
7
+ -0.1012995345517993,
8
+ -0.000578228005906567,
9
+ 0.006175444577820599,
10
+ -0.002866805996745825,
11
+ -0.043408477678895
12
+ ],
13
+ "std": [
14
+ 0.34934414734580516,
15
+ 0.37898891540933966,
16
+ 0.46305894119710334,
17
+ 0.04004100987887957,
18
+ 0.06589697614744162,
19
+ 0.076847854462235,
20
+ 1.000541573605827
21
+ ],
22
+ "max": [
23
+ 0.9375,
24
+ 0.9375,
25
+ 0.9375,
26
+ 0.3557142913341522,
27
+ 0.375,
28
+ 0.375,
29
+ 1.0
30
+ ],
31
+ "min": [
32
+ -0.9375,
33
+ -0.9375,
34
+ -0.9375,
35
+ -0.2582142949104309,
36
+ -0.375,
37
+ -0.3642857074737549,
38
+ -1.0
39
+ ],
40
+ "q01": [
41
+ -0.8732143044471741,
42
+ -0.8758928775787354,
43
+ -0.9375,
44
+ -0.15214285254478455,
45
+ -0.20571428537368774,
46
+ -0.26249998807907104,
47
+ -1.0
48
+ ],
49
+ "q99": [
50
+ 0.9375,
51
+ 0.9133928418159485,
52
+ 0.9375,
53
+ 0.20250000059604645,
54
+ 0.26249998807907104,
55
+ 0.375,
56
+ 1.0
57
+ ],
58
+ "mask": [
59
+ true,
60
+ true,
61
+ true,
62
+ true,
63
+ true,
64
+ true,
65
+ false
66
+ ]
67
+ },
68
+ "state": {
69
+ "mean": [
70
+ -0.047402460128068924,
71
+ 0.03764284774661064,
72
+ 0.7824649065732956,
73
+ 2.980945110321045,
74
+ -0.0917410310357809,
75
+ -0.10754720494151115,
76
+ 0.026381169445812702,
77
+ -0.026589241810142994
78
+ ],
79
+ "std": [
80
+ 0.10643359323201027,
81
+ 0.1512195563913168,
82
+ 0.3829725662785133,
83
+ 0.34897153380459534,
84
+ 0.7877290237854367,
85
+ 0.3158265355416683,
86
+ 0.014528665058790028,
87
+ 0.01448397257314164
88
+ ],
89
+ "max": [
90
+ 0.21031762659549713,
91
+ 0.39128610491752625,
92
+ 1.3660105466842651,
93
+ 3.7743608951568604,
94
+ 3.5752453804016113,
95
+ 1.3747878074645996,
96
+ 0.042380549013614655,
97
+ 0.0010137537028640509
98
+ ],
99
+ "min": [
100
+ -0.4856736361980438,
101
+ -0.3313629925251007,
102
+ 0.008128180168569088,
103
+ 0.8415665030479431,
104
+ -3.616978406906128,
105
+ -1.842738389968872,
106
+ -0.002542249858379364,
107
+ -0.042119648307561874
108
+ ],
109
+ "q01": [
110
+ -0.424397349357605,
111
+ -0.27999457716941833,
112
+ 0.009928198531270027,
113
+ 1.3091226816177368,
114
+ -2.817831039428711,
115
+ -1.1050233840942383,
116
+ 0.0014720855979248881,
117
+ -0.04026537388563156
118
+ ],
119
+ "q99": [
120
+ 0.15359212458133698,
121
+ 0.36184924840927124,
122
+ 1.2928963899612427,
123
+ 3.2899329662323,
124
+ 2.7776882648468018,
125
+ 0.7240961790084839,
126
+ 0.04062278941273689,
127
+ -0.00104702974203974
128
+ ]
129
+ },
130
+ "num_transitions": 2448544,
131
+ "num_trajectories": 15874
132
+ }
133
+ }
final_model/5791.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d69f446f48fad2e0e9f571627893828dd2eab2fe2229d836d21b2015cb28b324
3
+ size 66
final_model/5793.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d69f446f48fad2e0e9f571627893828dd2eab2fe2229d836d21b2015cb28b324
3
+ size 66
final_model/5795.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d69f446f48fad2e0e9f571627893828dd2eab2fe2229d836d21b2015cb28b324
3
+ size 66
final_model/5797.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d69f446f48fad2e0e9f571627893828dd2eab2fe2229d836d21b2015cb28b324
3
+ size 66
final_model/pytorch_model.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec8d4476f81138ae307f9974d31b124dac06300f3d459767dd53bec141ee2a74
3
+ size 8459026659
run_libero_train_cloud.sh ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ source activate /home/starvla
2
+ export HF_ENDPOINT=https://hf-mirror.com
3
+ # export CUDA_VISIBLE_DEVICES=1
4
+ export NCCL_SOCKET_IFNAME=lo
5
+ export NCCL_IB_HCA=mlx5_2,mlx5_3
6
+
7
+ # used for check save when communication
8
+ export NCCL_BLOCKING_WAIT=1
9
+ export NCCL_ASYNC_ERROR_HANDLING=1
10
+ export NCCL_TIMEOUT=10000 # timeout set to 1 hour (unit: seconds)
11
+ export NCCL_SOCKET_TIMEOUT_MS=360000
12
+ ###########################################################################################
13
+ # === Please modify the following paths according to your environment ===
14
+ Framework_name=QwenGR00T
15
+ freeze_module_list=''
16
+
17
+ base_vlm=/root/.cache/huggingface/hub/models--StarVLA--Qwen2.5-VL-3B-Instruct-Action/snapshots/01f25c3e057346fda67bdd17fba264d8e31d88b0
18
+ config_yaml=./examples/LIBERO/train_files/starvla_cotrain_libero.yaml
19
+
20
+ libero_data_root=/home/Sylvest
21
+ data_mix=libero_plus_all
22
+ run_root_dir=./results/${Framework_name}
23
+ # === End of environment variable configuration ===
24
+ ###########################################################################################
25
+
26
+
27
+ export WANDB_MODE=disabled
28
+ export WANDB_DISABLED=true
29
+ export WANDB_SILENT=true
30
+
31
+ output_dir=${run_root_dir}/${run_id}
32
+ mkdir -p ${output_dir}
33
+ # mv this script to the output dir
34
+ cp $0 ${output_dir}/
35
+
36
+ accelerate launch \
37
+ --config_file starVLA/config/deepseeds/deepspeed_zero2.yaml \
38
+ --num_processes 4 \
39
+ --main_process_port 29501 \
40
+ starVLA/training/train_starvla.py \
41
+ --config_yaml ${config_yaml} \
42
+ --framework.name ${Framework_name} \
43
+ --framework.qwenvl.base_vlm ${base_vlm} \
44
+ --framework.action_model.num_target_vision_tokens 3 \
45
+ --datasets.vla_data.data_root_dir ${libero_data_root} \
46
+ --datasets.vla_data.data_mix ${data_mix} \
47
+ --datasets.vla_data.per_device_batch_size 4 \
48
+ --trainer.vla_data.video_backend torchvision_av \
49
+ --trainer.freeze_modules ${freeze_module_list} \
50
+ --trainer.gradient_accumulation_steps 4 \
51
+ --trainer.max_train_steps 40000 \
52
+ --trainer.save_interval 10000 \
53
+ --trainer.logging_frequency 100 \
54
+ --trainer.eval_interval 100 \
55
+ --run_root_dir ${run_root_dir} \
56
+ --run_id ${run_id} \
57
+ --wandb_project starVLA_Libero \
58
+ --wandb_entity xxx \
59
+ # --is_debug True
summary.jsonl ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"steps": 10000}
2
+ {"steps": 20000}
3
+ {"steps": 30000}
4
+ {"steps": 40000}