Upload SegformerForRegressionMask
Browse files- config.json +100 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "vikp/layout3",
|
3 |
+
"architectures": [
|
4 |
+
"SegformerForRegressionMask"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
+
"decoder_hidden_size": 768,
|
9 |
+
"decoder_layer_hidden_size": 192,
|
10 |
+
"decoder_upsample_rate": 2,
|
11 |
+
"depths": [
|
12 |
+
3,
|
13 |
+
4,
|
14 |
+
9,
|
15 |
+
3
|
16 |
+
],
|
17 |
+
"downsampling_rates": [
|
18 |
+
1,
|
19 |
+
4,
|
20 |
+
8,
|
21 |
+
16
|
22 |
+
],
|
23 |
+
"drop_path_rate": 0.1,
|
24 |
+
"hidden_act": "gelu",
|
25 |
+
"hidden_dropout_prob": 0.0,
|
26 |
+
"hidden_sizes": [
|
27 |
+
64,
|
28 |
+
128,
|
29 |
+
320,
|
30 |
+
512
|
31 |
+
],
|
32 |
+
"id2label": {
|
33 |
+
"0": "Blank",
|
34 |
+
"1": "Caption",
|
35 |
+
"2": "Footnote",
|
36 |
+
"3": "Formula",
|
37 |
+
"4": "List-item",
|
38 |
+
"5": "Page-footer",
|
39 |
+
"6": "Page-header",
|
40 |
+
"7": "Picture",
|
41 |
+
"8": "Section-header",
|
42 |
+
"9": "Table",
|
43 |
+
"10": "Text",
|
44 |
+
"11": "Title"
|
45 |
+
},
|
46 |
+
"image_size": 224,
|
47 |
+
"initializer_range": 0.02,
|
48 |
+
"label2id": {
|
49 |
+
"Blank": 0,
|
50 |
+
"Caption": 1,
|
51 |
+
"Footnote": 2,
|
52 |
+
"Formula": 3,
|
53 |
+
"List-item": 4,
|
54 |
+
"Page-footer": 5,
|
55 |
+
"Page-header": 6,
|
56 |
+
"Picture": 7,
|
57 |
+
"Section-header": 8,
|
58 |
+
"Table": 9,
|
59 |
+
"Text": 10,
|
60 |
+
"Title": 11
|
61 |
+
},
|
62 |
+
"layer_norm_eps": 1e-06,
|
63 |
+
"mlp_ratios": [
|
64 |
+
4,
|
65 |
+
4,
|
66 |
+
4,
|
67 |
+
4
|
68 |
+
],
|
69 |
+
"model_type": "segformer",
|
70 |
+
"num_attention_heads": [
|
71 |
+
1,
|
72 |
+
2,
|
73 |
+
5,
|
74 |
+
8
|
75 |
+
],
|
76 |
+
"num_channels": 3,
|
77 |
+
"num_encoder_blocks": 4,
|
78 |
+
"patch_sizes": [
|
79 |
+
7,
|
80 |
+
3,
|
81 |
+
3,
|
82 |
+
3
|
83 |
+
],
|
84 |
+
"reshape_last_stage": true,
|
85 |
+
"semantic_loss_ignore_index": -1,
|
86 |
+
"sr_ratios": [
|
87 |
+
8,
|
88 |
+
4,
|
89 |
+
2,
|
90 |
+
1
|
91 |
+
],
|
92 |
+
"strides": [
|
93 |
+
4,
|
94 |
+
2,
|
95 |
+
2,
|
96 |
+
2
|
97 |
+
],
|
98 |
+
"torch_dtype": "float32",
|
99 |
+
"transformers_version": "4.36.2"
|
100 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:109e48ec8d8ef8eebff7b607a3b6266f985174c5e40ca5959e10eaf3adf3bf64
|
3 |
+
size 119912000
|