iMihayo commited on
Commit
8a017ea
·
verified ·
1 Parent(s): 2c59a3f

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json +3 -0
  2. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/dataset_statistics.json +218 -0
  3. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/README.md +202 -0
  4. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json +45 -0
  5. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json +114 -0
  6. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processing_prismatic.py +257 -0
  7. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processor_config.json +6 -0
  8. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json +30 -0
  9. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json +53 -0
  10. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt +0 -0
  11. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json +3 -0
  12. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/dataset_statistics.json +218 -0
  13. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json +45 -0
  14. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json +114 -0
  15. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processing_prismatic.py +257 -0
  16. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processor_config.json +6 -0
  17. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json +30 -0
  18. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json +53 -0
  19. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt +0 -0
  20. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json +3 -0
  21. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json +45 -0
  22. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json +114 -0
  23. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json +30 -0
  24. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json +53 -0
  25. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0005+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt +0 -0
  26. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/dataset_statistics.json +218 -0
  27. results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/predicted_vs_gt_arm1_actions.png +0 -0
  28. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json +3 -0
  29. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/dataset_statistics.json +218 -0
  30. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/README.md +202 -0
  31. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json +45 -0
  32. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json +114 -0
  33. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processing_prismatic.py +257 -0
  34. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processor_config.json +6 -0
  35. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json +30 -0
  36. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer.json +0 -0
  37. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json +53 -0
  38. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/dataset_statistics.json +218 -0
  39. results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt +0 -0
  40. results/simvla_prop_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_prop_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/dataset_statistics.json +218 -0
  41. results/simvla_reg16_lib_16/openvla-7b+libero_4_task_suites_no_noops+b16+lr-0.0005+lora-r32+dropout-0.0--image_aug--simvla_reg16_lib_16_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_4-M40000-F40000-D20000--40000_chkpt/dataset_statistics.json +526 -0
  42. results/simvla_reg4_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg4_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register4-M2000-F2000-D1000/dataset_statistics.json +218 -0
  43. results/simvla_reg4_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg4_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register4-M2000-F2000-D1000/parameter_states.txt +0 -0
  44. results/simvla_reg_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register16-M3000-F3000-D2000--3000_chkpt/added_tokens.json +3 -0
  45. results/simvla_reg_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register16-M3000-F3000-D2000--3000_chkpt/processor_config.json +6 -0
  46. run_scripts/ffn_q2a/aloha/aloha_robotwin2_ffn_10 copy.sh +104 -0
  47. run_scripts/ffn_q2a/aloha/aloha_robotwin2_ffn_10.sh +104 -0
  48. run_scripts/ffn_q2a/aloha/aloha_robotwin2_ffn_25_registers16.sh +106 -0
  49. run_scripts/ffn_q2a/aloha/run_test.sh +2 -2
  50. run_scripts/ffn_q2a/aloha/test_aloha_robotwin2_ffn_10.sh +5 -5
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<PAD>": 32000
3
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/dataset_statistics.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "grab_roller_aloha_agilex_50": {
3
+ "action": {
4
+ "mean": [
5
+ -0.7234118580818176,
6
+ 1.632694959640503,
7
+ 1.139991283416748,
8
+ -0.7696658968925476,
9
+ -0.004497084766626358,
10
+ -1.915460228919983,
11
+ 0.6765856742858887,
12
+ 0.4867003262042999,
13
+ 1.567619800567627,
14
+ 1.0547168254852295,
15
+ -0.740928053855896,
16
+ 0.0007320955046452582,
17
+ 1.6736525297164917,
18
+ 0.6765856742858887
19
+ ],
20
+ "std": [
21
+ 0.9490994811058044,
22
+ 0.7159450650215149,
23
+ 0.5567411184310913,
24
+ 0.3428436517715454,
25
+ 0.023813901469111443,
26
+ 0.9220959544181824,
27
+ 0.44203680753707886,
28
+ 0.2887645363807678,
29
+ 0.6954315304756165,
30
+ 0.5172013640403748,
31
+ 0.32894495129585266,
32
+ 0.02310887910425663,
33
+ 0.8557336330413818,
34
+ 0.44203680753707886
35
+ ],
36
+ "max": [
37
+ 0.0,
38
+ 2.482893466949463,
39
+ 2.353947639465332,
40
+ 0.0,
41
+ 0.05954868718981743,
42
+ 0.0,
43
+ 1.0,
44
+ 1.1409132480621338,
45
+ 2.443716287612915,
46
+ 2.2799878120422363,
47
+ 0.0,
48
+ 0.15795069932937622,
49
+ 3.4252119064331055,
50
+ 1.0
51
+ ],
52
+ "min": [
53
+ -7.338869571685791,
54
+ 0.0,
55
+ 0.0,
56
+ -1.5001972913742065,
57
+ -0.12379012256860733,
58
+ -3.4617013931274414,
59
+ 0.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ -1.385493516921997,
64
+ -0.048340000212192535,
65
+ 0.0,
66
+ 0.0
67
+ ],
68
+ "q01": [
69
+ -7.335215625762939,
70
+ 0.0,
71
+ 0.0,
72
+ -1.3311991214752197,
73
+ -0.11849832087755204,
74
+ -3.424123525619507,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ -1.2851634454727172,
80
+ -0.0435758301615715,
81
+ 0.0,
82
+ 0.0
83
+ ],
84
+ "q99": [
85
+ 0.0,
86
+ 2.478337526321411,
87
+ 2.1660122013092042,
88
+ 0.0,
89
+ 0.03330111399292946,
90
+ 0.0,
91
+ 1.0,
92
+ 1.1318105459213257,
93
+ 2.3855650424957275,
94
+ 1.9841104364395143,
95
+ 0.0,
96
+ 0.11385425746440887,
97
+ 3.409965982437134,
98
+ 1.0
99
+ ],
100
+ "mask": [
101
+ true,
102
+ true,
103
+ true,
104
+ true,
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ true,
112
+ true,
113
+ true,
114
+ true
115
+ ]
116
+ },
117
+ "proprio": {
118
+ "mean": [
119
+ -0.7144084572792053,
120
+ 1.6121407747268677,
121
+ 1.1227450370788574,
122
+ -0.7565815448760986,
123
+ -0.0046524289064109325,
124
+ -1.8903743028640747,
125
+ 0.687203586101532,
126
+ 0.4801884591579437,
127
+ 1.5479238033294678,
128
+ 1.0385884046554565,
129
+ -0.7280691862106323,
130
+ 0.0008704152423888445,
131
+ 1.651688575744629,
132
+ 0.687203586101532
133
+ ],
134
+ "std": [
135
+ 0.9468903541564941,
136
+ 0.7339856028556824,
137
+ 0.5653066039085388,
138
+ 0.3482204079627991,
139
+ 0.023658812046051025,
140
+ 0.9399275779724121,
141
+ 0.4376404583454132,
142
+ 0.29170694947242737,
143
+ 0.7125725150108337,
144
+ 0.5250204801559448,
145
+ 0.33385151624679565,
146
+ 0.022993318736553192,
147
+ 0.8697940111160278,
148
+ 0.4376404583454132
149
+ ],
150
+ "max": [
151
+ 0.0,
152
+ 2.482893466949463,
153
+ 2.353947639465332,
154
+ 0.0,
155
+ 0.05954868718981743,
156
+ 0.0,
157
+ 1.0,
158
+ 1.1409132480621338,
159
+ 2.443716287612915,
160
+ 2.2799878120422363,
161
+ 0.0,
162
+ 0.15795069932937622,
163
+ 3.4252119064331055,
164
+ 1.0
165
+ ],
166
+ "min": [
167
+ -7.338869571685791,
168
+ 0.0,
169
+ 0.0,
170
+ -1.5001972913742065,
171
+ -0.12379012256860733,
172
+ -3.4617013931274414,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ -1.385493516921997,
178
+ -0.048340000212192535,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ -7.335215625762939,
184
+ 0.0,
185
+ 0.0,
186
+ -1.3265374326705932,
187
+ -0.11849832087755204,
188
+ -3.424123525619507,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ -1.2640411233901978,
194
+ -0.0435758301615715,
195
+ 0.0,
196
+ 0.0
197
+ ],
198
+ "q99": [
199
+ 0.0,
200
+ 2.478337526321411,
201
+ 2.151273918151856,
202
+ 0.0,
203
+ 0.03329093188047409,
204
+ 0.0,
205
+ 1.0,
206
+ 1.1318105459213257,
207
+ 2.3855650424957275,
208
+ 1.9724502563476562,
209
+ 0.0,
210
+ 0.11385425746440887,
211
+ 3.409965982437134,
212
+ 1.0
213
+ ]
214
+ },
215
+ "num_transitions": 4709,
216
+ "num_trajectories": 50
217
+ }
218
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: /inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137/ai_models/openvla/openvla-7b
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.11.1
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "OpenVLAForActionPrediction",
5
+ "parent_library": "transformers_modules.openvla-7b.modeling_prismatic"
6
+ },
7
+ "base_model_name_or_path": "/inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137/ai_models/openvla/openvla-7b",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": "gaussian",
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_dropout": 0.0,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 32,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "v_proj",
27
+ "o_proj",
28
+ "kv",
29
+ "up_proj",
30
+ "fc2",
31
+ "down_proj",
32
+ "q_proj",
33
+ "k_proj",
34
+ "q",
35
+ "gate_proj",
36
+ "qkv",
37
+ "fc3",
38
+ "lm_head",
39
+ "fc1",
40
+ "proj"
41
+ ],
42
+ "task_type": null,
43
+ "use_dora": false,
44
+ "use_rslora": false
45
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoImageProcessor": "processing_prismatic.PrismaticImageProcessor",
4
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
5
+ },
6
+ "image_processor_type": "PrismaticImageProcessor",
7
+ "image_resize_strategy": "resize-naive",
8
+ "input_sizes": [
9
+ [
10
+ 3,
11
+ 224,
12
+ 224
13
+ ],
14
+ [
15
+ 3,
16
+ 224,
17
+ 224
18
+ ]
19
+ ],
20
+ "interpolations": [
21
+ "bicubic",
22
+ "bicubic"
23
+ ],
24
+ "means": [
25
+ [
26
+ 0.485,
27
+ 0.456,
28
+ 0.406
29
+ ],
30
+ [
31
+ 0.5,
32
+ 0.5,
33
+ 0.5
34
+ ]
35
+ ],
36
+ "processor_class": "PrismaticProcessor",
37
+ "stds": [
38
+ [
39
+ 0.229,
40
+ 0.224,
41
+ 0.225
42
+ ],
43
+ [
44
+ 0.5,
45
+ 0.5,
46
+ 0.5
47
+ ]
48
+ ],
49
+ "tvf_crop_params": [
50
+ {
51
+ "output_size": [
52
+ 224,
53
+ 224
54
+ ]
55
+ },
56
+ {
57
+ "output_size": [
58
+ 224,
59
+ 224
60
+ ]
61
+ }
62
+ ],
63
+ "tvf_do_letterbox": false,
64
+ "tvf_letterbox_fill": null,
65
+ "tvf_normalize_params": [
66
+ {
67
+ "inplace": false,
68
+ "mean": [
69
+ 0.484375,
70
+ 0.455078125,
71
+ 0.40625
72
+ ],
73
+ "std": [
74
+ 0.228515625,
75
+ 0.2236328125,
76
+ 0.224609375
77
+ ]
78
+ },
79
+ {
80
+ "inplace": false,
81
+ "mean": [
82
+ 0.5,
83
+ 0.5,
84
+ 0.5
85
+ ],
86
+ "std": [
87
+ 0.5,
88
+ 0.5,
89
+ 0.5
90
+ ]
91
+ }
92
+ ],
93
+ "tvf_resize_params": [
94
+ {
95
+ "antialias": true,
96
+ "interpolation": 3,
97
+ "max_size": null,
98
+ "size": [
99
+ 224,
100
+ 224
101
+ ]
102
+ },
103
+ {
104
+ "antialias": true,
105
+ "interpolation": 3,
106
+ "max_size": null,
107
+ "size": [
108
+ 224,
109
+ 224
110
+ ]
111
+ }
112
+ ],
113
+ "use_fused_vision_backbone": true
114
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processing_prismatic.py ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ processing_prismatic.py
3
+
4
+ HuggingFace-style preprocessor definitions for Prismatic VLMs, inheriting from `ProcessorMixin`. Default configuration
5
+ specifies `siglip-224px+7b`.
6
+ """
7
+
8
+ from typing import Any, ClassVar, List, Optional, Tuple, Union
9
+
10
+ import timm.data
11
+ import torch
12
+ import torchvision.transforms.functional as TVF
13
+ from PIL import Image
14
+ from torchvision.transforms import CenterCrop, Compose, Normalize, Resize, ToTensor
15
+ from transformers import PreTrainedTokenizerBase
16
+ from transformers.image_processing_utils import BatchFeature, ImageProcessingMixin
17
+ from transformers.processing_utils import ProcessorMixin
18
+ from transformers.tokenization_utils import PaddingStrategy, PreTokenizedInput, TextInput, TruncationStrategy
19
+ from transformers.utils import TensorType
20
+
21
+
22
+ # === Image Processing ===
23
+ def letterbox_pad_transform(image: Image.Image, padding_fill_value: Tuple[int, int, int]) -> Image.Image:
24
+ """Given a PIL.Image, pad to square by adding a symmetric border around the height/width."""
25
+ (w, h), max_wh = image.size, max(image.size)
26
+ horizontal_pad, vertical_pad = int((max_wh - w) / 2), int((max_wh - h) / 2)
27
+ padding = (horizontal_pad, vertical_pad, horizontal_pad, vertical_pad)
28
+
29
+ return TVF.pad(image, padding, fill=padding_fill_value, padding_mode="constant")
30
+
31
+
32
+ class PrismaticImageProcessor(ImageProcessingMixin):
33
+ model_input_names: ClassVar[List[str]] = ["pixel_values"]
34
+
35
+ def __init__(
36
+ self,
37
+ use_fused_vision_backbone: bool = False,
38
+ image_resize_strategy: str = "letterbox",
39
+ input_sizes: Optional[List[Tuple[int, int, int]]] = None,
40
+ interpolations: Optional[List[str]] = None,
41
+ means: Optional[List[Tuple[float, float, float]]] = None,
42
+ stds: Optional[List[Tuple[float, float, float]]] = None,
43
+ **kwargs: str,
44
+ ) -> None:
45
+ """
46
+ Initialize a PrismaticImageProcessor as a wrapper around a torchvision transform; this transform will be
47
+ created by TIMM, and edited to follow our custom `image_resize_strategy` logic.
48
+
49
+ @param use_fused_vision_backbone: Boolean indicating single or fused (dual) vision backbone
50
+ @param image_resize_strategy: Prismatic image resize strategy in < resize-naive | resize-crop | letterbox >
51
+ @param input_size: [TIMM :: `data_cfg`] Input image size as tuple (channels, width, height)
52
+ @param interpolation: [TIMM :: `data_cfg`] Interpolation as string (default: "bicubic")
53
+ @param mean: [TIMM :: `data_cfg`] Normalization mean as float tuple (or two-tuple if `fused_backbone`)
54
+ @param std: [TIMM :: `data_cfg`] Normalization std as float tuple (or two-tuple if `fused_backbone`)
55
+ """
56
+ self.use_fused_vision_backbone = use_fused_vision_backbone
57
+ self.image_resize_strategy = image_resize_strategy
58
+
59
+ # Handle `None` default values
60
+ input_sizes = [(3, 224, 224)] if input_sizes is None else input_sizes
61
+ means = [(0.5, 0.5, 0.5)] if means is None else means
62
+ stds = [(0.5, 0.5, 0.5)] if stds is None else stds
63
+
64
+ # TIMM `data_cfg` Parameters
65
+ self.input_sizes, self.interpolations, self.means, self.stds = input_sizes, interpolations, means, stds
66
+
67
+ # Grab torchvision transforms via TIMM =>> need to parse for specific "functional" transform values!
68
+ self.tvf_resize_params, self.tvf_crop_params, self.tvf_normalize_params = [], [], []
69
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = False, None
70
+
71
+ for idx in range(len(input_sizes)):
72
+ transform = timm.data.create_transform(
73
+ input_size=self.input_sizes[idx],
74
+ interpolation=self.interpolations[idx],
75
+ mean=self.means[idx],
76
+ std=self.stds[idx],
77
+ crop_pct=1.0, # Set to 1.0 to ignore cropping (initial Resize sets `input_size`)
78
+ crop_mode="center", # Default crop mode -- no-op when `crop_pct == 1.0`
79
+ is_training=False, # No image augmentations when loading the transform!
80
+ )
81
+
82
+ # [Validation] Ensure appropriate transform structure, expected sizes
83
+ if not (
84
+ isinstance(transform, Compose)
85
+ and (len(transform.transforms) == 4)
86
+ and isinstance(transform.transforms[0], Resize)
87
+ and isinstance(transform.transforms[1], CenterCrop)
88
+ and isinstance(transform.transforms[2], ToTensor)
89
+ and isinstance(transform.transforms[3], Normalize)
90
+ and (transform.transforms[0].size == self.input_sizes[idx][-1])
91
+ and (transform.transforms[1].size == self.input_sizes[idx][-2:])
92
+ ):
93
+ raise ValueError(f"Unexpected TIMM image transformation structure/sizes: `{transform}`")
94
+
95
+ # HF Image Processors *must* be JSON-serializable; as such, cannot have torchvision. as an attribute.
96
+ # => Instead, we're going to parse the transform and call "torchvision.transforms.functional" (`tvf`)
97
+ resize_t, crop_t, norm_t = transform.transforms[0], transform.transforms[1], transform.transforms[3]
98
+ self.tvf_resize_params.append(
99
+ {
100
+ "size": resize_t.size,
101
+ "interpolation": TVF.pil_modes_mapping[resize_t.interpolation],
102
+ "max_size": None,
103
+ "antialias": True,
104
+ }
105
+ )
106
+ self.tvf_crop_params.append({"output_size": crop_t.size})
107
+ self.tvf_normalize_params.append(
108
+ {
109
+ "mean": norm_t.mean.float().numpy().tolist(),
110
+ "std": norm_t.std.float().numpy().tolist(),
111
+ "inplace": False,
112
+ }
113
+ )
114
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = False, None
115
+
116
+ # Handle Prismatic `image_resize_strategy`
117
+ if self.image_resize_strategy == "resize-naive":
118
+ self.tvf_resize_params[idx]["size"] = (resize_t.size, resize_t.size)
119
+ elif self.image_resize_strategy == "letterbox":
120
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = True, tuple([int(x * 255) for x in self.means[idx]])
121
+ elif self.image_resize_strategy == "resize-crop":
122
+ pass
123
+ else:
124
+ raise ValueError(f"Image resize strategy `{self.image_resize_strategy}` is not supported!")
125
+
126
+ # Dispatch **kwargs to super()
127
+ super().__init__(**kwargs)
128
+
129
+ def apply_transform(self, img: Image.Image) -> torch.Tensor:
130
+ """Apply `functional` variant of TIMM's Transform = Compose([Resize -> CenterCrop -> ToTensor -> Normalize])"""
131
+ if self.tvf_do_letterbox:
132
+ img = letterbox_pad_transform(img, self.tvf_letterbox_fill)
133
+
134
+ # [Contract] Fused Backbones expect "channel-stacked" inputs; we'll unpack on the model side!
135
+ imgs_t = []
136
+ for idx in range(len(self.input_sizes)):
137
+ img_idx = TVF.resize(img, **self.tvf_resize_params[idx])
138
+ img_idx = TVF.center_crop(img_idx, **self.tvf_crop_params[idx])
139
+ img_idx_t = TVF.to_tensor(img_idx)
140
+ img_idx_t = TVF.normalize(img_idx_t, **self.tvf_normalize_params[idx])
141
+ imgs_t.append(img_idx_t)
142
+
143
+ # [Contract] `imgs_t` is a list of Tensors of shape [3, input_size, input_size]; stack along dim = 0
144
+ img_t = torch.vstack(imgs_t)
145
+
146
+ return img_t
147
+
148
+ def preprocess(
149
+ self,
150
+ images: Union[Image.Image, List[Image.Image]],
151
+ return_tensors: Optional[Union[str, TensorType]] = None,
152
+ **_: str,
153
+ ) -> BatchFeature:
154
+ """
155
+ Preprocess an image (or batch of images); note that unlike the `transformers :: BaseImageProcessor` we
156
+ explicitly only handle PIL.Image.Image instances for simplicity.
157
+
158
+ @param images: A (batch of) PIL.Image.Image instance(s) to preprocess.
159
+ @param return_tensors: BatchFeature default Tensor format (e.g., "pt" for torch); if None, returns np.ndarray
160
+
161
+ @return: Instance of `transformers :: BatchFeature` with a single key "pixel_values"
162
+ """
163
+ if not isinstance(images, list):
164
+ images = [images]
165
+
166
+ # Apply `self.img_transform` to each image (will return list of torch.Tensors); stack into "batched" Tensor
167
+ pixel_values = torch.stack([self.apply_transform(img.convert("RGB")) for img in images])
168
+
169
+ # Return BatchFeature =>> note that for compatibility, constructor expects Dict[str, np.ndarray], so we convert
170
+ return BatchFeature(data={"pixel_values": pixel_values.float().numpy()}, tensor_type=return_tensors)
171
+
172
+ def __call__(self, images: Union[Image.Image, List[Image.Image]], **kwargs) -> BatchFeature:
173
+ return self.preprocess(images, **kwargs)
174
+
175
+
176
+ # === PrismaticProcessor =>> Wraps both ImageProcessor and Tokenizer ===
177
+ # =>> https://github.com/huggingface/transformers/blob/main/src/transformers/models/llava/processing_llava.py
178
+ class PrismaticProcessor(ProcessorMixin):
179
+ attributes: ClassVar[List[str]] = ["image_processor", "tokenizer"]
180
+ image_processor_class: str = "AutoImageProcessor"
181
+ tokenizer_class: str = "AutoTokenizer"
182
+
183
+ def __init__(
184
+ self,
185
+ image_processor: Optional[ImageProcessingMixin] = None,
186
+ tokenizer: Optional[PreTrainedTokenizerBase] = None,
187
+ ) -> None:
188
+ super().__init__(image_processor, tokenizer)
189
+
190
+ def __call__(
191
+ self,
192
+ text: Union[TextInput, PreTokenizedInput, List[TextInput], List[PreTokenizedInput]],
193
+ images: Union[Image.Image, List[Image.Image]],
194
+ padding: Union[bool, str, PaddingStrategy] = False,
195
+ truncation: Optional[Union[bool, str, TruncationStrategy]] = None,
196
+ max_length: Optional[int] = None,
197
+ return_tensors: Optional[Union[str, TensorType]] = TensorType.PYTORCH,
198
+ ) -> BatchFeature:
199
+ """
200
+ Preprocess a given (batch) of text/images for a Prismatic VLM; forwards text to the underlying LLM's tokenizer,
201
+ forwards images to PrismaticImageProcessor.
202
+
203
+ @param text: The (batch) of text to encode; must be a string or list of strings.
204
+ @param images: A (batch of) PIL.Image.Image instance(s) to preprocess.
205
+ @param padding: Sequence padding strategy (if multiple specified) in < True = "longest" | "max_length" | False >
206
+ @param truncation: Truncation strategy for the output sequences; requires `max_length` to be specified
207
+ @param max_length: Maximum length (in tokens) to truncate
208
+ @param return_tensors: Type of return tensors (usually "pt" or TensorType.PYTORCH)
209
+
210
+ @return: BatchFeature with keys for `input_ids`, `attention_mask` and `pixel_values`.
211
+ """
212
+ pixel_values = self.image_processor(images, return_tensors=return_tensors)["pixel_values"]
213
+ text_inputs = self.tokenizer(
214
+ text, return_tensors=return_tensors, padding=padding, truncation=truncation, max_length=max_length
215
+ )
216
+
217
+ # [Validate] Need same number of images and text inputs!
218
+ if pixel_values.shape[0] != text_inputs.input_ids.shape[0]:
219
+ raise ValueError("Batch is malformed; expected same number of images and text inputs!")
220
+
221
+ return BatchFeature(data={**text_inputs, "pixel_values": pixel_values})
222
+
223
+ # === Tokenizer Dispatch Utilities =>> check `PreTrainedTokenizerBase` for documentation ===
224
+ def batch_decode(
225
+ self,
226
+ sequences: Union[List[int], List[List[int]], torch.Tensor, Any], # `Any` = np.ndarray | tf.Tensor
227
+ skip_special_tokens: bool = False,
228
+ clean_up_tokenization_spaces: Optional[bool] = None,
229
+ **kwargs: str,
230
+ ) -> List[str]:
231
+ return self.tokenizer.batch_decode(
232
+ sequences=sequences,
233
+ skip_special_tokens=skip_special_tokens,
234
+ clean_up_tokenization_spaces=clean_up_tokenization_spaces,
235
+ **kwargs,
236
+ )
237
+
238
+ def decode(
239
+ self,
240
+ token_ids: Union[int, List[int], torch.Tensor, Any], # `Any` = np.ndarray | tf.Tensor
241
+ skip_special_tokens: bool = False,
242
+ clean_up_tokenization_spaces: Optional[bool] = None,
243
+ **kwargs: str,
244
+ ) -> str:
245
+ return self.tokenizer.decode(
246
+ token_ids=token_ids,
247
+ skip_special_tokens=skip_special_tokens,
248
+ clean_up_tokenization_spaces=clean_up_tokenization_spaces,
249
+ **kwargs,
250
+ )
251
+
252
+ @property
253
+ def model_input_names(self) -> List[str]:
254
+ tokenizer_input_names = self.tokenizer.model_input_names
255
+ image_processor_input_names = self.image_processor.model_input_names
256
+
257
+ return list(dict.fromkeys(tokenizer_input_names + image_processor_input_names))
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
4
+ },
5
+ "processor_class": "PrismaticProcessor"
6
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<PAD>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<PAD>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "auto_map": {
39
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
40
+ },
41
+ "bos_token": "<s>",
42
+ "clean_up_tokenization_spaces": false,
43
+ "eos_token": "</s>",
44
+ "legacy": false,
45
+ "model_max_length": 2048,
46
+ "pad_token": "<PAD>",
47
+ "padding_side": "right",
48
+ "processor_class": "PrismaticProcessor",
49
+ "sp_model_kwargs": {},
50
+ "tokenizer_class": "LlamaTokenizer",
51
+ "unk_token": "<unk>",
52
+ "use_default_system_prompt": false
53
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt ADDED
The diff for this file is too large to render. See raw diff
 
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<PAD>": 32000
3
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/dataset_statistics.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "grab_roller_aloha_agilex_50": {
3
+ "action": {
4
+ "mean": [
5
+ -0.7234118580818176,
6
+ 1.632694959640503,
7
+ 1.139991283416748,
8
+ -0.7696658968925476,
9
+ -0.004497084766626358,
10
+ -1.915460228919983,
11
+ 0.6765856742858887,
12
+ 0.4867003262042999,
13
+ 1.567619800567627,
14
+ 1.0547168254852295,
15
+ -0.740928053855896,
16
+ 0.0007320955046452582,
17
+ 1.6736525297164917,
18
+ 0.6765856742858887
19
+ ],
20
+ "std": [
21
+ 0.9490994811058044,
22
+ 0.7159450650215149,
23
+ 0.5567411184310913,
24
+ 0.3428436517715454,
25
+ 0.023813901469111443,
26
+ 0.9220959544181824,
27
+ 0.44203680753707886,
28
+ 0.2887645363807678,
29
+ 0.6954315304756165,
30
+ 0.5172013640403748,
31
+ 0.32894495129585266,
32
+ 0.02310887910425663,
33
+ 0.8557336330413818,
34
+ 0.44203680753707886
35
+ ],
36
+ "max": [
37
+ 0.0,
38
+ 2.482893466949463,
39
+ 2.353947639465332,
40
+ 0.0,
41
+ 0.05954868718981743,
42
+ 0.0,
43
+ 1.0,
44
+ 1.1409132480621338,
45
+ 2.443716287612915,
46
+ 2.2799878120422363,
47
+ 0.0,
48
+ 0.15795069932937622,
49
+ 3.4252119064331055,
50
+ 1.0
51
+ ],
52
+ "min": [
53
+ -7.338869571685791,
54
+ 0.0,
55
+ 0.0,
56
+ -1.5001972913742065,
57
+ -0.12379012256860733,
58
+ -3.4617013931274414,
59
+ 0.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ -1.385493516921997,
64
+ -0.048340000212192535,
65
+ 0.0,
66
+ 0.0
67
+ ],
68
+ "q01": [
69
+ -7.335215625762939,
70
+ 0.0,
71
+ 0.0,
72
+ -1.3311991214752197,
73
+ -0.11849832087755204,
74
+ -3.424123525619507,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ -1.2851634454727172,
80
+ -0.0435758301615715,
81
+ 0.0,
82
+ 0.0
83
+ ],
84
+ "q99": [
85
+ 0.0,
86
+ 2.478337526321411,
87
+ 2.1660122013092042,
88
+ 0.0,
89
+ 0.03330111399292946,
90
+ 0.0,
91
+ 1.0,
92
+ 1.1318105459213257,
93
+ 2.3855650424957275,
94
+ 1.9841104364395143,
95
+ 0.0,
96
+ 0.11385425746440887,
97
+ 3.409965982437134,
98
+ 1.0
99
+ ],
100
+ "mask": [
101
+ true,
102
+ true,
103
+ true,
104
+ true,
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ true,
112
+ true,
113
+ true,
114
+ true
115
+ ]
116
+ },
117
+ "proprio": {
118
+ "mean": [
119
+ -0.7144084572792053,
120
+ 1.6121407747268677,
121
+ 1.1227450370788574,
122
+ -0.7565815448760986,
123
+ -0.0046524289064109325,
124
+ -1.8903743028640747,
125
+ 0.687203586101532,
126
+ 0.4801884591579437,
127
+ 1.5479238033294678,
128
+ 1.0385884046554565,
129
+ -0.7280691862106323,
130
+ 0.0008704152423888445,
131
+ 1.651688575744629,
132
+ 0.687203586101532
133
+ ],
134
+ "std": [
135
+ 0.9468903541564941,
136
+ 0.7339856028556824,
137
+ 0.5653066039085388,
138
+ 0.3482204079627991,
139
+ 0.023658812046051025,
140
+ 0.9399275779724121,
141
+ 0.4376404583454132,
142
+ 0.29170694947242737,
143
+ 0.7125725150108337,
144
+ 0.5250204801559448,
145
+ 0.33385151624679565,
146
+ 0.022993318736553192,
147
+ 0.8697940111160278,
148
+ 0.4376404583454132
149
+ ],
150
+ "max": [
151
+ 0.0,
152
+ 2.482893466949463,
153
+ 2.353947639465332,
154
+ 0.0,
155
+ 0.05954868718981743,
156
+ 0.0,
157
+ 1.0,
158
+ 1.1409132480621338,
159
+ 2.443716287612915,
160
+ 2.2799878120422363,
161
+ 0.0,
162
+ 0.15795069932937622,
163
+ 3.4252119064331055,
164
+ 1.0
165
+ ],
166
+ "min": [
167
+ -7.338869571685791,
168
+ 0.0,
169
+ 0.0,
170
+ -1.5001972913742065,
171
+ -0.12379012256860733,
172
+ -3.4617013931274414,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ -1.385493516921997,
178
+ -0.048340000212192535,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ -7.335215625762939,
184
+ 0.0,
185
+ 0.0,
186
+ -1.3265374326705932,
187
+ -0.11849832087755204,
188
+ -3.424123525619507,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ -1.2640411233901978,
194
+ -0.0435758301615715,
195
+ 0.0,
196
+ 0.0
197
+ ],
198
+ "q99": [
199
+ 0.0,
200
+ 2.478337526321411,
201
+ 2.151273918151856,
202
+ 0.0,
203
+ 0.03329093188047409,
204
+ 0.0,
205
+ 1.0,
206
+ 1.1318105459213257,
207
+ 2.3855650424957275,
208
+ 1.9724502563476562,
209
+ 0.0,
210
+ 0.11385425746440887,
211
+ 3.409965982437134,
212
+ 1.0
213
+ ]
214
+ },
215
+ "num_transitions": 4709,
216
+ "num_trajectories": 50
217
+ }
218
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "OpenVLAForActionPrediction",
5
+ "parent_library": "transformers_modules.openvla-7b.modeling_prismatic"
6
+ },
7
+ "base_model_name_or_path": "/inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137/ai_models/openvla/openvla-7b",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": "gaussian",
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_dropout": 0.0,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 32,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "q",
27
+ "down_proj",
28
+ "k_proj",
29
+ "fc1",
30
+ "qkv",
31
+ "fc2",
32
+ "v_proj",
33
+ "gate_proj",
34
+ "up_proj",
35
+ "fc3",
36
+ "lm_head",
37
+ "proj",
38
+ "q_proj",
39
+ "kv",
40
+ "o_proj"
41
+ ],
42
+ "task_type": null,
43
+ "use_dora": false,
44
+ "use_rslora": false
45
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoImageProcessor": "processing_prismatic.PrismaticImageProcessor",
4
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
5
+ },
6
+ "image_processor_type": "PrismaticImageProcessor",
7
+ "image_resize_strategy": "resize-naive",
8
+ "input_sizes": [
9
+ [
10
+ 3,
11
+ 224,
12
+ 224
13
+ ],
14
+ [
15
+ 3,
16
+ 224,
17
+ 224
18
+ ]
19
+ ],
20
+ "interpolations": [
21
+ "bicubic",
22
+ "bicubic"
23
+ ],
24
+ "means": [
25
+ [
26
+ 0.485,
27
+ 0.456,
28
+ 0.406
29
+ ],
30
+ [
31
+ 0.5,
32
+ 0.5,
33
+ 0.5
34
+ ]
35
+ ],
36
+ "processor_class": "PrismaticProcessor",
37
+ "stds": [
38
+ [
39
+ 0.229,
40
+ 0.224,
41
+ 0.225
42
+ ],
43
+ [
44
+ 0.5,
45
+ 0.5,
46
+ 0.5
47
+ ]
48
+ ],
49
+ "tvf_crop_params": [
50
+ {
51
+ "output_size": [
52
+ 224,
53
+ 224
54
+ ]
55
+ },
56
+ {
57
+ "output_size": [
58
+ 224,
59
+ 224
60
+ ]
61
+ }
62
+ ],
63
+ "tvf_do_letterbox": false,
64
+ "tvf_letterbox_fill": null,
65
+ "tvf_normalize_params": [
66
+ {
67
+ "inplace": false,
68
+ "mean": [
69
+ 0.484375,
70
+ 0.455078125,
71
+ 0.40625
72
+ ],
73
+ "std": [
74
+ 0.228515625,
75
+ 0.2236328125,
76
+ 0.224609375
77
+ ]
78
+ },
79
+ {
80
+ "inplace": false,
81
+ "mean": [
82
+ 0.5,
83
+ 0.5,
84
+ 0.5
85
+ ],
86
+ "std": [
87
+ 0.5,
88
+ 0.5,
89
+ 0.5
90
+ ]
91
+ }
92
+ ],
93
+ "tvf_resize_params": [
94
+ {
95
+ "antialias": true,
96
+ "interpolation": 3,
97
+ "max_size": null,
98
+ "size": [
99
+ 224,
100
+ 224
101
+ ]
102
+ },
103
+ {
104
+ "antialias": true,
105
+ "interpolation": 3,
106
+ "max_size": null,
107
+ "size": [
108
+ 224,
109
+ 224
110
+ ]
111
+ }
112
+ ],
113
+ "use_fused_vision_backbone": true
114
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processing_prismatic.py ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ processing_prismatic.py
3
+
4
+ HuggingFace-style preprocessor definitions for Prismatic VLMs, inheriting from `ProcessorMixin`. Default configuration
5
+ specifies `siglip-224px+7b`.
6
+ """
7
+
8
+ from typing import Any, ClassVar, List, Optional, Tuple, Union
9
+
10
+ import timm.data
11
+ import torch
12
+ import torchvision.transforms.functional as TVF
13
+ from PIL import Image
14
+ from torchvision.transforms import CenterCrop, Compose, Normalize, Resize, ToTensor
15
+ from transformers import PreTrainedTokenizerBase
16
+ from transformers.image_processing_utils import BatchFeature, ImageProcessingMixin
17
+ from transformers.processing_utils import ProcessorMixin
18
+ from transformers.tokenization_utils import PaddingStrategy, PreTokenizedInput, TextInput, TruncationStrategy
19
+ from transformers.utils import TensorType
20
+
21
+
22
+ # === Image Processing ===
23
+ def letterbox_pad_transform(image: Image.Image, padding_fill_value: Tuple[int, int, int]) -> Image.Image:
24
+ """Given a PIL.Image, pad to square by adding a symmetric border around the height/width."""
25
+ (w, h), max_wh = image.size, max(image.size)
26
+ horizontal_pad, vertical_pad = int((max_wh - w) / 2), int((max_wh - h) / 2)
27
+ padding = (horizontal_pad, vertical_pad, horizontal_pad, vertical_pad)
28
+
29
+ return TVF.pad(image, padding, fill=padding_fill_value, padding_mode="constant")
30
+
31
+
32
+ class PrismaticImageProcessor(ImageProcessingMixin):
33
+ model_input_names: ClassVar[List[str]] = ["pixel_values"]
34
+
35
+ def __init__(
36
+ self,
37
+ use_fused_vision_backbone: bool = False,
38
+ image_resize_strategy: str = "letterbox",
39
+ input_sizes: Optional[List[Tuple[int, int, int]]] = None,
40
+ interpolations: Optional[List[str]] = None,
41
+ means: Optional[List[Tuple[float, float, float]]] = None,
42
+ stds: Optional[List[Tuple[float, float, float]]] = None,
43
+ **kwargs: str,
44
+ ) -> None:
45
+ """
46
+ Initialize a PrismaticImageProcessor as a wrapper around a torchvision transform; this transform will be
47
+ created by TIMM, and edited to follow our custom `image_resize_strategy` logic.
48
+
49
+ @param use_fused_vision_backbone: Boolean indicating single or fused (dual) vision backbone
50
+ @param image_resize_strategy: Prismatic image resize strategy in < resize-naive | resize-crop | letterbox >
51
+ @param input_size: [TIMM :: `data_cfg`] Input image size as tuple (channels, width, height)
52
+ @param interpolation: [TIMM :: `data_cfg`] Interpolation as string (default: "bicubic")
53
+ @param mean: [TIMM :: `data_cfg`] Normalization mean as float tuple (or two-tuple if `fused_backbone`)
54
+ @param std: [TIMM :: `data_cfg`] Normalization std as float tuple (or two-tuple if `fused_backbone`)
55
+ """
56
+ self.use_fused_vision_backbone = use_fused_vision_backbone
57
+ self.image_resize_strategy = image_resize_strategy
58
+
59
+ # Handle `None` default values
60
+ input_sizes = [(3, 224, 224)] if input_sizes is None else input_sizes
61
+ means = [(0.5, 0.5, 0.5)] if means is None else means
62
+ stds = [(0.5, 0.5, 0.5)] if stds is None else stds
63
+
64
+ # TIMM `data_cfg` Parameters
65
+ self.input_sizes, self.interpolations, self.means, self.stds = input_sizes, interpolations, means, stds
66
+
67
+ # Grab torchvision transforms via TIMM =>> need to parse for specific "functional" transform values!
68
+ self.tvf_resize_params, self.tvf_crop_params, self.tvf_normalize_params = [], [], []
69
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = False, None
70
+
71
+ for idx in range(len(input_sizes)):
72
+ transform = timm.data.create_transform(
73
+ input_size=self.input_sizes[idx],
74
+ interpolation=self.interpolations[idx],
75
+ mean=self.means[idx],
76
+ std=self.stds[idx],
77
+ crop_pct=1.0, # Set to 1.0 to ignore cropping (initial Resize sets `input_size`)
78
+ crop_mode="center", # Default crop mode -- no-op when `crop_pct == 1.0`
79
+ is_training=False, # No image augmentations when loading the transform!
80
+ )
81
+
82
+ # [Validation] Ensure appropriate transform structure, expected sizes
83
+ if not (
84
+ isinstance(transform, Compose)
85
+ and (len(transform.transforms) == 4)
86
+ and isinstance(transform.transforms[0], Resize)
87
+ and isinstance(transform.transforms[1], CenterCrop)
88
+ and isinstance(transform.transforms[2], ToTensor)
89
+ and isinstance(transform.transforms[3], Normalize)
90
+ and (transform.transforms[0].size == self.input_sizes[idx][-1])
91
+ and (transform.transforms[1].size == self.input_sizes[idx][-2:])
92
+ ):
93
+ raise ValueError(f"Unexpected TIMM image transformation structure/sizes: `{transform}`")
94
+
95
+ # HF Image Processors *must* be JSON-serializable; as such, cannot have torchvision. as an attribute.
96
+ # => Instead, we're going to parse the transform and call "torchvision.transforms.functional" (`tvf`)
97
+ resize_t, crop_t, norm_t = transform.transforms[0], transform.transforms[1], transform.transforms[3]
98
+ self.tvf_resize_params.append(
99
+ {
100
+ "size": resize_t.size,
101
+ "interpolation": TVF.pil_modes_mapping[resize_t.interpolation],
102
+ "max_size": None,
103
+ "antialias": True,
104
+ }
105
+ )
106
+ self.tvf_crop_params.append({"output_size": crop_t.size})
107
+ self.tvf_normalize_params.append(
108
+ {
109
+ "mean": norm_t.mean.float().numpy().tolist(),
110
+ "std": norm_t.std.float().numpy().tolist(),
111
+ "inplace": False,
112
+ }
113
+ )
114
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = False, None
115
+
116
+ # Handle Prismatic `image_resize_strategy`
117
+ if self.image_resize_strategy == "resize-naive":
118
+ self.tvf_resize_params[idx]["size"] = (resize_t.size, resize_t.size)
119
+ elif self.image_resize_strategy == "letterbox":
120
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = True, tuple([int(x * 255) for x in self.means[idx]])
121
+ elif self.image_resize_strategy == "resize-crop":
122
+ pass
123
+ else:
124
+ raise ValueError(f"Image resize strategy `{self.image_resize_strategy}` is not supported!")
125
+
126
+ # Dispatch **kwargs to super()
127
+ super().__init__(**kwargs)
128
+
129
+ def apply_transform(self, img: Image.Image) -> torch.Tensor:
130
+ """Apply `functional` variant of TIMM's Transform = Compose([Resize -> CenterCrop -> ToTensor -> Normalize])"""
131
+ if self.tvf_do_letterbox:
132
+ img = letterbox_pad_transform(img, self.tvf_letterbox_fill)
133
+
134
+ # [Contract] Fused Backbones expect "channel-stacked" inputs; we'll unpack on the model side!
135
+ imgs_t = []
136
+ for idx in range(len(self.input_sizes)):
137
+ img_idx = TVF.resize(img, **self.tvf_resize_params[idx])
138
+ img_idx = TVF.center_crop(img_idx, **self.tvf_crop_params[idx])
139
+ img_idx_t = TVF.to_tensor(img_idx)
140
+ img_idx_t = TVF.normalize(img_idx_t, **self.tvf_normalize_params[idx])
141
+ imgs_t.append(img_idx_t)
142
+
143
+ # [Contract] `imgs_t` is a list of Tensors of shape [3, input_size, input_size]; stack along dim = 0
144
+ img_t = torch.vstack(imgs_t)
145
+
146
+ return img_t
147
+
148
+ def preprocess(
149
+ self,
150
+ images: Union[Image.Image, List[Image.Image]],
151
+ return_tensors: Optional[Union[str, TensorType]] = None,
152
+ **_: str,
153
+ ) -> BatchFeature:
154
+ """
155
+ Preprocess an image (or batch of images); note that unlike the `transformers :: BaseImageProcessor` we
156
+ explicitly only handle PIL.Image.Image instances for simplicity.
157
+
158
+ @param images: A (batch of) PIL.Image.Image instance(s) to preprocess.
159
+ @param return_tensors: BatchFeature default Tensor format (e.g., "pt" for torch); if None, returns np.ndarray
160
+
161
+ @return: Instance of `transformers :: BatchFeature` with a single key "pixel_values"
162
+ """
163
+ if not isinstance(images, list):
164
+ images = [images]
165
+
166
+ # Apply `self.img_transform` to each image (will return list of torch.Tensors); stack into "batched" Tensor
167
+ pixel_values = torch.stack([self.apply_transform(img.convert("RGB")) for img in images])
168
+
169
+ # Return BatchFeature =>> note that for compatibility, constructor expects Dict[str, np.ndarray], so we convert
170
+ return BatchFeature(data={"pixel_values": pixel_values.float().numpy()}, tensor_type=return_tensors)
171
+
172
+ def __call__(self, images: Union[Image.Image, List[Image.Image]], **kwargs) -> BatchFeature:
173
+ return self.preprocess(images, **kwargs)
174
+
175
+
176
+ # === PrismaticProcessor =>> Wraps both ImageProcessor and Tokenizer ===
177
+ # =>> https://github.com/huggingface/transformers/blob/main/src/transformers/models/llava/processing_llava.py
178
+ class PrismaticProcessor(ProcessorMixin):
179
+ attributes: ClassVar[List[str]] = ["image_processor", "tokenizer"]
180
+ image_processor_class: str = "AutoImageProcessor"
181
+ tokenizer_class: str = "AutoTokenizer"
182
+
183
+ def __init__(
184
+ self,
185
+ image_processor: Optional[ImageProcessingMixin] = None,
186
+ tokenizer: Optional[PreTrainedTokenizerBase] = None,
187
+ ) -> None:
188
+ super().__init__(image_processor, tokenizer)
189
+
190
+ def __call__(
191
+ self,
192
+ text: Union[TextInput, PreTokenizedInput, List[TextInput], List[PreTokenizedInput]],
193
+ images: Union[Image.Image, List[Image.Image]],
194
+ padding: Union[bool, str, PaddingStrategy] = False,
195
+ truncation: Optional[Union[bool, str, TruncationStrategy]] = None,
196
+ max_length: Optional[int] = None,
197
+ return_tensors: Optional[Union[str, TensorType]] = TensorType.PYTORCH,
198
+ ) -> BatchFeature:
199
+ """
200
+ Preprocess a given (batch) of text/images for a Prismatic VLM; forwards text to the underlying LLM's tokenizer,
201
+ forwards images to PrismaticImageProcessor.
202
+
203
+ @param text: The (batch) of text to encode; must be a string or list of strings.
204
+ @param images: A (batch of) PIL.Image.Image instance(s) to preprocess.
205
+ @param padding: Sequence padding strategy (if multiple specified) in < True = "longest" | "max_length" | False >
206
+ @param truncation: Truncation strategy for the output sequences; requires `max_length` to be specified
207
+ @param max_length: Maximum length (in tokens) to truncate
208
+ @param return_tensors: Type of return tensors (usually "pt" or TensorType.PYTORCH)
209
+
210
+ @return: BatchFeature with keys for `input_ids`, `attention_mask` and `pixel_values`.
211
+ """
212
+ pixel_values = self.image_processor(images, return_tensors=return_tensors)["pixel_values"]
213
+ text_inputs = self.tokenizer(
214
+ text, return_tensors=return_tensors, padding=padding, truncation=truncation, max_length=max_length
215
+ )
216
+
217
+ # [Validate] Need same number of images and text inputs!
218
+ if pixel_values.shape[0] != text_inputs.input_ids.shape[0]:
219
+ raise ValueError("Batch is malformed; expected same number of images and text inputs!")
220
+
221
+ return BatchFeature(data={**text_inputs, "pixel_values": pixel_values})
222
+
223
+ # === Tokenizer Dispatch Utilities =>> check `PreTrainedTokenizerBase` for documentation ===
224
+ def batch_decode(
225
+ self,
226
+ sequences: Union[List[int], List[List[int]], torch.Tensor, Any], # `Any` = np.ndarray | tf.Tensor
227
+ skip_special_tokens: bool = False,
228
+ clean_up_tokenization_spaces: Optional[bool] = None,
229
+ **kwargs: str,
230
+ ) -> List[str]:
231
+ return self.tokenizer.batch_decode(
232
+ sequences=sequences,
233
+ skip_special_tokens=skip_special_tokens,
234
+ clean_up_tokenization_spaces=clean_up_tokenization_spaces,
235
+ **kwargs,
236
+ )
237
+
238
+ def decode(
239
+ self,
240
+ token_ids: Union[int, List[int], torch.Tensor, Any], # `Any` = np.ndarray | tf.Tensor
241
+ skip_special_tokens: bool = False,
242
+ clean_up_tokenization_spaces: Optional[bool] = None,
243
+ **kwargs: str,
244
+ ) -> str:
245
+ return self.tokenizer.decode(
246
+ token_ids=token_ids,
247
+ skip_special_tokens=skip_special_tokens,
248
+ clean_up_tokenization_spaces=clean_up_tokenization_spaces,
249
+ **kwargs,
250
+ )
251
+
252
+ @property
253
+ def model_input_names(self) -> List[str]:
254
+ tokenizer_input_names = self.tokenizer.model_input_names
255
+ image_processor_input_names = self.image_processor.model_input_names
256
+
257
+ return list(dict.fromkeys(tokenizer_input_names + image_processor_input_names))
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
4
+ },
5
+ "processor_class": "PrismaticProcessor"
6
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<PAD>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<PAD>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "auto_map": {
39
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
40
+ },
41
+ "bos_token": "<s>",
42
+ "clean_up_tokenization_spaces": false,
43
+ "eos_token": "</s>",
44
+ "legacy": false,
45
+ "model_max_length": 2048,
46
+ "pad_token": "<PAD>",
47
+ "padding_side": "right",
48
+ "processor_class": "PrismaticProcessor",
49
+ "sp_model_kwargs": {},
50
+ "tokenizer_class": "LlamaTokenizer",
51
+ "unk_token": "<unk>",
52
+ "use_default_system_prompt": false
53
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_onlynorm_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt ADDED
The diff for this file is too large to render. See raw diff
 
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<PAD>": 32000
3
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "OpenVLAForActionPrediction",
5
+ "parent_library": "transformers_modules.openvla-7b.modeling_prismatic"
6
+ },
7
+ "base_model_name_or_path": "/inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137/ai_models/openvla/openvla-7b",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": "gaussian",
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_dropout": 0.0,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 32,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "k_proj",
27
+ "up_proj",
28
+ "v_proj",
29
+ "fc3",
30
+ "fc1",
31
+ "o_proj",
32
+ "qkv",
33
+ "q_proj",
34
+ "proj",
35
+ "gate_proj",
36
+ "lm_head",
37
+ "fc2",
38
+ "q",
39
+ "down_proj",
40
+ "kv"
41
+ ],
42
+ "task_type": null,
43
+ "use_dora": false,
44
+ "use_rslora": false
45
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoImageProcessor": "processing_prismatic.PrismaticImageProcessor",
4
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
5
+ },
6
+ "image_processor_type": "PrismaticImageProcessor",
7
+ "image_resize_strategy": "resize-naive",
8
+ "input_sizes": [
9
+ [
10
+ 3,
11
+ 224,
12
+ 224
13
+ ],
14
+ [
15
+ 3,
16
+ 224,
17
+ 224
18
+ ]
19
+ ],
20
+ "interpolations": [
21
+ "bicubic",
22
+ "bicubic"
23
+ ],
24
+ "means": [
25
+ [
26
+ 0.485,
27
+ 0.456,
28
+ 0.406
29
+ ],
30
+ [
31
+ 0.5,
32
+ 0.5,
33
+ 0.5
34
+ ]
35
+ ],
36
+ "processor_class": "PrismaticProcessor",
37
+ "stds": [
38
+ [
39
+ 0.229,
40
+ 0.224,
41
+ 0.225
42
+ ],
43
+ [
44
+ 0.5,
45
+ 0.5,
46
+ 0.5
47
+ ]
48
+ ],
49
+ "tvf_crop_params": [
50
+ {
51
+ "output_size": [
52
+ 224,
53
+ 224
54
+ ]
55
+ },
56
+ {
57
+ "output_size": [
58
+ 224,
59
+ 224
60
+ ]
61
+ }
62
+ ],
63
+ "tvf_do_letterbox": false,
64
+ "tvf_letterbox_fill": null,
65
+ "tvf_normalize_params": [
66
+ {
67
+ "inplace": false,
68
+ "mean": [
69
+ 0.484375,
70
+ 0.455078125,
71
+ 0.40625
72
+ ],
73
+ "std": [
74
+ 0.228515625,
75
+ 0.2236328125,
76
+ 0.224609375
77
+ ]
78
+ },
79
+ {
80
+ "inplace": false,
81
+ "mean": [
82
+ 0.5,
83
+ 0.5,
84
+ 0.5
85
+ ],
86
+ "std": [
87
+ 0.5,
88
+ 0.5,
89
+ 0.5
90
+ ]
91
+ }
92
+ ],
93
+ "tvf_resize_params": [
94
+ {
95
+ "antialias": true,
96
+ "interpolation": 3,
97
+ "max_size": null,
98
+ "size": [
99
+ 224,
100
+ 224
101
+ ]
102
+ },
103
+ {
104
+ "antialias": true,
105
+ "interpolation": 3,
106
+ "max_size": null,
107
+ "size": [
108
+ 224,
109
+ 224
110
+ ]
111
+ }
112
+ ],
113
+ "use_fused_vision_backbone": true
114
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<PAD>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_relu_linear_ffn_type_relu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<PAD>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "auto_map": {
39
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
40
+ },
41
+ "bos_token": "<s>",
42
+ "clean_up_tokenization_spaces": false,
43
+ "eos_token": "</s>",
44
+ "legacy": false,
45
+ "model_max_length": 2048,
46
+ "pad_token": "<PAD>",
47
+ "padding_side": "right",
48
+ "processor_class": "PrismaticProcessor",
49
+ "sp_model_kwargs": {},
50
+ "tokenizer_class": "LlamaTokenizer",
51
+ "unk_token": "<unk>",
52
+ "use_default_system_prompt": false
53
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0005+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt ADDED
The diff for this file is too large to render. See raw diff
 
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/dataset_statistics.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "grab_roller_aloha_agilex_50": {
3
+ "action": {
4
+ "mean": [
5
+ -0.7234118580818176,
6
+ 1.632694959640503,
7
+ 1.139991283416748,
8
+ -0.7696658968925476,
9
+ -0.004497084766626358,
10
+ -1.915460228919983,
11
+ 0.6765856742858887,
12
+ 0.4867003262042999,
13
+ 1.567619800567627,
14
+ 1.0547168254852295,
15
+ -0.740928053855896,
16
+ 0.0007320955046452582,
17
+ 1.6736525297164917,
18
+ 0.6765856742858887
19
+ ],
20
+ "std": [
21
+ 0.9490994811058044,
22
+ 0.7159450650215149,
23
+ 0.5567411184310913,
24
+ 0.3428436517715454,
25
+ 0.023813901469111443,
26
+ 0.9220959544181824,
27
+ 0.44203680753707886,
28
+ 0.2887645363807678,
29
+ 0.6954315304756165,
30
+ 0.5172013640403748,
31
+ 0.32894495129585266,
32
+ 0.02310887910425663,
33
+ 0.8557336330413818,
34
+ 0.44203680753707886
35
+ ],
36
+ "max": [
37
+ 0.0,
38
+ 2.482893466949463,
39
+ 2.353947639465332,
40
+ 0.0,
41
+ 0.05954868718981743,
42
+ 0.0,
43
+ 1.0,
44
+ 1.1409132480621338,
45
+ 2.443716287612915,
46
+ 2.2799878120422363,
47
+ 0.0,
48
+ 0.15795069932937622,
49
+ 3.4252119064331055,
50
+ 1.0
51
+ ],
52
+ "min": [
53
+ -7.338869571685791,
54
+ 0.0,
55
+ 0.0,
56
+ -1.5001972913742065,
57
+ -0.12379012256860733,
58
+ -3.4617013931274414,
59
+ 0.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ -1.385493516921997,
64
+ -0.048340000212192535,
65
+ 0.0,
66
+ 0.0
67
+ ],
68
+ "q01": [
69
+ -7.335215625762939,
70
+ 0.0,
71
+ 0.0,
72
+ -1.3311991214752197,
73
+ -0.11849832087755204,
74
+ -3.424123525619507,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ -1.2851634454727172,
80
+ -0.0435758301615715,
81
+ 0.0,
82
+ 0.0
83
+ ],
84
+ "q99": [
85
+ 0.0,
86
+ 2.478337526321411,
87
+ 2.1660122013092042,
88
+ 0.0,
89
+ 0.03330111399292946,
90
+ 0.0,
91
+ 1.0,
92
+ 1.1318105459213257,
93
+ 2.3855650424957275,
94
+ 1.9841104364395143,
95
+ 0.0,
96
+ 0.11385425746440887,
97
+ 3.409965982437134,
98
+ 1.0
99
+ ],
100
+ "mask": [
101
+ true,
102
+ true,
103
+ true,
104
+ true,
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ true,
112
+ true,
113
+ true,
114
+ true
115
+ ]
116
+ },
117
+ "proprio": {
118
+ "mean": [
119
+ -0.7144084572792053,
120
+ 1.6121407747268677,
121
+ 1.1227450370788574,
122
+ -0.7565815448760986,
123
+ -0.0046524289064109325,
124
+ -1.8903743028640747,
125
+ 0.687203586101532,
126
+ 0.4801884591579437,
127
+ 1.5479238033294678,
128
+ 1.0385884046554565,
129
+ -0.7280691862106323,
130
+ 0.0008704152423888445,
131
+ 1.651688575744629,
132
+ 0.687203586101532
133
+ ],
134
+ "std": [
135
+ 0.9468903541564941,
136
+ 0.7339856028556824,
137
+ 0.5653066039085388,
138
+ 0.3482204079627991,
139
+ 0.023658812046051025,
140
+ 0.9399275779724121,
141
+ 0.4376404583454132,
142
+ 0.29170694947242737,
143
+ 0.7125725150108337,
144
+ 0.5250204801559448,
145
+ 0.33385151624679565,
146
+ 0.022993318736553192,
147
+ 0.8697940111160278,
148
+ 0.4376404583454132
149
+ ],
150
+ "max": [
151
+ 0.0,
152
+ 2.482893466949463,
153
+ 2.353947639465332,
154
+ 0.0,
155
+ 0.05954868718981743,
156
+ 0.0,
157
+ 1.0,
158
+ 1.1409132480621338,
159
+ 2.443716287612915,
160
+ 2.2799878120422363,
161
+ 0.0,
162
+ 0.15795069932937622,
163
+ 3.4252119064331055,
164
+ 1.0
165
+ ],
166
+ "min": [
167
+ -7.338869571685791,
168
+ 0.0,
169
+ 0.0,
170
+ -1.5001972913742065,
171
+ -0.12379012256860733,
172
+ -3.4617013931274414,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ -1.385493516921997,
178
+ -0.048340000212192535,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ -7.335215625762939,
184
+ 0.0,
185
+ 0.0,
186
+ -1.3265374326705932,
187
+ -0.11849832087755204,
188
+ -3.424123525619507,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ -1.2640411233901978,
194
+ -0.0435758301615715,
195
+ 0.0,
196
+ 0.0
197
+ ],
198
+ "q99": [
199
+ 0.0,
200
+ 2.478337526321411,
201
+ 2.151273918151856,
202
+ 0.0,
203
+ 0.03329093188047409,
204
+ 0.0,
205
+ 1.0,
206
+ 1.1318105459213257,
207
+ 2.3855650424957275,
208
+ 1.9724502563476562,
209
+ 0.0,
210
+ 0.11385425746440887,
211
+ 3.409965982437134,
212
+ 1.0
213
+ ]
214
+ },
215
+ "num_transitions": 4709,
216
+ "num_trajectories": 50
217
+ }
218
+ }
results/simvla_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.001+lora-r32+dropout-0.0--image_aug--simvla_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/predicted_vs_gt_arm1_actions.png ADDED
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<PAD>": 32000
3
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/dataset_statistics.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "grab_roller_aloha_agilex_50": {
3
+ "action": {
4
+ "mean": [
5
+ -0.7234118580818176,
6
+ 1.632694959640503,
7
+ 1.139991283416748,
8
+ -0.7696658968925476,
9
+ -0.004497084766626358,
10
+ -1.915460228919983,
11
+ 0.6765856742858887,
12
+ 0.4867003262042999,
13
+ 1.567619800567627,
14
+ 1.0547168254852295,
15
+ -0.740928053855896,
16
+ 0.0007320955046452582,
17
+ 1.6736525297164917,
18
+ 0.6765856742858887
19
+ ],
20
+ "std": [
21
+ 0.9490994811058044,
22
+ 0.7159450650215149,
23
+ 0.5567411184310913,
24
+ 0.3428436517715454,
25
+ 0.023813901469111443,
26
+ 0.9220959544181824,
27
+ 0.44203680753707886,
28
+ 0.2887645363807678,
29
+ 0.6954315304756165,
30
+ 0.5172013640403748,
31
+ 0.32894495129585266,
32
+ 0.02310887910425663,
33
+ 0.8557336330413818,
34
+ 0.44203680753707886
35
+ ],
36
+ "max": [
37
+ 0.0,
38
+ 2.482893466949463,
39
+ 2.353947639465332,
40
+ 0.0,
41
+ 0.05954868718981743,
42
+ 0.0,
43
+ 1.0,
44
+ 1.1409132480621338,
45
+ 2.443716287612915,
46
+ 2.2799878120422363,
47
+ 0.0,
48
+ 0.15795069932937622,
49
+ 3.4252119064331055,
50
+ 1.0
51
+ ],
52
+ "min": [
53
+ -7.338869571685791,
54
+ 0.0,
55
+ 0.0,
56
+ -1.5001972913742065,
57
+ -0.12379012256860733,
58
+ -3.4617013931274414,
59
+ 0.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ -1.385493516921997,
64
+ -0.048340000212192535,
65
+ 0.0,
66
+ 0.0
67
+ ],
68
+ "q01": [
69
+ -7.335215625762939,
70
+ 0.0,
71
+ 0.0,
72
+ -1.3311991214752197,
73
+ -0.11849832087755204,
74
+ -3.424123525619507,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ -1.2851634454727172,
80
+ -0.0435758301615715,
81
+ 0.0,
82
+ 0.0
83
+ ],
84
+ "q99": [
85
+ 0.0,
86
+ 2.478337526321411,
87
+ 2.1660122013092042,
88
+ 0.0,
89
+ 0.03330111399292946,
90
+ 0.0,
91
+ 1.0,
92
+ 1.1318105459213257,
93
+ 2.3855650424957275,
94
+ 1.9841104364395143,
95
+ 0.0,
96
+ 0.11385425746440887,
97
+ 3.409965982437134,
98
+ 1.0
99
+ ],
100
+ "mask": [
101
+ true,
102
+ true,
103
+ true,
104
+ true,
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ true,
112
+ true,
113
+ true,
114
+ true
115
+ ]
116
+ },
117
+ "proprio": {
118
+ "mean": [
119
+ -0.7144084572792053,
120
+ 1.6121407747268677,
121
+ 1.1227450370788574,
122
+ -0.7565815448760986,
123
+ -0.0046524289064109325,
124
+ -1.8903743028640747,
125
+ 0.687203586101532,
126
+ 0.4801884591579437,
127
+ 1.5479238033294678,
128
+ 1.0385884046554565,
129
+ -0.7280691862106323,
130
+ 0.0008704152423888445,
131
+ 1.651688575744629,
132
+ 0.687203586101532
133
+ ],
134
+ "std": [
135
+ 0.9468903541564941,
136
+ 0.7339856028556824,
137
+ 0.5653066039085388,
138
+ 0.3482204079627991,
139
+ 0.023658812046051025,
140
+ 0.9399275779724121,
141
+ 0.4376404583454132,
142
+ 0.29170694947242737,
143
+ 0.7125725150108337,
144
+ 0.5250204801559448,
145
+ 0.33385151624679565,
146
+ 0.022993318736553192,
147
+ 0.8697940111160278,
148
+ 0.4376404583454132
149
+ ],
150
+ "max": [
151
+ 0.0,
152
+ 2.482893466949463,
153
+ 2.353947639465332,
154
+ 0.0,
155
+ 0.05954868718981743,
156
+ 0.0,
157
+ 1.0,
158
+ 1.1409132480621338,
159
+ 2.443716287612915,
160
+ 2.2799878120422363,
161
+ 0.0,
162
+ 0.15795069932937622,
163
+ 3.4252119064331055,
164
+ 1.0
165
+ ],
166
+ "min": [
167
+ -7.338869571685791,
168
+ 0.0,
169
+ 0.0,
170
+ -1.5001972913742065,
171
+ -0.12379012256860733,
172
+ -3.4617013931274414,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ -1.385493516921997,
178
+ -0.048340000212192535,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ -7.335215625762939,
184
+ 0.0,
185
+ 0.0,
186
+ -1.3265374326705932,
187
+ -0.11849832087755204,
188
+ -3.424123525619507,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ -1.2640411233901978,
194
+ -0.0435758301615715,
195
+ 0.0,
196
+ 0.0
197
+ ],
198
+ "q99": [
199
+ 0.0,
200
+ 2.478337526321411,
201
+ 2.151273918151856,
202
+ 0.0,
203
+ 0.03329093188047409,
204
+ 0.0,
205
+ 1.0,
206
+ 1.1318105459213257,
207
+ 2.3855650424957275,
208
+ 1.9724502563476562,
209
+ 0.0,
210
+ 0.11385425746440887,
211
+ 3.409965982437134,
212
+ 1.0
213
+ ]
214
+ },
215
+ "num_transitions": 4709,
216
+ "num_trajectories": 50
217
+ }
218
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: /inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137/ai_models/openvla/openvla-7b
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.11.1
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/lora_adapter/adapter_config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": {
4
+ "base_model_class": "OpenVLAForActionPrediction",
5
+ "parent_library": "transformers_modules.openvla-7b.modeling_prismatic"
6
+ },
7
+ "base_model_name_or_path": "/inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137/ai_models/openvla/openvla-7b",
8
+ "bias": "none",
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": "gaussian",
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_dropout": 0.0,
18
+ "megatron_config": null,
19
+ "megatron_core": "megatron.core",
20
+ "modules_to_save": null,
21
+ "peft_type": "LORA",
22
+ "r": 32,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "fc2",
27
+ "q_proj",
28
+ "up_proj",
29
+ "qkv",
30
+ "proj",
31
+ "o_proj",
32
+ "gate_proj",
33
+ "q",
34
+ "kv",
35
+ "fc3",
36
+ "v_proj",
37
+ "k_proj",
38
+ "fc1",
39
+ "down_proj",
40
+ "lm_head"
41
+ ],
42
+ "task_type": null,
43
+ "use_dora": false,
44
+ "use_rslora": false
45
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/preprocessor_config.json ADDED
@@ -0,0 +1,114 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoImageProcessor": "processing_prismatic.PrismaticImageProcessor",
4
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
5
+ },
6
+ "image_processor_type": "PrismaticImageProcessor",
7
+ "image_resize_strategy": "resize-naive",
8
+ "input_sizes": [
9
+ [
10
+ 3,
11
+ 224,
12
+ 224
13
+ ],
14
+ [
15
+ 3,
16
+ 224,
17
+ 224
18
+ ]
19
+ ],
20
+ "interpolations": [
21
+ "bicubic",
22
+ "bicubic"
23
+ ],
24
+ "means": [
25
+ [
26
+ 0.485,
27
+ 0.456,
28
+ 0.406
29
+ ],
30
+ [
31
+ 0.5,
32
+ 0.5,
33
+ 0.5
34
+ ]
35
+ ],
36
+ "processor_class": "PrismaticProcessor",
37
+ "stds": [
38
+ [
39
+ 0.229,
40
+ 0.224,
41
+ 0.225
42
+ ],
43
+ [
44
+ 0.5,
45
+ 0.5,
46
+ 0.5
47
+ ]
48
+ ],
49
+ "tvf_crop_params": [
50
+ {
51
+ "output_size": [
52
+ 224,
53
+ 224
54
+ ]
55
+ },
56
+ {
57
+ "output_size": [
58
+ 224,
59
+ 224
60
+ ]
61
+ }
62
+ ],
63
+ "tvf_do_letterbox": false,
64
+ "tvf_letterbox_fill": null,
65
+ "tvf_normalize_params": [
66
+ {
67
+ "inplace": false,
68
+ "mean": [
69
+ 0.484375,
70
+ 0.455078125,
71
+ 0.40625
72
+ ],
73
+ "std": [
74
+ 0.228515625,
75
+ 0.2236328125,
76
+ 0.224609375
77
+ ]
78
+ },
79
+ {
80
+ "inplace": false,
81
+ "mean": [
82
+ 0.5,
83
+ 0.5,
84
+ 0.5
85
+ ],
86
+ "std": [
87
+ 0.5,
88
+ 0.5,
89
+ 0.5
90
+ ]
91
+ }
92
+ ],
93
+ "tvf_resize_params": [
94
+ {
95
+ "antialias": true,
96
+ "interpolation": 3,
97
+ "max_size": null,
98
+ "size": [
99
+ 224,
100
+ 224
101
+ ]
102
+ },
103
+ {
104
+ "antialias": true,
105
+ "interpolation": 3,
106
+ "max_size": null,
107
+ "size": [
108
+ 224,
109
+ 224
110
+ ]
111
+ }
112
+ ],
113
+ "use_fused_vision_backbone": true
114
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processing_prismatic.py ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ processing_prismatic.py
3
+
4
+ HuggingFace-style preprocessor definitions for Prismatic VLMs, inheriting from `ProcessorMixin`. Default configuration
5
+ specifies `siglip-224px+7b`.
6
+ """
7
+
8
+ from typing import Any, ClassVar, List, Optional, Tuple, Union
9
+
10
+ import timm.data
11
+ import torch
12
+ import torchvision.transforms.functional as TVF
13
+ from PIL import Image
14
+ from torchvision.transforms import CenterCrop, Compose, Normalize, Resize, ToTensor
15
+ from transformers import PreTrainedTokenizerBase
16
+ from transformers.image_processing_utils import BatchFeature, ImageProcessingMixin
17
+ from transformers.processing_utils import ProcessorMixin
18
+ from transformers.tokenization_utils import PaddingStrategy, PreTokenizedInput, TextInput, TruncationStrategy
19
+ from transformers.utils import TensorType
20
+
21
+
22
+ # === Image Processing ===
23
+ def letterbox_pad_transform(image: Image.Image, padding_fill_value: Tuple[int, int, int]) -> Image.Image:
24
+ """Given a PIL.Image, pad to square by adding a symmetric border around the height/width."""
25
+ (w, h), max_wh = image.size, max(image.size)
26
+ horizontal_pad, vertical_pad = int((max_wh - w) / 2), int((max_wh - h) / 2)
27
+ padding = (horizontal_pad, vertical_pad, horizontal_pad, vertical_pad)
28
+
29
+ return TVF.pad(image, padding, fill=padding_fill_value, padding_mode="constant")
30
+
31
+
32
+ class PrismaticImageProcessor(ImageProcessingMixin):
33
+ model_input_names: ClassVar[List[str]] = ["pixel_values"]
34
+
35
+ def __init__(
36
+ self,
37
+ use_fused_vision_backbone: bool = False,
38
+ image_resize_strategy: str = "letterbox",
39
+ input_sizes: Optional[List[Tuple[int, int, int]]] = None,
40
+ interpolations: Optional[List[str]] = None,
41
+ means: Optional[List[Tuple[float, float, float]]] = None,
42
+ stds: Optional[List[Tuple[float, float, float]]] = None,
43
+ **kwargs: str,
44
+ ) -> None:
45
+ """
46
+ Initialize a PrismaticImageProcessor as a wrapper around a torchvision transform; this transform will be
47
+ created by TIMM, and edited to follow our custom `image_resize_strategy` logic.
48
+
49
+ @param use_fused_vision_backbone: Boolean indicating single or fused (dual) vision backbone
50
+ @param image_resize_strategy: Prismatic image resize strategy in < resize-naive | resize-crop | letterbox >
51
+ @param input_size: [TIMM :: `data_cfg`] Input image size as tuple (channels, width, height)
52
+ @param interpolation: [TIMM :: `data_cfg`] Interpolation as string (default: "bicubic")
53
+ @param mean: [TIMM :: `data_cfg`] Normalization mean as float tuple (or two-tuple if `fused_backbone`)
54
+ @param std: [TIMM :: `data_cfg`] Normalization std as float tuple (or two-tuple if `fused_backbone`)
55
+ """
56
+ self.use_fused_vision_backbone = use_fused_vision_backbone
57
+ self.image_resize_strategy = image_resize_strategy
58
+
59
+ # Handle `None` default values
60
+ input_sizes = [(3, 224, 224)] if input_sizes is None else input_sizes
61
+ means = [(0.5, 0.5, 0.5)] if means is None else means
62
+ stds = [(0.5, 0.5, 0.5)] if stds is None else stds
63
+
64
+ # TIMM `data_cfg` Parameters
65
+ self.input_sizes, self.interpolations, self.means, self.stds = input_sizes, interpolations, means, stds
66
+
67
+ # Grab torchvision transforms via TIMM =>> need to parse for specific "functional" transform values!
68
+ self.tvf_resize_params, self.tvf_crop_params, self.tvf_normalize_params = [], [], []
69
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = False, None
70
+
71
+ for idx in range(len(input_sizes)):
72
+ transform = timm.data.create_transform(
73
+ input_size=self.input_sizes[idx],
74
+ interpolation=self.interpolations[idx],
75
+ mean=self.means[idx],
76
+ std=self.stds[idx],
77
+ crop_pct=1.0, # Set to 1.0 to ignore cropping (initial Resize sets `input_size`)
78
+ crop_mode="center", # Default crop mode -- no-op when `crop_pct == 1.0`
79
+ is_training=False, # No image augmentations when loading the transform!
80
+ )
81
+
82
+ # [Validation] Ensure appropriate transform structure, expected sizes
83
+ if not (
84
+ isinstance(transform, Compose)
85
+ and (len(transform.transforms) == 4)
86
+ and isinstance(transform.transforms[0], Resize)
87
+ and isinstance(transform.transforms[1], CenterCrop)
88
+ and isinstance(transform.transforms[2], ToTensor)
89
+ and isinstance(transform.transforms[3], Normalize)
90
+ and (transform.transforms[0].size == self.input_sizes[idx][-1])
91
+ and (transform.transforms[1].size == self.input_sizes[idx][-2:])
92
+ ):
93
+ raise ValueError(f"Unexpected TIMM image transformation structure/sizes: `{transform}`")
94
+
95
+ # HF Image Processors *must* be JSON-serializable; as such, cannot have torchvision. as an attribute.
96
+ # => Instead, we're going to parse the transform and call "torchvision.transforms.functional" (`tvf`)
97
+ resize_t, crop_t, norm_t = transform.transforms[0], transform.transforms[1], transform.transforms[3]
98
+ self.tvf_resize_params.append(
99
+ {
100
+ "size": resize_t.size,
101
+ "interpolation": TVF.pil_modes_mapping[resize_t.interpolation],
102
+ "max_size": None,
103
+ "antialias": True,
104
+ }
105
+ )
106
+ self.tvf_crop_params.append({"output_size": crop_t.size})
107
+ self.tvf_normalize_params.append(
108
+ {
109
+ "mean": norm_t.mean.float().numpy().tolist(),
110
+ "std": norm_t.std.float().numpy().tolist(),
111
+ "inplace": False,
112
+ }
113
+ )
114
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = False, None
115
+
116
+ # Handle Prismatic `image_resize_strategy`
117
+ if self.image_resize_strategy == "resize-naive":
118
+ self.tvf_resize_params[idx]["size"] = (resize_t.size, resize_t.size)
119
+ elif self.image_resize_strategy == "letterbox":
120
+ self.tvf_do_letterbox, self.tvf_letterbox_fill = True, tuple([int(x * 255) for x in self.means[idx]])
121
+ elif self.image_resize_strategy == "resize-crop":
122
+ pass
123
+ else:
124
+ raise ValueError(f"Image resize strategy `{self.image_resize_strategy}` is not supported!")
125
+
126
+ # Dispatch **kwargs to super()
127
+ super().__init__(**kwargs)
128
+
129
+ def apply_transform(self, img: Image.Image) -> torch.Tensor:
130
+ """Apply `functional` variant of TIMM's Transform = Compose([Resize -> CenterCrop -> ToTensor -> Normalize])"""
131
+ if self.tvf_do_letterbox:
132
+ img = letterbox_pad_transform(img, self.tvf_letterbox_fill)
133
+
134
+ # [Contract] Fused Backbones expect "channel-stacked" inputs; we'll unpack on the model side!
135
+ imgs_t = []
136
+ for idx in range(len(self.input_sizes)):
137
+ img_idx = TVF.resize(img, **self.tvf_resize_params[idx])
138
+ img_idx = TVF.center_crop(img_idx, **self.tvf_crop_params[idx])
139
+ img_idx_t = TVF.to_tensor(img_idx)
140
+ img_idx_t = TVF.normalize(img_idx_t, **self.tvf_normalize_params[idx])
141
+ imgs_t.append(img_idx_t)
142
+
143
+ # [Contract] `imgs_t` is a list of Tensors of shape [3, input_size, input_size]; stack along dim = 0
144
+ img_t = torch.vstack(imgs_t)
145
+
146
+ return img_t
147
+
148
+ def preprocess(
149
+ self,
150
+ images: Union[Image.Image, List[Image.Image]],
151
+ return_tensors: Optional[Union[str, TensorType]] = None,
152
+ **_: str,
153
+ ) -> BatchFeature:
154
+ """
155
+ Preprocess an image (or batch of images); note that unlike the `transformers :: BaseImageProcessor` we
156
+ explicitly only handle PIL.Image.Image instances for simplicity.
157
+
158
+ @param images: A (batch of) PIL.Image.Image instance(s) to preprocess.
159
+ @param return_tensors: BatchFeature default Tensor format (e.g., "pt" for torch); if None, returns np.ndarray
160
+
161
+ @return: Instance of `transformers :: BatchFeature` with a single key "pixel_values"
162
+ """
163
+ if not isinstance(images, list):
164
+ images = [images]
165
+
166
+ # Apply `self.img_transform` to each image (will return list of torch.Tensors); stack into "batched" Tensor
167
+ pixel_values = torch.stack([self.apply_transform(img.convert("RGB")) for img in images])
168
+
169
+ # Return BatchFeature =>> note that for compatibility, constructor expects Dict[str, np.ndarray], so we convert
170
+ return BatchFeature(data={"pixel_values": pixel_values.float().numpy()}, tensor_type=return_tensors)
171
+
172
+ def __call__(self, images: Union[Image.Image, List[Image.Image]], **kwargs) -> BatchFeature:
173
+ return self.preprocess(images, **kwargs)
174
+
175
+
176
+ # === PrismaticProcessor =>> Wraps both ImageProcessor and Tokenizer ===
177
+ # =>> https://github.com/huggingface/transformers/blob/main/src/transformers/models/llava/processing_llava.py
178
+ class PrismaticProcessor(ProcessorMixin):
179
+ attributes: ClassVar[List[str]] = ["image_processor", "tokenizer"]
180
+ image_processor_class: str = "AutoImageProcessor"
181
+ tokenizer_class: str = "AutoTokenizer"
182
+
183
+ def __init__(
184
+ self,
185
+ image_processor: Optional[ImageProcessingMixin] = None,
186
+ tokenizer: Optional[PreTrainedTokenizerBase] = None,
187
+ ) -> None:
188
+ super().__init__(image_processor, tokenizer)
189
+
190
+ def __call__(
191
+ self,
192
+ text: Union[TextInput, PreTokenizedInput, List[TextInput], List[PreTokenizedInput]],
193
+ images: Union[Image.Image, List[Image.Image]],
194
+ padding: Union[bool, str, PaddingStrategy] = False,
195
+ truncation: Optional[Union[bool, str, TruncationStrategy]] = None,
196
+ max_length: Optional[int] = None,
197
+ return_tensors: Optional[Union[str, TensorType]] = TensorType.PYTORCH,
198
+ ) -> BatchFeature:
199
+ """
200
+ Preprocess a given (batch) of text/images for a Prismatic VLM; forwards text to the underlying LLM's tokenizer,
201
+ forwards images to PrismaticImageProcessor.
202
+
203
+ @param text: The (batch) of text to encode; must be a string or list of strings.
204
+ @param images: A (batch of) PIL.Image.Image instance(s) to preprocess.
205
+ @param padding: Sequence padding strategy (if multiple specified) in < True = "longest" | "max_length" | False >
206
+ @param truncation: Truncation strategy for the output sequences; requires `max_length` to be specified
207
+ @param max_length: Maximum length (in tokens) to truncate
208
+ @param return_tensors: Type of return tensors (usually "pt" or TensorType.PYTORCH)
209
+
210
+ @return: BatchFeature with keys for `input_ids`, `attention_mask` and `pixel_values`.
211
+ """
212
+ pixel_values = self.image_processor(images, return_tensors=return_tensors)["pixel_values"]
213
+ text_inputs = self.tokenizer(
214
+ text, return_tensors=return_tensors, padding=padding, truncation=truncation, max_length=max_length
215
+ )
216
+
217
+ # [Validate] Need same number of images and text inputs!
218
+ if pixel_values.shape[0] != text_inputs.input_ids.shape[0]:
219
+ raise ValueError("Batch is malformed; expected same number of images and text inputs!")
220
+
221
+ return BatchFeature(data={**text_inputs, "pixel_values": pixel_values})
222
+
223
+ # === Tokenizer Dispatch Utilities =>> check `PreTrainedTokenizerBase` for documentation ===
224
+ def batch_decode(
225
+ self,
226
+ sequences: Union[List[int], List[List[int]], torch.Tensor, Any], # `Any` = np.ndarray | tf.Tensor
227
+ skip_special_tokens: bool = False,
228
+ clean_up_tokenization_spaces: Optional[bool] = None,
229
+ **kwargs: str,
230
+ ) -> List[str]:
231
+ return self.tokenizer.batch_decode(
232
+ sequences=sequences,
233
+ skip_special_tokens=skip_special_tokens,
234
+ clean_up_tokenization_spaces=clean_up_tokenization_spaces,
235
+ **kwargs,
236
+ )
237
+
238
+ def decode(
239
+ self,
240
+ token_ids: Union[int, List[int], torch.Tensor, Any], # `Any` = np.ndarray | tf.Tensor
241
+ skip_special_tokens: bool = False,
242
+ clean_up_tokenization_spaces: Optional[bool] = None,
243
+ **kwargs: str,
244
+ ) -> str:
245
+ return self.tokenizer.decode(
246
+ token_ids=token_ids,
247
+ skip_special_tokens=skip_special_tokens,
248
+ clean_up_tokenization_spaces=clean_up_tokenization_spaces,
249
+ **kwargs,
250
+ )
251
+
252
+ @property
253
+ def model_input_names(self) -> List[str]:
254
+ tokenizer_input_names = self.tokenizer.model_input_names
255
+ image_processor_input_names = self.image_processor.model_input_names
256
+
257
+ return list(dict.fromkeys(tokenizer_input_names + image_processor_input_names))
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/processor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
4
+ },
5
+ "processor_class": "PrismaticProcessor"
6
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<PAD>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000--2000_chkpt/tokenizer_config.json ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "32000": {
30
+ "content": "<PAD>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ }
37
+ },
38
+ "auto_map": {
39
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
40
+ },
41
+ "bos_token": "<s>",
42
+ "clean_up_tokenization_spaces": false,
43
+ "eos_token": "</s>",
44
+ "legacy": false,
45
+ "model_max_length": 2048,
46
+ "pad_token": "<PAD>",
47
+ "padding_side": "right",
48
+ "processor_class": "PrismaticProcessor",
49
+ "sp_model_kwargs": {},
50
+ "tokenizer_class": "LlamaTokenizer",
51
+ "unk_token": "<unk>",
52
+ "use_default_system_prompt": false
53
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/dataset_statistics.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "grab_roller_aloha_agilex_50": {
3
+ "action": {
4
+ "mean": [
5
+ -0.7234118580818176,
6
+ 1.632694959640503,
7
+ 1.139991283416748,
8
+ -0.7696658968925476,
9
+ -0.004497084766626358,
10
+ -1.915460228919983,
11
+ 0.6765856742858887,
12
+ 0.4867003262042999,
13
+ 1.567619800567627,
14
+ 1.0547168254852295,
15
+ -0.740928053855896,
16
+ 0.0007320955046452582,
17
+ 1.6736525297164917,
18
+ 0.6765856742858887
19
+ ],
20
+ "std": [
21
+ 0.9490994811058044,
22
+ 0.7159450650215149,
23
+ 0.5567411184310913,
24
+ 0.3428436517715454,
25
+ 0.023813901469111443,
26
+ 0.9220959544181824,
27
+ 0.44203680753707886,
28
+ 0.2887645363807678,
29
+ 0.6954315304756165,
30
+ 0.5172013640403748,
31
+ 0.32894495129585266,
32
+ 0.02310887910425663,
33
+ 0.8557336330413818,
34
+ 0.44203680753707886
35
+ ],
36
+ "max": [
37
+ 0.0,
38
+ 2.482893466949463,
39
+ 2.353947639465332,
40
+ 0.0,
41
+ 0.05954868718981743,
42
+ 0.0,
43
+ 1.0,
44
+ 1.1409132480621338,
45
+ 2.443716287612915,
46
+ 2.2799878120422363,
47
+ 0.0,
48
+ 0.15795069932937622,
49
+ 3.4252119064331055,
50
+ 1.0
51
+ ],
52
+ "min": [
53
+ -7.338869571685791,
54
+ 0.0,
55
+ 0.0,
56
+ -1.5001972913742065,
57
+ -0.12379012256860733,
58
+ -3.4617013931274414,
59
+ 0.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ -1.385493516921997,
64
+ -0.048340000212192535,
65
+ 0.0,
66
+ 0.0
67
+ ],
68
+ "q01": [
69
+ -7.335215625762939,
70
+ 0.0,
71
+ 0.0,
72
+ -1.3311991214752197,
73
+ -0.11849832087755204,
74
+ -3.424123525619507,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ -1.2851634454727172,
80
+ -0.0435758301615715,
81
+ 0.0,
82
+ 0.0
83
+ ],
84
+ "q99": [
85
+ 0.0,
86
+ 2.478337526321411,
87
+ 2.1660122013092042,
88
+ 0.0,
89
+ 0.03330111399292946,
90
+ 0.0,
91
+ 1.0,
92
+ 1.1318105459213257,
93
+ 2.3855650424957275,
94
+ 1.9841104364395143,
95
+ 0.0,
96
+ 0.11385425746440887,
97
+ 3.409965982437134,
98
+ 1.0
99
+ ],
100
+ "mask": [
101
+ true,
102
+ true,
103
+ true,
104
+ true,
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ true,
112
+ true,
113
+ true,
114
+ true
115
+ ]
116
+ },
117
+ "proprio": {
118
+ "mean": [
119
+ -0.7144084572792053,
120
+ 1.6121407747268677,
121
+ 1.1227450370788574,
122
+ -0.7565815448760986,
123
+ -0.0046524289064109325,
124
+ -1.8903743028640747,
125
+ 0.687203586101532,
126
+ 0.4801884591579437,
127
+ 1.5479238033294678,
128
+ 1.0385884046554565,
129
+ -0.7280691862106323,
130
+ 0.0008704152423888445,
131
+ 1.651688575744629,
132
+ 0.687203586101532
133
+ ],
134
+ "std": [
135
+ 0.9468903541564941,
136
+ 0.7339856028556824,
137
+ 0.5653066039085388,
138
+ 0.3482204079627991,
139
+ 0.023658812046051025,
140
+ 0.9399275779724121,
141
+ 0.4376404583454132,
142
+ 0.29170694947242737,
143
+ 0.7125725150108337,
144
+ 0.5250204801559448,
145
+ 0.33385151624679565,
146
+ 0.022993318736553192,
147
+ 0.8697940111160278,
148
+ 0.4376404583454132
149
+ ],
150
+ "max": [
151
+ 0.0,
152
+ 2.482893466949463,
153
+ 2.353947639465332,
154
+ 0.0,
155
+ 0.05954868718981743,
156
+ 0.0,
157
+ 1.0,
158
+ 1.1409132480621338,
159
+ 2.443716287612915,
160
+ 2.2799878120422363,
161
+ 0.0,
162
+ 0.15795069932937622,
163
+ 3.4252119064331055,
164
+ 1.0
165
+ ],
166
+ "min": [
167
+ -7.338869571685791,
168
+ 0.0,
169
+ 0.0,
170
+ -1.5001972913742065,
171
+ -0.12379012256860733,
172
+ -3.4617013931274414,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ -1.385493516921997,
178
+ -0.048340000212192535,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ -7.335215625762939,
184
+ 0.0,
185
+ 0.0,
186
+ -1.3265374326705932,
187
+ -0.11849832087755204,
188
+ -3.424123525619507,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ -1.2640411233901978,
194
+ -0.0435758301615715,
195
+ 0.0,
196
+ 0.0
197
+ ],
198
+ "q99": [
199
+ 0.0,
200
+ 2.478337526321411,
201
+ 2.151273918151856,
202
+ 0.0,
203
+ 0.03329093188047409,
204
+ 0.0,
205
+ 1.0,
206
+ 1.1318105459213257,
207
+ 2.3855650424957275,
208
+ 1.9724502563476562,
209
+ 0.0,
210
+ 0.11385425746440887,
211
+ 3.409965982437134,
212
+ 1.0
213
+ ]
214
+ },
215
+ "num_transitions": 4709,
216
+ "num_trajectories": 50
217
+ }
218
+ }
results/simvla_newbase_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_newbase_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/parameter_states.txt ADDED
The diff for this file is too large to render. See raw diff
 
