File size: 986 Bytes
c3b1340
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "_attn_implementation_autoset": true,
  "_name_or_path": "hf-internal-testing/tiny-random-SamModel",
  "architectures": [
    "SamModel"
  ],
  "initializer_range": 0.02,
  "mask_decoder_config": {
    "hidden_size": 32,
    "iou_head_hidden_dim": 32,
    "mlp_dim": 64,
    "model_type": "",
    "num_attention_heads": 4
  },
  "model_type": "sam",
  "prompt_encoder_config": {
    "hidden_size": 32,
    "image_embedding_size": 12,
    "image_size": 24,
    "mask_input_channels": 4,
    "model_type": "",
    "patch_size": 2
  },
  "transformers_version": "4.48.2",
  "vision_config": {
    "dropout": 0.0,
    "hidden_size": 36,
    "image_size": 24,
    "initializer_factor": 1.0,
    "initializer_range": 0.02,
    "intermediate_size": 72,
    "mlp_dim": 144,
    "model_type": "",
    "num_attention_heads": 4,
    "num_hidden_layers": 2,
    "num_pos_feats": 16,
    "output_channels": 32,
    "patch_size": 2,
    "projection_dim": 62,
    "rel_pos_zero_init": false
  }
}