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
"_name_or_path": "openmmlab/upernet-swin-tiny",
|
3 |
+
"architectures": [
|
4 |
+
"UperNetForSemanticSegmentation"
|
5 |
+
],
|
6 |
+
"auxiliary_channels": 256,
|
7 |
+
"auxiliary_concat_input": false,
|
8 |
+
"auxiliary_in_channels": 384,
|
9 |
+
"auxiliary_loss_weight": 0.4,
|
10 |
+
"auxiliary_num_convs": 1,
|
11 |
+
"backbone_config": {
|
12 |
+
"attention_probs_dropout_prob": 0.0,
|
13 |
+
"depths": [
|
14 |
+
2,
|
15 |
+
2,
|
16 |
+
6,
|
17 |
+
2
|
18 |
+
],
|
19 |
+
"drop_path_rate": 0.1,
|
20 |
+
"embed_dim": 96,
|
21 |
+
"encoder_stride": 32,
|
22 |
+
"hidden_act": "gelu",
|
23 |
+
"hidden_dropout_prob": 0.0,
|
24 |
+
"hidden_size": 768,
|
25 |
+
"image_size": 224,
|
26 |
+
"initializer_range": 0.02,
|
27 |
+
"layer_norm_eps": 1e-05,
|
28 |
+
"mlp_ratio": 4.0,
|
29 |
+
"model_type": "swin",
|
30 |
+
"num_heads": [
|
31 |
+
3,
|
32 |
+
6,
|
33 |
+
12,
|
34 |
+
24
|
35 |
+
],
|
36 |
+
"num_layers": 4,
|
37 |
+
"out_features": [
|
38 |
+
"stage1",
|
39 |
+
"stage2",
|
40 |
+
"stage3",
|
41 |
+
"stage4"
|
42 |
+
],
|
43 |
+
"out_indices": [
|
44 |
+
1,
|
45 |
+
2,
|
46 |
+
3,
|
47 |
+
4
|
48 |
+
],
|
49 |
+
"patch_size": 4,
|
50 |
+
"path_norm": true,
|
51 |
+
"qkv_bias": true,
|
52 |
+
"use_absolute_embeddings": false,
|
53 |
+
"window_size": 7
|
54 |
+
},
|
55 |
+
"hidden_size": 512,
|
56 |
+
"id2label": {
|
57 |
+
"0": "non-cloud",
|
58 |
+
"1": "cloud"
|
59 |
+
},
|
60 |
+
"initializer_range": 0.02,
|
61 |
+
"label2id": {
|
62 |
+
"airplane": 90,
|
63 |
+
"animal": 126,
|
64 |
+
"apparel": 92,
|
65 |
+
"arcade machine": 78,
|
66 |
+
"armchair": 30,
|
67 |
+
"ashcan": 138,
|
68 |
+
"awning": 86,
|
69 |
+
"bag": 115,
|
70 |
+
"ball": 119,
|
71 |
+
"bannister": 95,
|
72 |
+
"bar": 77,
|
73 |
+
"barrel": 111,
|
74 |
+
"base": 40,
|
75 |
+
"basket": 112,
|
76 |
+
"bathtub": 37,
|
77 |
+
"bed ": 7,
|
78 |
+
"bench": 69,
|
79 |
+
"bicycle": 127,
|
80 |
+
"blanket": 131,
|
81 |
+
"blind": 63,
|
82 |
+
"boat": 76,
|
83 |
+
"book": 67,
|
84 |
+
"bookcase": 62,
|
85 |
+
"booth": 88,
|
86 |
+
"bottle": 98,
|
87 |
+
"box": 41,
|
88 |
+
"bridge": 61,
|
89 |
+
"buffet": 99,
|
90 |
+
"building": 1,
|
91 |
+
"bulletin board": 144,
|
92 |
+
"bus": 80,
|
93 |
+
"cabinet": 10,
|
94 |
+
"canopy": 106,
|
95 |
+
"car": 20,
|
96 |
+
"case": 55,
|
97 |
+
"ceiling": 5,
|
98 |
+
"chair": 19,
|
99 |
+
"chandelier": 85,
|
100 |
+
"chest of drawers": 44,
|
101 |
+
"clock": 148,
|
102 |
+
"coffee table": 64,
|
103 |
+
"column": 42,
|
104 |
+
"computer": 74,
|
105 |
+
"conveyer belt": 105,
|
106 |
+
"counter": 45,
|
107 |
+
"countertop": 70,
|
108 |
+
"cradle": 117,
|
109 |
+
"crt screen": 141,
|
110 |
+
"curtain": 18,
|
111 |
+
"cushion": 39,
|
112 |
+
"desk": 33,
|
113 |
+
"dirt track": 91,
|
114 |
+
"dishwasher": 129,
|
115 |
+
"door": 14,
|
116 |
+
"earth": 13,
|
117 |
+
"escalator": 96,
|
118 |
+
"fan": 139,
|
119 |
+
"fence": 32,
|
120 |
+
"field": 29,
|
121 |
+
"fireplace": 49,
|
122 |
+
"flag": 149,
|
123 |
+
"floor": 3,
|
124 |
+
"flower": 66,
|
125 |
+
"food": 120,
|
126 |
+
"fountain": 104,
|
127 |
+
"glass": 147,
|
128 |
+
"grandstand": 51,
|
129 |
+
"grass": 9,
|
130 |
+
"hill": 68,
|
131 |
+
"hood": 133,
|
132 |
+
"house": 25,
|
133 |
+
"hovel": 79,
|
134 |
+
"kitchen island": 73,
|
135 |
+
"lake": 128,
|
136 |
+
"lamp": 36,
|
137 |
+
"land": 94,
|
138 |
+
"light": 82,
|
139 |
+
"microwave": 124,
|
140 |
+
"minibike": 116,
|
141 |
+
"mirror": 27,
|
142 |
+
"monitor": 143,
|
143 |
+
"mountain": 16,
|
144 |
+
"ottoman": 97,
|
145 |
+
"oven": 118,
|
146 |
+
"painting": 22,
|
147 |
+
"palm": 72,
|
148 |
+
"path": 52,
|
149 |
+
"person": 12,
|
150 |
+
"pier": 140,
|
151 |
+
"pillow": 57,
|
152 |
+
"plant": 17,
|
153 |
+
"plate": 142,
|
154 |
+
"plaything": 108,
|
155 |
+
"pole": 93,
|
156 |
+
"pool table": 56,
|
157 |
+
"poster": 100,
|
158 |
+
"pot": 125,
|
159 |
+
"radiator": 146,
|
160 |
+
"railing": 38,
|
161 |
+
"refrigerator": 50,
|
162 |
+
"river": 60,
|
163 |
+
"road": 6,
|
164 |
+
"rock": 34,
|
165 |
+
"rug": 28,
|
166 |
+
"runway": 54,
|
167 |
+
"sand": 46,
|
168 |
+
"sconce": 134,
|
169 |
+
"screen": 130,
|
170 |
+
"screen door": 58,
|
171 |
+
"sculpture": 132,
|
172 |
+
"sea": 26,
|
173 |
+
"seat": 31,
|
174 |
+
"shelf": 24,
|
175 |
+
"ship": 103,
|
176 |
+
"shower": 145,
|
177 |
+
"sidewalk": 11,
|
178 |
+
"signboard": 43,
|
179 |
+
"sink": 47,
|
180 |
+
"sky": 2,
|
181 |
+
"skyscraper": 48,
|
182 |
+
"sofa": 23,
|
183 |
+
"stage": 101,
|
184 |
+
"stairs": 53,
|
185 |
+
"stairway": 59,
|
186 |
+
"step": 121,
|
187 |
+
"stool": 110,
|
188 |
+
"stove": 71,
|
189 |
+
"streetlight": 87,
|
190 |
+
"swimming pool": 109,
|
191 |
+
"swivel chair": 75,
|
192 |
+
"table": 15,
|
193 |
+
"tank": 122,
|
194 |
+
"television receiver": 89,
|
195 |
+
"tent": 114,
|
196 |
+
"toilet": 65,
|
197 |
+
"towel": 81,
|
198 |
+
"tower": 84,
|
199 |
+
"trade name": 123,
|
200 |
+
"traffic light": 136,
|
201 |
+
"tray": 137,
|
202 |
+
"tree": 4,
|
203 |
+
"truck": 83,
|
204 |
+
"van": 102,
|
205 |
+
"vase": 135,
|
206 |
+
"wall": 0,
|
207 |
+
"wardrobe": 35,
|
208 |
+
"washer": 107,
|
209 |
+
"water": 21,
|
210 |
+
"waterfall": 113,
|
211 |
+
"windowpane": 8
|
212 |
+
},
|
213 |
+
"loss_ignore_index": 255,
|
214 |
+
"model_type": "upernet",
|
215 |
+
"pool_scales": [
|
216 |
+
1,
|
217 |
+
2,
|
218 |
+
3,
|
219 |
+
6
|
220 |
+
],
|
221 |
+
"torch_dtype": "float32",
|
222 |
+
"transformers_version": "4.33.0",
|
223 |
+
"use_auxiliary_head": true
|
224 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:64c11000d23c57eddfecb03f43b0b9e43d8907cb0802007d148de170118c1f71
|
3 |
+
size 239704329
|