results/simvla_prop_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_prop_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_2-M2000-F2000-D1000/dataset_statistics.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "grab_roller_aloha_agilex_50": {
3
+ "action": {
4
+ "mean": [
5
+ -0.7234118580818176,
6
+ 1.632694959640503,
7
+ 1.139991283416748,
8
+ -0.7696658968925476,
9
+ -0.004497084766626358,
10
+ -1.915460228919983,
11
+ 0.6765856742858887,
12
+ 0.4867003262042999,
13
+ 1.567619800567627,
14
+ 1.0547168254852295,
15
+ -0.740928053855896,
16
+ 0.0007320955046452582,
17
+ 1.6736525297164917,
18
+ 0.6765856742858887
19
+ ],
20
+ "std": [
21
+ 0.9490994811058044,
22
+ 0.7159450650215149,
23
+ 0.5567411184310913,
24
+ 0.3428436517715454,
25
+ 0.023813901469111443,
26
+ 0.9220959544181824,
27
+ 0.44203680753707886,
28
+ 0.2887645363807678,
29
+ 0.6954315304756165,
30
+ 0.5172013640403748,
31
+ 0.32894495129585266,
32
+ 0.02310887910425663,
33
+ 0.8557336330413818,
34
+ 0.44203680753707886
35
+ ],
36
+ "max": [
37
+ 0.0,
38
+ 2.482893466949463,
39
+ 2.353947639465332,
40
+ 0.0,
41
+ 0.05954868718981743,
42
+ 0.0,
43
+ 1.0,
44
+ 1.1409132480621338,
45
+ 2.443716287612915,
46
+ 2.2799878120422363,
47
+ 0.0,
48
+ 0.15795069932937622,
49
+ 3.4252119064331055,
50
+ 1.0
51
+ ],
52
+ "min": [
53
+ -7.338869571685791,
54
+ 0.0,
55
+ 0.0,
56
+ -1.5001972913742065,
57
+ -0.12379012256860733,
58
+ -3.4617013931274414,
59
+ 0.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ -1.385493516921997,
64
+ -0.048340000212192535,
65
+ 0.0,
66
+ 0.0
67
+ ],
68
+ "q01": [
69
+ -7.335215625762939,
70
+ 0.0,
71
+ 0.0,
72
+ -1.3311991214752197,
73
+ -0.11849832087755204,
74
+ -3.424123525619507,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ -1.2851634454727172,
80
+ -0.0435758301615715,
81
+ 0.0,
82
+ 0.0
83
+ ],
84
+ "q99": [
85
+ 0.0,
86
+ 2.478337526321411,
87
+ 2.1660122013092042,
88
+ 0.0,
89
+ 0.03330111399292946,
90
+ 0.0,
91
+ 1.0,
92
+ 1.1318105459213257,
93
+ 2.3855650424957275,
94
+ 1.9841104364395143,
95
+ 0.0,
96
+ 0.11385425746440887,
97
+ 3.409965982437134,
98
+ 1.0
99
+ ],
100
+ "mask": [
101
+ true,
102
+ true,
103
+ true,
104
+ true,
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ true,
112
+ true,
113
+ true,
114
+ true
115
+ ]
116
+ },
117
+ "proprio": {
118
+ "mean": [
119
+ -0.7144084572792053,
120
+ 1.6121407747268677,
121
+ 1.1227450370788574,
122
+ -0.7565815448760986,
123
+ -0.0046524289064109325,
124
+ -1.8903743028640747,
125
+ 0.687203586101532,
126
+ 0.4801884591579437,
127
+ 1.5479238033294678,
128
+ 1.0385884046554565,
129
+ -0.7280691862106323,
130
+ 0.0008704152423888445,
131
+ 1.651688575744629,
132
+ 0.687203586101532
133
+ ],
134
+ "std": [
135
+ 0.9468903541564941,
136
+ 0.7339856028556824,
137
+ 0.5653066039085388,
138
+ 0.3482204079627991,
139
+ 0.023658812046051025,
140
+ 0.9399275779724121,
141
+ 0.4376404583454132,
142
+ 0.29170694947242737,
143
+ 0.7125725150108337,
144
+ 0.5250204801559448,
145
+ 0.33385151624679565,
146
+ 0.022993318736553192,
147
+ 0.8697940111160278,
148
+ 0.4376404583454132
149
+ ],
150
+ "max": [
151
+ 0.0,
152
+ 2.482893466949463,
153
+ 2.353947639465332,
154
+ 0.0,
155
+ 0.05954868718981743,
156
+ 0.0,
157
+ 1.0,
158
+ 1.1409132480621338,
159
+ 2.443716287612915,
160
+ 2.2799878120422363,
161
+ 0.0,
162
+ 0.15795069932937622,
163
+ 3.4252119064331055,
164
+ 1.0
165
+ ],
166
+ "min": [
167
+ -7.338869571685791,
168
+ 0.0,
169
+ 0.0,
170
+ -1.5001972913742065,
171
+ -0.12379012256860733,
172
+ -3.4617013931274414,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ -1.385493516921997,
178
+ -0.048340000212192535,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ -7.335215625762939,
184
+ 0.0,
185
+ 0.0,
186
+ -1.3265374326705932,
187
+ -0.11849832087755204,
188
+ -3.424123525619507,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ -1.2640411233901978,
194
+ -0.0435758301615715,
195
+ 0.0,
196
+ 0.0
197
+ ],
198
+ "q99": [
199
+ 0.0,
200
+ 2.478337526321411,
201
+ 2.151273918151856,
202
+ 0.0,
203
+ 0.03329093188047409,
204
+ 0.0,
205
+ 1.0,
206
+ 1.1318105459213257,
207
+ 2.3855650424957275,
208
+ 1.9724502563476562,
209
+ 0.0,
210
+ 0.11385425746440887,
211
+ 3.409965982437134,
212
+ 1.0
213
+ ]
214
+ },
215
+ "num_transitions": 4709,
216
+ "num_trajectories": 50
217
+ }
218
+ }
results/simvla_reg16_lib_16/openvla-7b+libero_4_task_suites_no_noops+b16+lr-0.0005+lora-r32+dropout-0.0--image_aug--simvla_reg16_lib_16_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_decoder_num_blocks_4-M40000-F40000-D20000--40000_chkpt/dataset_statistics.json ADDED
@@ -0,0 +1,526 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "libero_spatial_no_noops": {
3
+ "action": {
4
+ "mean": [
5
+ 0.15312479436397552,
6
+ 0.13707277178764343,
7
+ -0.15526802837848663,
8
+ -0.005176450591534376,
9
+ -0.01120874285697937,
10
+ -0.020194264128804207,
11
+ 0.4578818082809448
12
+ ],
13
+ "std": [
14
+ 0.41272708773612976,
15
+ 0.34724321961402893,
16
+ 0.50869220495224,
17
+ 0.037266165018081665,
18
+ 0.07244449853897095,
19
+ 0.05762382969260216,
20
+ 0.49827873706817627
21
+ ],
22
+ "max": [
23
+ 0.9375,
24
+ 0.9375,
25
+ 0.9375,
26
+ 0.1971428543329239,
27
+ 0.33642858266830444,
28
+ 0.375,
29
+ 1.0
30
+ ],
31
+ "min": [
32
+ -0.9375,
33
+ -0.9375,
34
+ -0.9375,
35
+ -0.1875,
36
+ -0.3675000071525574,
37
+ -0.36000001430511475,
38
+ 0.0
39
+ ],
40
+ "q01": [
41
+ -0.7454732114076613,
42
+ -0.6616071462631226,
43
+ -0.9375,
44
+ -0.1071428582072258,
45
+ -0.20678570866584778,
46
+ -0.1842857152223587,
47
+ 0.0
48
+ ],
49
+ "q99": [
50
+ 0.9375,
51
+ 0.8758928775787354,
52
+ 0.9321428537368774,
53
+ 0.1039285734295845,
54
+ 0.17678570747375488,
55
+ 0.14571428298950195,
56
+ 1.0
57
+ ],
58
+ "mask": [
59
+ true,
60
+ true,
61
+ true,
62
+ true,
63
+ true,
64
+ true,
65
+ false
66
+ ]
67
+ },
68
+ "proprio": {
69
+ "mean": [
70
+ -0.024462558329105377,
71
+ 0.106529600918293,
72
+ 1.0580483675003052,
73
+ 3.0628468990325928,
74
+ -0.10464039444923401,
75
+ 0.08307311683893204,
76
+ 0.01995457336306572,
77
+ -0.020162804052233696
78
+ ],
79
+ "std": [
80
+ 0.1101478561758995,
81
+ 0.13784688711166382,
82
+ 0.1044282391667366,
83
+ 0.10451053828001022,
84
+ 0.4112098217010498,
85
+ 0.2176690548658371,
86
+ 0.017260896041989326,
87
+ 0.0171116404235363
88
+ ],
89
+ "max": [
90
+ 0.1759040206670761,
91
+ 0.3904820382595062,
92
+ 1.3290715217590332,
93
+ 3.4566118717193604,
94
+ 1.2268599271774292,
95
+ 1.0429412126541138,
96
+ 0.041053611785173416,
97
+ 0.000775813648942858
98
+ ],
99
+ "min": [
100
+ -0.3095473051071167,
101
+ -0.29250794649124146,
102
+ 0.9095591306686401,
103
+ 2.497488260269165,
104
+ -1.8006486892700195,
105
+ -0.7207611203193665,
106
+ -0.0004703797458205372,
107
+ -0.041536275297403336
108
+ ],
109
+ "q01": [
110
+ -0.2727657300233841,
111
+ -0.23721413239836692,
112
+ 0.9160063165426254,
113
+ 2.77949666261673,
114
+ -1.3187511622905732,
115
+ -0.41989982962608335,
116
+ 0.001503719249740243,
117
+ -0.03989770736545324
118
+ ],
119
+ "q99": [
120
+ 0.13529365032911292,
121
+ 0.3629165390133857,
122
+ 1.2862326657772063,
123
+ 3.2829698753356933,
124
+ 0.9332760351896285,
125
+ 0.6325724506378171,
126
+ 0.039933966137468815,
127
+ -0.001671919699292631
128
+ ]
129
+ },
130
+ "num_transitions": 52970,
131
+ "num_trajectories": 432
132
+ },
133
+ "libero_object_no_noops": {
134
+ "action": {
135
+ "mean": [
136
+ 0.07096529006958008,
137
+ 0.13498851656913757,
138
+ -0.04601382836699486,
139
+ 0.00123520044144243,
140
+ 0.006998839322477579,
141
+ -0.015027612447738647,
142
+ 0.46428999304771423
143
+ ],
144
+ "std": [
145
+ 0.2681235373020172,
146
+ 0.43846824765205383,
147
+ 0.4474974274635315,
148
+ 0.024446550756692886,
149
+ 0.049355510622262955,
150
+ 0.042107198387384415,
151
+ 0.49879148602485657
152
+ ],
153
+ "max": [
154
+ 0.9375,
155
+ 0.8919642567634583,
156
+ 0.9375,
157
+ 0.17678570747375488,
158
+ 0.35035714507102966,
159
+ 0.1810714304447174,
160
+ 1.0
161
+ ],
162
+ "min": [
163
+ -0.8839285969734192,
164
+ -0.9375,
165
+ -0.9375,
166
+ -0.15000000596046448,
167
+ -0.29035714268684387,
168
+ -0.32892856001853943,
169
+ 0.0
170
+ ],
171
+ "q01": [
172
+ -0.5383928418159485,
173
+ -0.8758928775787354,
174
+ -0.9375,
175
+ -0.06964285671710968,
176
+ -0.11678571254014969,
177
+ -0.15964286029338837,
178
+ 0.0
179
+ ],
180
+ "q99": [
181
+ 0.8464285731315613,
182
+ 0.84375,
183
+ 0.9375,
184
+ 0.08142857253551483,
185
+ 0.14892856776714325,
186
+ 0.0867857113480568,
187
+ 1.0
188
+ ],
189
+ "mask": [
190
+ true,
191
+ true,
192
+ true,
193
+ true,
194
+ true,
195
+ true,
196
+ false
197
+ ]
198
+ },
199
+ "proprio": {
200
+ "mean": [
201
+ -0.02999030612409115,
202
+ -0.007947085425257683,
203
+ 0.20293472707271576,
204
+ 3.1086409091949463,
205
+ -0.21404768526554108,
206
+ -0.11307074874639511,
207
+ 0.029380427673459053,
208
+ -0.030556727200746536
209
+ ],
210
+ "std": [
211
+ 0.06694897264242172,
212
+ 0.17608462274074554,
213
+ 0.07807064801454544,
214
+ 0.0868484303355217,
215
+ 0.33540457487106323,
216
+ 0.20728276669979095,
217
+ 0.00956575945019722,
218
+ 0.009197483770549297
219
+ ],
220
+ "max": [
221
+ 0.14580604434013367,
222
+ 0.33216384053230286,
223
+ 0.3857804834842682,
224
+ 3.4003844261169434,
225
+ 0.7954911589622498,
226
+ 0.6642207503318787,
227
+ 0.04104341194033623,
228
+ -0.00018117300351150334
229
+ ],
230
+ "min": [
231
+ -0.1765444278717041,
232
+ -0.29457300901412964,
233
+ 0.008128180168569088,
234
+ 2.2890501022338867,
235
+ -1.883241891860962,
236
+ -1.0600427389144897,
237
+ 0.0006495157140307128,
238
+ -0.041782498359680176
239
+ ],
240
+ "q01": [
241
+ -0.14911890715360643,
242
+ -0.25978428691625594,
243
+ 0.009925739830359817,
244
+ 2.7545341420173646,
245
+ -1.3996034812927245,
246
+ -0.6867720144987106,
247
+ 0.008197814421728254,
248
+ -0.04015838988125324
249
+ ],
250
+ "q99": [
251
+ 0.09063626825809479,
252
+ 0.29066365867853167,
253
+ 0.3370887073874472,
254
+ 3.2611824750900267,
255
+ 0.32092821151018125,
256
+ 0.4037663781642913,
257
+ 0.039891827926039694,
258
+ -0.009106044843792932
259
+ ]
260
+ },
261
+ "num_transitions": 66984,
262
+ "num_trajectories": 454
263
+ },
264
+ "libero_goal_no_noops": {
265
+ "action": {
266
+ "mean": [
267
+ 0.04721052572131157,
268
+ 0.028835246339440346,
269
+ -0.1485840231180191,
270
+ -0.0025010062381625175,
271
+ 0.026408178731799126,
272
+ 0.027379808947443962,
273
+ 0.6299911737442017
274
+ ],
275
+ "std": [
276
+ 0.3968801498413086,
277
+ 0.3473387360572815,
278
+ 0.49239858984947205,
279
+ 0.055331431329250336,
280
+ 0.07844757288694382,
281
+ 0.10008802264928818,
282
+ 0.48270025849342346
283
+ ],
284
+ "max": [
285
+ 0.9375,
286
+ 0.9375,
287
+ 0.9375,
288
+ 0.3557142913341522,
289
+ 0.375,
290
+ 0.375,
291
+ 1.0
292
+ ],
293
+ "min": [
294
+ -0.9375,
295
+ -0.9375,
296
+ -0.9375,
297
+ -0.2582142949104309,
298
+ -0.375,
299
+ -0.2871428430080414,
300
+ 0.0
301
+ ],
302
+ "q01": [
303
+ -0.8785714507102966,
304
+ -0.7553571462631226,
305
+ -0.9375,
306
+ -0.1510714292526245,
307
+ -0.1639285683631897,
308
+ -0.13777500048279764,
309
+ 0.0
310
+ ],
311
+ "q99": [
312
+ 0.9375,
313
+ 0.9107142686843872,
314
+ 0.9375,
315
+ 0.20357142388820648,
316
+ 0.26357144117355347,
317
+ 0.375,
318
+ 1.0
319
+ ],
320
+ "mask": [
321
+ true,
322
+ true,
323
+ true,
324
+ true,
325
+ true,
326
+ true,
327
+ false
328
+ ]
329
+ },
330
+ "proprio": {
331
+ "mean": [
332
+ -0.09923473745584488,
333
+ 0.013597904704511166,
334
+ 1.0694637298583984,
335
+ 2.82898211479187,
336
+ 0.30799180269241333,
337
+ -0.274286687374115,
338
+ 0.028092455118894577,
339
+ -0.027339335530996323
340
+ ],
341
+ "std": [
342
+ 0.11653962731361389,
343
+ 0.11478105187416077,
344
+ 0.10487838834524155,
345
+ 0.5570293664932251,
346
+ 0.7221656441688538,
347
+ 0.36479514837265015,
348
+ 0.01507475133985281,
349
+ 0.014990941621363163
350
+ ],
351
+ "max": [
352
+ 0.13579000532627106,
353
+ 0.33316105604171753,
354
+ 1.3660105466842651,
355
+ 3.473310708999634,
356
+ 2.6688623428344727,
357
+ 0.8255361318588257,
358
+ 0.04233968257904053,
359
+ 0.0010111660230904818
360
+ ],
361
+ "min": [
362
+ -0.46141114830970764,
363
+ -0.30129560828208923,
364
+ 0.9083037972450256,
365
+ 0.35277295112609863,
366
+ -1.4858465194702148,
367
+ -1.5227035284042358,
368
+ -0.0013586411951109767,
369
+ -0.042040832340717316
370
+ ],
371
+ "q01": [
372
+ -0.42401049643754957,
373
+ -0.27338370531797407,
374
+ 0.911226047873497,
375
+ 1.3085840785503386,
376
+ -0.691297555565834,
377
+ -1.130668159723282,
378
+ 0.0016738151130266487,
379
+ -0.040336399003863335
380
+ ],
381
+ "q99": [
382
+ 0.08990443304181095,
383
+ 0.26473945528268716,
384
+ 1.2910678112506866,
385
+ 3.2425890421867365,
386
+ 2.3376442337036116,
387
+ 0.4659483411908149,
388
+ 0.040610933862626555,
389
+ -0.0015016929572448147
390
+ ]
391
+ },
392
+ "num_transitions": 52042,
393
+ "num_trajectories": 428
394
+ },
395
+ "libero_10_no_noops": {
396
+ "action": {
397
+ "mean": [
398
+ 0.01820324920117855,
399
+ 0.05858374014496803,
400
+ -0.05592384561896324,
401
+ 0.004626928828656673,
402
+ 0.00289608770981431,
403
+ -0.007673131301999092,
404
+ 0.5457824468612671
405
+ ],
406
+ "std": [
407
+ 0.2825464606285095,
408
+ 0.35904666781425476,
409
+ 0.3673802614212036,
410
+ 0.03770702704787254,
411
+ 0.05429719388484955,
412
+ 0.08725254982709885,
413
+ 0.49815231561660767
414
+ ],
415
+ "max": [
416
+ 0.9375,
417
+ 0.9375,
418
+ 0.9375,
419
+ 0.30000001192092896,
420
+ 0.29357144236564636,
421
+ 0.375,
422
+ 1.0
423
+ ],
424
+ "min": [
425
+ -0.9375,
426
+ -0.9375,
427
+ -0.9375,
428
+ -0.23642857372760773,
429
+ -0.3053571283817291,
430
+ -0.3675000071525574,
431
+ 0.0
432
+ ],
433
+ "q01": [
434
+ -0.6348214149475098,
435
+ -0.7741071581840515,
436
+ -0.7633928656578064,
437
+ -0.09749999642372131,
438
+ -0.14819999992847435,
439
+ -0.2742857038974762,
440
+ 0.0
441
+ ],
442
+ "q99": [
443
+ 0.7714285850524902,
444
+ 0.8464285731315613,
445
+ 0.9375,
446
+ 0.13928571343421936,
447
+ 0.15964286029338837,
448
+ 0.3246428668498993,
449
+ 1.0
450
+ ],
451
+ "mask": [
452
+ true,
453
+ true,
454
+ true,
455
+ true,
456
+ true,
457
+ true,
458
+ false
459
+ ]
460
+ },
461
+ "proprio": {
462
+ "mean": [
463
+ -0.04190658777952194,
464
+ 0.03539430722594261,
465
+ 0.8257141709327698,
466
+ 2.908308267593384,
467
+ -0.5562185049057007,
468
+ -0.16649018228054047,
469
+ 0.028316624462604523,
470
+ -0.028561657294631004
471
+ ],
472
+ "std": [
473
+ 0.10743364691734314,
474
+ 0.14424669742584229,
475
+ 0.2572328448295593,
476
+ 0.3441362977027893,
477
+ 1.234421730041504,
478
+ 0.3579835891723633,
479
+ 0.013308707624673843,
480
+ 0.013174631632864475
481
+ ],
482
+ "max": [
483
+ 0.21031762659549713,
484
+ 0.39128610491752625,
485
+ 1.3332009315490723,
486
+ 3.6714255809783936,
487
+ 3.560650587081909,
488
+ 1.386339545249939,
489
+ 0.04160946607589722,
490
+ 0.0013633022317662835
491
+ ],
492
+ "min": [
493
+ -0.4828203022480011,
494
+ -0.3255046010017395,
495
+ 0.445506751537323,
496
+ 1.1321442127227783,
497
+ -3.641430377960205,
498
+ -1.842738389968872,
499
+ -0.0010040868073701859,
500
+ -0.04111652821302414
501
+ ],
502
+ "q01": [
503
+ -0.3899900782108307,
504
+ -0.2838300323486328,
505
+ 0.44795057058334353,
506
+ 1.8810229921340942,
507
+ -2.886677579879761,
508
+ -1.1599004411697387,
509
+ 0.002066459748893976,
510
+ -0.04001387819647789
511
+ ],
512
+ "q99": [
513
+ 0.1530261474847791,
514
+ 0.32915401458740223,
515
+ 1.2546923208236693,
516
+ 3.303542451858519,
517
+ 2.7496529006957933,
518
+ 0.6893712210655194,
519
+ 0.040048558115959164,
520
+ -0.0017598449345678235
521
+ ]
522
+ },
523
+ "num_transitions": 101469,
524
+ "num_trajectories": 379
525
+ }
526
+ }
results/simvla_reg4_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg4_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register4-M2000-F2000-D1000/dataset_statistics.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "grab_roller_aloha_agilex_50": {
3
+ "action": {
4
+ "mean": [
5
+ -0.7234118580818176,
6
+ 1.632694959640503,
7
+ 1.139991283416748,
8
+ -0.7696658968925476,
9
+ -0.004497084766626358,
10
+ -1.915460228919983,
11
+ 0.6765856742858887,
12
+ 0.4867003262042999,
13
+ 1.567619800567627,
14
+ 1.0547168254852295,
15
+ -0.740928053855896,
16
+ 0.0007320955046452582,
17
+ 1.6736525297164917,
18
+ 0.6765856742858887
19
+ ],
20
+ "std": [
21
+ 0.9490994811058044,
22
+ 0.7159450650215149,
23
+ 0.5567411184310913,
24
+ 0.3428436517715454,
25
+ 0.023813901469111443,
26
+ 0.9220959544181824,
27
+ 0.44203680753707886,
28
+ 0.2887645363807678,
29
+ 0.6954315304756165,
30
+ 0.5172013640403748,
31
+ 0.32894495129585266,
32
+ 0.02310887910425663,
33
+ 0.8557336330413818,
34
+ 0.44203680753707886
35
+ ],
36
+ "max": [
37
+ 0.0,
38
+ 2.482893466949463,
39
+ 2.353947639465332,
40
+ 0.0,
41
+ 0.05954868718981743,
42
+ 0.0,
43
+ 1.0,
44
+ 1.1409132480621338,
45
+ 2.443716287612915,
46
+ 2.2799878120422363,
47
+ 0.0,
48
+ 0.15795069932937622,
49
+ 3.4252119064331055,
50
+ 1.0
51
+ ],
52
+ "min": [
53
+ -7.338869571685791,
54
+ 0.0,
55
+ 0.0,
56
+ -1.5001972913742065,
57
+ -0.12379012256860733,
58
+ -3.4617013931274414,
59
+ 0.0,
60
+ 0.0,
61
+ 0.0,
62
+ 0.0,
63
+ -1.385493516921997,
64
+ -0.048340000212192535,
65
+ 0.0,
66
+ 0.0
67
+ ],
68
+ "q01": [
69
+ -7.335215625762939,
70
+ 0.0,
71
+ 0.0,
72
+ -1.3311991214752197,
73
+ -0.11849832087755204,
74
+ -3.424123525619507,
75
+ 0.0,
76
+ 0.0,
77
+ 0.0,
78
+ 0.0,
79
+ -1.2851634454727172,
80
+ -0.0435758301615715,
81
+ 0.0,
82
+ 0.0
83
+ ],
84
+ "q99": [
85
+ 0.0,
86
+ 2.478337526321411,
87
+ 2.1660122013092042,
88
+ 0.0,
89
+ 0.03330111399292946,
90
+ 0.0,
91
+ 1.0,
92
+ 1.1318105459213257,
93
+ 2.3855650424957275,
94
+ 1.9841104364395143,
95
+ 0.0,
96
+ 0.11385425746440887,
97
+ 3.409965982437134,
98
+ 1.0
99
+ ],
100
+ "mask": [
101
+ true,
102
+ true,
103
+ true,
104
+ true,
105
+ true,
106
+ true,
107
+ true,
108
+ true,
109
+ true,
110
+ true,
111
+ true,
112
+ true,
113
+ true,
114
+ true
115
+ ]
116
+ },
117
+ "proprio": {
118
+ "mean": [
119
+ -0.7144084572792053,
120
+ 1.6121407747268677,
121
+ 1.1227450370788574,
122
+ -0.7565815448760986,
123
+ -0.0046524289064109325,
124
+ -1.8903743028640747,
125
+ 0.687203586101532,
126
+ 0.4801884591579437,
127
+ 1.5479238033294678,
128
+ 1.0385884046554565,
129
+ -0.7280691862106323,
130
+ 0.0008704152423888445,
131
+ 1.651688575744629,
132
+ 0.687203586101532
133
+ ],
134
+ "std": [
135
+ 0.9468903541564941,
136
+ 0.7339856028556824,
137
+ 0.5653066039085388,
138
+ 0.3482204079627991,
139
+ 0.023658812046051025,
140
+ 0.9399275779724121,
141
+ 0.4376404583454132,
142
+ 0.29170694947242737,
143
+ 0.7125725150108337,
144
+ 0.5250204801559448,
145
+ 0.33385151624679565,
146
+ 0.022993318736553192,
147
+ 0.8697940111160278,
148
+ 0.4376404583454132
149
+ ],
150
+ "max": [
151
+ 0.0,
152
+ 2.482893466949463,
153
+ 2.353947639465332,
154
+ 0.0,
155
+ 0.05954868718981743,
156
+ 0.0,
157
+ 1.0,
158
+ 1.1409132480621338,
159
+ 2.443716287612915,
160
+ 2.2799878120422363,
161
+ 0.0,
162
+ 0.15795069932937622,
163
+ 3.4252119064331055,
164
+ 1.0
165
+ ],
166
+ "min": [
167
+ -7.338869571685791,
168
+ 0.0,
169
+ 0.0,
170
+ -1.5001972913742065,
171
+ -0.12379012256860733,
172
+ -3.4617013931274414,
173
+ 0.0,
174
+ 0.0,
175
+ 0.0,
176
+ 0.0,
177
+ -1.385493516921997,
178
+ -0.048340000212192535,
179
+ 0.0,
180
+ 0.0
181
+ ],
182
+ "q01": [
183
+ -7.335215625762939,
184
+ 0.0,
185
+ 0.0,
186
+ -1.3265374326705932,
187
+ -0.11849832087755204,
188
+ -3.424123525619507,
189
+ 0.0,
190
+ 0.0,
191
+ 0.0,
192
+ 0.0,
193
+ -1.2640411233901978,
194
+ -0.0435758301615715,
195
+ 0.0,
196
+ 0.0
197
+ ],
198
+ "q99": [
199
+ 0.0,
200
+ 2.478337526321411,
201
+ 2.151273918151856,
202
+ 0.0,
203
+ 0.03329093188047409,
204
+ 0.0,
205
+ 1.0,
206
+ 1.1318105459213257,
207
+ 2.3855650424957275,
208
+ 1.9724502563476562,
209
+ 0.0,
210
+ 0.11385425746440887,
211
+ 3.409965982437134,
212
+ 1.0
213
+ ]
214
+ },
215
+ "num_transitions": 4709,
216
+ "num_trajectories": 50
217
+ }
218
+ }
results/simvla_reg4_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg4_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register4-M2000-F2000-D1000/parameter_states.txt ADDED
The diff for this file is too large to render. See raw diff
 
