File size: 6,052 Bytes
323c6c4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
  "_comment_action_decoder": "========== Action Decoder (ResNet-based Direct Reconstruction) ==========",
  "_comment_action_encoder": "========== Action Encoder ==========",
  "_comment_backbone": "========== Backbone Configuration (Vision Model Only) ==========",
  "_comment_basic": "========== Basic Parameters ==========",
  "_comment_debug": "========== Debug Configuration ==========",
  "_comment_fusion": "========== Visual-Action Fusion ==========",
  "_comment_lpips": "DINO mode: LPIPS disabled, using cosine similarity for vision reconstruction",
  "_comment_modality": "========== Modality Presence Configuration ==========",
  "_comment_trainable": "========== Default Trainable Flags ==========",
  "_comment_training": "========== Training Configuration (DINO Mode) ==========",
  "_comment_vision_branch": "========== Vision Branch Encoder ==========",
  "_comment_vision_decoder": "========== Vision Decoder (DINO Hidden State Mode) ==========",
  "_comment_visualization": "========== Visualization Configuration (Disabled for DINO) ==========",
  "_comment_vq": "========== Vector Quantizer ==========",
  "action_decoder_cfg": {
    "_comment_decoder_type": "Decoder type: 'resnet' (direct reconstruction) or 'flow_matching' (diffusion)",
    "_comment_embodiment": "Embodiment configuration",
    "_comment_m_former": "M-Former configuration (symmetric to encoder)",
    "_comment_resnet": "ResNet decoder configuration (symmetric to encoder)",
    "action_dim": 16,
    "action_horizon": 16,
    "conv_kernel_size": 5,
    "decoder_type": "resnet",
    "dropout": 0.0,
    "hidden_size": 1024,
    "m_former_cfg": {
      "attention_probs_dropout_prob": 0.0,
      "hidden_dropout_prob": 0.0,
      "hidden_size": 1024,
      "input_hidden_size": 1024,
      "intermediate_size": 3072,
      "num_attention_heads": 16,
      "num_hidden_layers": 8,
      "query_num": 8
    },
    "max_num_embodiments": 30,
    "num_conv_layers": 3,
    "query_num": 8,
    "upsample_stride": 2,
    "use_dilation": false
  },
  "action_dim": 16,
  "action_encoder_cfg": {
    "action_dim": 16,
    "action_horizon": 16,
    "conv_encoder_type": "resnet",
    "conv_kernel_size": 5,
    "conv_stride": 2,
    "downsample_target_len": null,
    "dropout": 0.0,
    "hidden_size": 1024,
    "m_former_cfg": {
      "attention_probs_dropout_prob": 0.0,
      "hidden_dropout_prob": 0.0,
      "hidden_size": 1024,
      "input_hidden_size": 1024,
      "intermediate_size": 3072,
      "num_attention_heads": 16,
      "num_hidden_layers": 4,
      "query_num": 8
    },
    "max_num_embodiments": 30,
    "num_conv_layers": 3,
    "query_num": 8,
    "state_dim": 16,
    "use_dilation": true
  },
  "action_horizon": 16,
  "architectures": [
    "GR00T_Tokenizer"
  ],
  "attn_implementation": null,
  "backbone_cfg": {
    "_comment_eagle_path": "HF hub id or local path for Qwen2.5-VL (passed to AutoModel/AutoProcessor).",
    "_comment_layer_index": "Layer index: -1=last layer, -2=second-to-last, 0-N=specific layer",
    "dinov2_layer_index": -2,
    "dinov2_path": "/inspire/qb-ilm/project/qproject-fundationmodel/public/zzt/models/dinov2-large",
    "eagle_path": "/inspire/qb-ilm/project/qproject-fundationmodel/public/zzt/models/Qwen/Qwen2.5-VL-3B-Instruct",
    "load_bf16": false,
    "project_to_dim": null,
    "reproject_vision": false,
    "select_layer": 12,
    "tune_bridge_embedding": false,
    "tune_llm": false,
    "tune_visual": false,
    "use_flash_attention": true,
    "use_torch_compile": false,
    "vision_model_type": "dinov2"
  },
  "bridge_projector_mid_dim": 1024,
  "compute_dtype": "bfloat16",
  "default_pa": 1,
  "default_pv": 1,
  "enable_action_visualization": false,
  "enable_dimension_debug": false,
  "enable_visualization": false,
  "fusion_cfg": {
    "dropout": 0.0,
    "hidden_size": 1024,
    "num_attention_heads": 16,
    "num_layers": 4,
    "query_num": 8
  },
  "hidden_size": 1024,
  "ignore_lang_prefix": false,
  "model_type": "gr00t_tokenizer",
  "query_num": 8,
  "reconstruction_loss_weights": {
    "action": 1.0,
    "lpips": 0.0,
    "vision": 1.0,
    "vq_commitment": 1.0
  },
  "state_dim": 16,
  "torch_dtype": "float32",
  "transformers_version": "4.52.0",
  "tune_action_decoder_diffusion": true,
  "tune_action_decoder_projector": true,
  "tune_action_encoder": true,
  "tune_bridge_projector": true,
  "tune_fusion": true,
  "tune_image_type_embedding": true,
  "tune_vision_decoder": true,
  "tune_vision_m_former": true,
  "tune_vision_model": false,
  "tune_vq": true,
  "unified_embodiment_id": null,
  "use_image_type_embedding": true,
  "use_lpips_loss": false,
  "use_multi_scenario_training": true,
  "video_delta_indices": [
    0
  ],
  "vision_branch_cfg": {
    "hidden_size": 1024,
    "m_former_cfg": {
      "attention_probs_dropout_prob": 0.0,
      "hidden_dropout_prob": 0.0,
      "hidden_size": 1024,
      "input_hidden_size": 1024,
      "intermediate_size": 3072,
      "max_seq_len": 1024,
      "num_attention_heads": 16,
      "num_hidden_layers": 4,
      "query_num": 8
    },
    "query_num": 8
  },
  "vision_decoder_cfg": {
    "_comment_dino": "DINO mode: input/output are hidden states, not images",
    "attention_probs_dropout_prob": 0.0,
    "encoder_stride": 14,
    "hidden_dropout_prob": 0.0,
    "hidden_size": 1024,
    "image_size": 224,
    "input_hidden_size": 1024,
    "intermediate_size": 3072,
    "is_io_hidden_states": true,
    "latent_motion_dim": 1024,
    "num_attention_heads": 16,
    "num_channels": 3,
    "num_hidden_layers": 12,
    "num_patches": 256,
    "patch_size": 14,
    "query_num": 8
  },
  "visualization_freq": 1000,
  "visualization_num_samples": 4,
  "visualization_save_dir": "visualizations",
  "vq_cfg": {
    "beta": 0.25,
    "e_dim": 32,
    "n_e": 128,
    "num_stages": 2,
    "sane_index_shape": false,
    "stages": [
      {
        "beta": 0.5,
        "e_dim": 32,
        "n_e": 128
      },
      {
        "beta": 0.1,
        "e_dim": 32,
        "n_e": 128
      }
    ]
  }
}