Upload BeitForSemanticSegmentation
Browse files- config.json +46 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BeitForSemanticSegmentation"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.0,
|
6 |
+
"auxiliary_channels": 256,
|
7 |
+
"auxiliary_concat_input": false,
|
8 |
+
"auxiliary_loss_weight": 0.4,
|
9 |
+
"auxiliary_num_convs": 1,
|
10 |
+
"drop_path_rate": 0.1,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.0,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"image_size": 224,
|
15 |
+
"initializer_range": 0.02,
|
16 |
+
"intermediate_size": 3072,
|
17 |
+
"layer_norm_eps": 1e-12,
|
18 |
+
"layer_scale_init_value": 0.1,
|
19 |
+
"model_type": "beit",
|
20 |
+
"num_attention_heads": 12,
|
21 |
+
"num_channels": 3,
|
22 |
+
"num_hidden_layers": 12,
|
23 |
+
"out_indices": [
|
24 |
+
1,
|
25 |
+
2,
|
26 |
+
3,
|
27 |
+
4
|
28 |
+
],
|
29 |
+
"patch_size": 16,
|
30 |
+
"pool_scales": [
|
31 |
+
1,
|
32 |
+
2,
|
33 |
+
3,
|
34 |
+
6
|
35 |
+
],
|
36 |
+
"semantic_loss_ignore_index": 255,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.35.1",
|
39 |
+
"use_absolute_position_embeddings": false,
|
40 |
+
"use_auxiliary_head": true,
|
41 |
+
"use_mask_token": false,
|
42 |
+
"use_mean_pooling": true,
|
43 |
+
"use_relative_position_bias": false,
|
44 |
+
"use_shared_relative_position_bias": false,
|
45 |
+
"vocab_size": 8192
|
46 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:af473951899aa7c97a7930f42379ab39452fe116895d3fcbeed2ac5624fbaf3d
|
3 |
+
size 649543632
|