results/simvla_reg_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register16-M3000-F3000-D2000--3000_chkpt/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<PAD>": 32000
3
+ }
results/simvla_reg_25/openvla-7b+grab_roller_aloha_agilex_50+b4+lr-0.0001+lora-r32+dropout-0.0--image_aug--simvla_reg_25_inner1_proj_type_gelu_linear_ffn_type_gelu_mlp_ffn_register16-M3000-F3000-D2000--3000_chkpt/processor_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "auto_map": {
3
+ "AutoProcessor": "processing_prismatic.PrismaticProcessor"
4
+ },
5
+ "processor_class": "PrismaticProcessor"
6
+ }
run_scripts/ffn_q2a/aloha/aloha_robotwin2_ffn_10 copy.sh ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #========== settings ==========#
2
+ PROJECT_PATH=simvla_twin2
3
+ ROOT_PATH=/inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137
4
+ #========== !NOTE! ==========#
5
+ RUN_MODE=simvla_10
6
+ use_predict_future_prop=False
7
+ batch_size=4
8
+ use_action_ts_head=True
9
+ use_one_embed=True
10
+ use_multi_scaling=False
11
+ mlp_type=ffn
12
+ decoder_num_blocks=4
13
+ robot_platform=10_al
14
+ proj_type=gelu_linear
15
+ ffn_type=gelu
16
+ expand_inner_ratio=1
17
+ linear_drop_ratio=0.0
18
+ multi_queries_num=2
19
+ multi_query_norm_type=layernorm
20
+ action_norm=layernorm
21
+ use_fredf=False
22
+ MODE=${RUN_MODE}_inner${expand_inner_ratio}_proj_type_${proj_type}_ffn_type_${ffn_type}_mlp_${mlp_type}_decoder_num_blocks_${decoder_num_blocks}
23
+ #========== !NOTE! ==========#
24
+ use_l1_regression=True
25
+ num_images_in_input=3
26
+ wandb_entity=chenghaha
27
+ wandb_project=robotwin
28
+ wandb_log_freq=1
29
+ use_proprio=True
30
+ use_diffusion=False
31
+ use_film=True
32
+ num_steps_before_decay=20000
33
+ save_freq=10000
34
+ max_steps=30000
35
+ vla_path=$ROOT_PATH/ai_models/openvla/openvla-7b
36
+ data_root_dir=$ROOT_PATH/datasets/TianxingChen/RoboTwin2.0/tfds
37
+ dataset_name=aloha_agilex_robotwin2_benchmark
38
+ run_root_dir=$ROOT_PATH/vla_projects/$PROJECT_PATH/results/$RUN_MODE
39
+ #========== get run_id ==========#
40
+ note_parts=("${MODE}")
41
+
42
+ # if [ "$use_l1_regression" = "True" ]; then
43
+ # note_parts+=("L1_regression")
44
+ # fi
45
+
46
+ # if [ "$num_images_in_input" == 1 ]; then
47
+ # note_parts+=("3rd_person_img")
48
+ # else
49
+ # note_parts+=("3rd_person_img_and_wrist")
50
+ # fi
51
+
52
+ # if [ "$use_l1_regression" = "True" ]; then
53
+ # note_parts+=("proprio_state")
54
+ # fi
55
+
56
+ # if [ "$use_film" = "True" ]; then
57
+ # note_parts+=("Film")
58
+ # fi
59
+ note_parts+=("M$max_steps-F$save_freq-D$num_steps_before_decay")
60
+ run_id_note_value=$(IFS='--'; echo "${note_parts[*]}")
61
+
62
+ #========== enter environment ==========#
63
+ conda activate openvla-oft
64
+ cd $ROOT_PATH/vla_projects/$PROJECT_PATH
65
+ export PYTHONPATH=$ROOT_PATH/vla_projects/$PROJECT_PATH
66
+
67
+ #========== run ==========#
68
+ WANDB_CONSOLE=off WANDB_MODE=offline torchrun --standalone --nnodes 1 --nproc-per-node 4 vla-scripts/finetune.py \
69
+ --vla_path "$vla_path" \
70
+ --data_root_dir "$data_root_dir" \
71
+ --dataset_name "$dataset_name" \
72
+ --run_root_dir "$run_root_dir" \
73
+ --use_l1_regression "$use_l1_regression" \
74
+ --use_diffusion "$use_diffusion" \
75
+ --use_film "$use_film" \
76
+ --num_images_in_input "$num_images_in_input" \
77
+ --use_proprio "$use_proprio" \
78
+ --batch_size "$batch_size" \
79
+ --learning_rate 5e-5 \
80
+ --num_steps_before_decay "$num_steps_before_decay" \
81
+ --max_steps "$max_steps" \
82
+ --save_freq "$save_freq" \
83
+ --save_latest_checkpoint_only False \
84
+ --image_aug True \
85
+ --lora_rank 32 \
86
+ --wandb_entity "$wandb_entity" \
87
+ --wandb_project "$wandb_project" \
88
+ --wandb_log_freq "$wandb_log_freq" \
89
+ --run_id_note "$run_id_note_value" \
90
+ --use_predict_future_prop "$use_predict_future_prop" \
91
+ --use_action_ts_head "$use_action_ts_head" \
92
+ --use_one_embed "$use_one_embed" \
93
+ --use_multi_scaling "$use_multi_scaling" \
94
+ --mlp_type "$mlp_type" \
95
+ --decoder_num_blocks "$decoder_num_blocks" \
96
+ --robot_platform "$robot_platform" \
97
+ --proj_type "$proj_type" \
98
+ --ffn_type "$ffn_type" \
99
+ --expand_inner_ratio "$expand_inner_ratio" \
100
+ --linear_drop_ratio "$linear_drop_ratio" \
101
+ --multi_query_norm_type "$multi_query_norm_type" \
102
+ --multi_queries_num "$multi_queries_num" \
103
+ --action_norm "$action_norm" \
104
+ --use_fredf "$use_fredf"
run_scripts/ffn_q2a/aloha/aloha_robotwin2_ffn_10.sh ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #========== settings ==========#
2
+ PROJECT_PATH=simvla_twin2
3
+ ROOT_PATH=/inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137
4
+ #========== !NOTE! ==========#
5
+ RUN_MODE=simvla_10
6
+ use_predict_future_prop=False
7
+ batch_size=4
8
+ use_action_ts_head=True
9
+ use_one_embed=True
10
+ use_multi_scaling=False
11
+ mlp_type=ffn
12
+ decoder_num_blocks=4
13
+ robot_platform=10_al
14
+ proj_type=gelu_linear
15
+ ffn_type=gelu
16
+ expand_inner_ratio=1
17
+ linear_drop_ratio=0.0
18
+ multi_queries_num=2
19
+ multi_query_norm_type=layernorm
20
+ action_norm=layernorm
21
+ use_fredf=False
22
+ MODE=${RUN_MODE}_inner${expand_inner_ratio}_proj_type_${proj_type}_ffn_type_${ffn_type}_mlp_${mlp_type}_decoder_num_blocks_${decoder_num_blocks}
23
+ #========== !NOTE! ==========#
24
+ use_l1_regression=True
25
+ num_images_in_input=3
26
+ wandb_entity=chenghaha
27
+ wandb_project=robotwin
28
+ wandb_log_freq=1
29
+ use_proprio=True
30
+ use_diffusion=False
31
+ use_film=True
32
+ num_steps_before_decay=20000
33
+ save_freq=10000
34
+ max_steps=20000
35
+ vla_path=$ROOT_PATH/ai_models/openvla/openvla-7b
36
+ data_root_dir=$ROOT_PATH/datasets/TianxingChen/RoboTwin2.0/tfds
37
+ dataset_name=aloha_agilex_robotwin2_benchmark
38
+ run_root_dir=$ROOT_PATH/vla_projects/$PROJECT_PATH/results/$RUN_MODE
39
+ #========== get run_id ==========#
40
+ note_parts=("${MODE}")
41
+
42
+ # if [ "$use_l1_regression" = "True" ]; then
43
+ # note_parts+=("L1_regression")
44
+ # fi
45
+
46
+ # if [ "$num_images_in_input" == 1 ]; then
47
+ # note_parts+=("3rd_person_img")
48
+ # else
49
+ # note_parts+=("3rd_person_img_and_wrist")
50
+ # fi
51
+
52
+ # if [ "$use_l1_regression" = "True" ]; then
53
+ # note_parts+=("proprio_state")
54
+ # fi
55
+
56
+ # if [ "$use_film" = "True" ]; then
57
+ # note_parts+=("Film")
58
+ # fi
59
+ note_parts+=("M$max_steps-F$save_freq-D$num_steps_before_decay")
60
+ run_id_note_value=$(IFS='--'; echo "${note_parts[*]}")
61
+
62
+ #========== enter environment ==========#
63
+ conda activate openvla-oft
64
+ cd $ROOT_PATH/vla_projects/$PROJECT_PATH
65
+ export PYTHONPATH=$ROOT_PATH/vla_projects/$PROJECT_PATH
66
+
67
+ #========== run ==========#
68
+ WANDB_CONSOLE=off WANDB_MODE=offline torchrun --standalone --nnodes 1 --nproc-per-node 4 vla-scripts/finetune.py \
69
+ --vla_path "$vla_path" \
70
+ --data_root_dir "$data_root_dir" \
71
+ --dataset_name "$dataset_name" \
72
+ --run_root_dir "$run_root_dir" \
73
+ --use_l1_regression "$use_l1_regression" \
74
+ --use_diffusion "$use_diffusion" \
75
+ --use_film "$use_film" \
76
+ --num_images_in_input "$num_images_in_input" \
77
+ --use_proprio "$use_proprio" \
78
+ --batch_size "$batch_size" \
79
+ --learning_rate 5e-5 \
80
+ --num_steps_before_decay "$num_steps_before_decay" \
81
+ --max_steps "$max_steps" \
82
+ --save_freq "$save_freq" \
83
+ --save_latest_checkpoint_only False \
84
+ --image_aug True \
85
+ --lora_rank 32 \
86
+ --wandb_entity "$wandb_entity" \
87
+ --wandb_project "$wandb_project" \
88
+ --wandb_log_freq "$wandb_log_freq" \
89
+ --run_id_note "$run_id_note_value" \
90
+ --use_predict_future_prop "$use_predict_future_prop" \
91
+ --use_action_ts_head "$use_action_ts_head" \
92
+ --use_one_embed "$use_one_embed" \
93
+ --use_multi_scaling "$use_multi_scaling" \
94
+ --mlp_type "$mlp_type" \
95
+ --decoder_num_blocks "$decoder_num_blocks" \
96
+ --robot_platform "$robot_platform" \
97
+ --proj_type "$proj_type" \
98
+ --ffn_type "$ffn_type" \
99
+ --expand_inner_ratio "$expand_inner_ratio" \
100
+ --linear_drop_ratio "$linear_drop_ratio" \
101
+ --multi_query_norm_type "$multi_query_norm_type" \
102
+ --multi_queries_num "$multi_queries_num" \
103
+ --action_norm "$action_norm" \
104
+ --use_fredf "$use_fredf"
run_scripts/ffn_q2a/aloha/aloha_robotwin2_ffn_25_registers16.sh ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #========== settings ==========#
2
+ PROJECT_PATH=simvla_twin2
3
+ ROOT_PATH=/inspire/hdd/ws-f4d69b29-e0a5-44e6-bd92-acf4de9990f0/public-project/chengdongzhou-240108390137
4
+ #========== !NOTE! ==========#
5
+ RUN_MODE=simvla_allreg16_25
6
+ use_predict_future_prop=False
7
+ batch_size=4
8
+ use_action_ts_head=True
9
+ use_one_embed=True
10
+ use_multi_scaling=False
11
+ mlp_type=ffn
12
+ decoder_num_blocks=4
13
+ robot_platform=aloha
14
+ proj_type=gelu_linear
15
+ ffn_type=gelu
16
+ expand_inner_ratio=1
17
+ linear_drop_ratio=0.0
18
+ multi_queries_num=25
19
+ registers_num=16
20
+ use_registers=True
21
+ multi_query_norm_type=layernorm
22
+ action_norm=layernorm
23
+ MODE=${RUN_MODE}_inner${expand_inner_ratio}_proj_type_${proj_type}_ffn_type_${ffn_type}_mlp_${mlp_type}_register${registers_num}
24
+ #========== !NOTE! ==========#
25
+ use_l1_regression=True
26
+ num_images_in_input=3
27
+ wandb_entity=chenghaha
28
+ wandb_project=robotwin
29
+ wandb_log_freq=1
30
+ use_proprio=True
31
+ use_diffusion=False
32
+ use_film=True
33
+ num_steps_before_decay=10000
34
+ save_freq=10000
35
+ max_steps=20000
36
+ vla_path=$ROOT_PATH/ai_models/openvla/openvla-7b
37
+ data_root_dir=$ROOT_PATH/datasets/TianxingChen/RoboTwin2.0/tfds
38
+ dataset_name=aloha_agilex_robotwin2_benchmark
39
+ run_root_dir=$ROOT_PATH/vla_projects/$PROJECT_PATH/results/$RUN_MODE
40
+ #========== get run_id ==========#
41
+ note_parts=("${MODE}")
42
+
43
+ # if [ "$use_l1_regression" = "True" ]; then
44
+ # note_parts+=("L1_regression")
45
+ # fi
46
+
47
+ # if [ "$num_images_in_input" == 1 ]; then
48
+ # note_parts+=("3rd_person_img")
49
+ # else
50
+ # note_parts+=("3rd_person_img_and_wrist")
51
+ # fi
52
+
53
+ # if [ "$use_l1_regression" = "True" ]; then
54
+ # note_parts+=("proprio_state")
55
+ # fi
56
+
57
+ # if [ "$use_film" = "True" ]; then
58
+ # note_parts+=("Film")
59
+ # fi
60
+ note_parts+=("M$max_steps-F$save_freq-D$num_steps_before_decay")
61
+ run_id_note_value=$(IFS='--'; echo "${note_parts[*]}")
62
+
63
+ #========== enter environment ==========#
64
+ conda activate openvla-oft
65
+ cd $ROOT_PATH/vla_projects/$PROJECT_PATH
66
+ export PYTHONPATH=$ROOT_PATH/vla_projects/$PROJECT_PATH
67
+
68
+ #========== run ==========#
69
+ WANDB_CONSOLE=off WANDB_MODE=offline torchrun --standalone --nnodes 1 --nproc-per-node 4 vla-scripts/finetune_registers.py \
70
+ --vla_path "$vla_path" \
71
+ --data_root_dir "$data_root_dir" \
72
+ --dataset_name "$dataset_name" \
73
+ --run_root_dir "$run_root_dir" \
74
+ --use_l1_regression "$use_l1_regression" \
75
+ --use_diffusion "$use_diffusion" \
76
+ --use_film "$use_film" \
77
+ --num_images_in_input "$num_images_in_input" \
78
+ --use_proprio "$use_proprio" \
79
+ --batch_size "$batch_size" \
80
+ --learning_rate 1e-4 \
81
+ --num_steps_before_decay "$num_steps_before_decay" \
82
+ --max_steps "$max_steps" \
83
+ --save_freq "$save_freq" \
84
+ --save_latest_checkpoint_only False \
85
+ --image_aug True \
86
+ --lora_rank 32 \
87
+ --wandb_entity "$wandb_entity" \
88
+ --wandb_project "$wandb_project" \
89
+ --wandb_log_freq "$wandb_log_freq" \
90
+ --run_id_note "$run_id_note_value" \
91
+ --use_predict_future_prop "$use_predict_future_prop" \
92
+ --use_action_ts_head "$use_action_ts_head" \
93
+ --use_one_embed "$use_one_embed" \
94
+ --use_multi_scaling "$use_multi_scaling" \
95
+ --mlp_type "$mlp_type" \
96
+ --decoder_num_blocks "$decoder_num_blocks" \
97
+ --robot_platform "$robot_platform" \
98
+ --proj_type "$proj_type" \
99
+ --ffn_type "$ffn_type" \
100
+ --expand_inner_ratio "$expand_inner_ratio" \
101
+ --linear_drop_ratio "$linear_drop_ratio" \
102
+ --multi_query_norm_type "$multi_query_norm_type" \
103
+ --multi_queries_num "$multi_queries_num" \
104
+ --action_norm "$action_norm" \
105
+ --registers_num "$registers_num" \
106
+ --use_registers "$use_registers"
run_scripts/ffn_q2a/aloha/run_test.sh CHANGED
@@ -1,2 +1,2 @@
1
- bash run_scripts/ffn_q2a/aloha/test_action_aloha_robotwin2_ffn_50_cosine.sh
2
- bash run_scripts/ffn_q2a/aloha/test_aloha_robotwin2_ffn_50.sh
 
