Xpitfire commited on
Commit
d8fd690
1 Parent(s): f14482f

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +100 -0
config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Xpitfire/segformer-finetuned-segments-cmp-facade",
3
+ "architectures": [
4
+ "SegformerForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "classifier_dropout_prob": 0.1,
8
+ "decoder_hidden_size": 256,
9
+ "depths": [
10
+ 2,
11
+ 2,
12
+ 2,
13
+ 2
14
+ ],
15
+ "downsampling_rates": [
16
+ 1,
17
+ 4,
18
+ 8,
19
+ 16
20
+ ],
21
+ "drop_path_rate": 0.1,
22
+ "hidden_act": "gelu",
23
+ "hidden_dropout_prob": 0.0,
24
+ "hidden_sizes": [
25
+ 32,
26
+ 64,
27
+ 160,
28
+ 256
29
+ ],
30
+ "id2label": {
31
+ "0": "unknown",
32
+ "1": "facade",
33
+ "2": "molding",
34
+ "3": "cornice",
35
+ "4": "pillar",
36
+ "5": "window",
37
+ "6": "door",
38
+ "7": "sill",
39
+ "8": "blind",
40
+ "9": "balcony",
41
+ "10": "shop",
42
+ "11": "deco",
43
+ "12": "background"
44
+ },
45
+ "image_size": 224,
46
+ "initializer_range": 0.02,
47
+ "label2id": {
48
+ "background": 12,
49
+ "balcony": 9,
50
+ "blind": 8,
51
+ "cornice": 3,
52
+ "deco": 11,
53
+ "door": 6,
54
+ "facade": 1,
55
+ "molding": 2,
56
+ "pillar": 4,
57
+ "shop": 10,
58
+ "sill": 7,
59
+ "unknown": 0,
60
+ "window": 5
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": 255,
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.21.1"
100
+ }