File size: 3,889 Bytes
6db29ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "architectures": [
    "Sam3Model"
  ],
  "detr_decoder_config": {
    "box_rpb_mode": "log",
    "dropout": 0.1,
    "hidden_act": "relu",
    "hidden_dropout": 0.0,
    "hidden_size": 16,
    "initializer_range": 0.02,
    "intermediate_size": 32,
    "layer_norm_eps": 1e-06,
    "model_type": "sam3_detr_decoder",
    "num_attention_heads": 2,
    "num_layers": 6,
    "num_queries": 200,
    "use_presence_token": true
  },
  "detr_encoder_config": {
    "dropout": 0.1,
    "hidden_act": "relu",
    "hidden_dropout": 0.0,
    "hidden_size": 16,
    "initializer_range": 0.02,
    "intermediate_size": 32,
    "layer_norm_eps": 1e-06,
    "model_type": "sam3_detr_encoder",
    "num_attention_heads": 2,
    "num_layers": 6
  },
  "dtype": "float32",
  "geometry_encoder_config": {
    "dropout": 0.1,
    "hidden_act": "relu",
    "hidden_dropout": 0.0,
    "hidden_size": 16,
    "initializer_range": 0.02,
    "intermediate_size": 32,
    "layer_norm_eps": 1e-06,
    "model_type": "sam3_geometry_encoder",
    "num_attention_heads": 2,
    "num_layers": 3,
    "roi_size": 7
  },
  "initializer_range": 0.02,
  "mask_decoder_config": {
    "dropout": 0.0,
    "hidden_size": 16,
    "initializer_range": 0.02,
    "intermediate_size": 32,
    "layer_norm_eps": 1e-06,
    "model_type": "sam3_mask_decoder",
    "num_attention_heads": 2,
    "num_upsampling_stages": 3
  },
  "model_type": "sam3",
  "text_config": {
    "attention_dropout": 0.0,
    "hidden_act": "gelu",
    "hidden_size": 16,
    "initializer_factor": 1.0,
    "initializer_range": 0.02,
    "intermediate_size": 32,
    "layer_norm_eps": 1e-05,
    "max_position_embeddings": 32,
    "model_type": "clip_text_model",
    "num_attention_heads": 2,
    "num_hidden_layers": 2,
    "projection_dim": 16,
    "vocab_size": 49408
  },
  "transformers_version": "5.0.0.dev0",
  "vision_config": {
    "backbone_config": {
      "_name_or_path": "",
      "add_cross_attention": false,
      "architectures": null,
      "attention_dropout": 0.0,
      "bos_token_id": null,
      "chunk_size_feed_forward": 0,
      "cross_attention_hidden_size": null,
      "decoder_start_token_id": null,
      "dtype": null,
      "eos_token_id": null,
      "finetuning_task": null,
      "fpn_hidden_size": 16,
      "global_attn_indexes": [
        1,
        3,
        5,
        7
      ],
      "hidden_act": "gelu",
      "hidden_dropout": 0.0,
      "hidden_size": 16,
      "id2label": {
        "0": "LABEL_0",
        "1": "LABEL_1"
      },
      "image_size": 1008,
      "initializer_range": 0.02,
      "intermediate_size": 32,
      "is_decoder": false,
      "is_encoder_decoder": false,
      "label2id": {
        "LABEL_0": 0,
        "LABEL_1": 1
      },
      "layer_norm_eps": 1e-06,
      "layer_scale_init_value": null,
      "model_type": "sam3_vit_model",
      "num_attention_heads": 2,
      "num_channels": 3,
      "num_hidden_layers": 8,
      "output_attentions": false,
      "output_hidden_states": false,
      "pad_token_id": null,
      "patch_size": 14,
      "prefix": null,
      "pretrain_image_size": 336,
      "problem_type": null,
      "qkv_bias": true,
      "return_dict": true,
      "rope_theta": 10000.0,
      "sep_token_id": null,
      "task_specific_params": null,
      "tie_encoder_decoder": false,
      "tie_word_embeddings": true,
      "tokenizer_class": null,
      "window_size": 24
    },
    "backbone_feature_sizes": [
      [
        288,
        288
      ],
      [
        144,
        144
      ],
      [
        72,
        72
      ]
    ],
    "fpn_hidden_size": 16,
    "fpn_kernel_size": 2,
    "fpn_stride": 2,
    "hidden_act": "gelu",
    "initializer_range": 0.02,
    "layer_norm_eps": 1e-06,
    "model_type": "sam3_vision_model",
    "num_feature_levels": 3,
    "scale_factors": [
      4.0,
      2.0,
      1.0,
      0.5
    ]
  }
}