1
+ bash run_scripts/ffn_q2a/libero/libero_register.sh
2
+ bash run_scripts/ffn_q2a/aloha/aloha_robotwin2_ffn_25_registers16.sh
run_scripts/ffn_q2a/aloha/test_aloha_robotwin2_ffn_10.sh CHANGED
@@ -15,7 +15,7 @@ proj_type=onlynorm
15
  ffn_type=relu
16
  expand_inner_ratio=1
17
  linear_drop_ratio=0.0
18
- multi_queries_num=2
19
  multi_query_norm_type=layernorm
20
  action_norm=layernorm
21
  use_patch_wise_loss=True
@@ -29,9 +29,9 @@ wandb_log_freq=1
29
  use_proprio=True
30
  use_diffusion=False
31
  use_film=True
32
- num_steps_before_decay=1000
33
- save_freq=2000
34
- max_steps=2000
35
  vla_path=$ROOT_PATH/ai_models/openvla/openvla-7b
36
  data_root_dir=$ROOT_PATH/datasets/TianxingChen/RoboTwin2.0/tfds
37
  dataset_name=grab_roller_aloha_agilex_50
@@ -101,4 +101,4 @@ WANDB_CONSOLE=off WANDB_MODE=offline torchrun --standalone --nnodes 1 --nproc-pe
101
  --multi_query_norm_type "$multi_query_norm_type" \
102
  --multi_queries_num "$multi_queries_num" \
103
  --action_norm "$action_norm" \
104
- --use_patch_wise_loss "$use_patch_wise_loss"
 
15
  ffn_type=relu
16
  expand_inner_ratio=1
17
  linear_drop_ratio=0.0
18
+ multi_queries_num=1
19
  multi_query_norm_type=layernorm
20
  action_norm=layernorm
21
  use_patch_wise_loss=True
 
29
  use_proprio=True
30
  use_diffusion=False
31
  use_film=True
32
+ num_steps_before_decay=2000
33
+ save_freq=3000
34
+ max_steps=3000
35
  vla_path=$ROOT_PATH/ai_models/openvla/openvla-7b
36
  data_root_dir=$ROOT_PATH/datasets/TianxingChen/RoboTwin2.0/tfds
37
  dataset_name=grab_roller_aloha_agilex_50
 
101
  --multi_query_norm_type "$multi_query_norm_type" \
102
  --multi_queries_num "$multi_queries_num" \
103
  --action_norm "$action_norm" \
104
+ --use_patch_wise_loss "$use_patch_wise_loss"