Spaces:
Sleeping
Sleeping
Delete config.json
Browse files- config.json +0 -282
config.json
DELETED
@@ -1,282 +0,0 @@
|
|
1 |
-
{
|
2 |
-
"_name_or_path": "/content/drive/MyDrive/Colab Notebooks/transformer_learn/chapter8/model/",
|
3 |
-
"architectures": [
|
4 |
-
"SegformerForSemanticSegmentation"
|
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": "background",
|
32 |
-
"1": "candy",
|
33 |
-
"2": "egg tart",
|
34 |
-
"3": "french fries",
|
35 |
-
"4": "chocolate",
|
36 |
-
"5": "biscuit",
|
37 |
-
"6": "popcorn",
|
38 |
-
"7": "pudding",
|
39 |
-
"8": "ice cream",
|
40 |
-
"9": "cheese butter",
|
41 |
-
"10": "cake",
|
42 |
-
"11": "wine",
|
43 |
-
"12": "milkshake",
|
44 |
-
"13": "coffee",
|
45 |
-
"14": "juice",
|
46 |
-
"15": "milk",
|
47 |
-
"16": "tea",
|
48 |
-
"17": "almond",
|
49 |
-
"18": "red beans",
|
50 |
-
"19": "cashew",
|
51 |
-
"20": "dried cranberries",
|
52 |
-
"21": "soy",
|
53 |
-
"22": "walnut",
|
54 |
-
"23": "peanut",
|
55 |
-
"24": "egg",
|
56 |
-
"25": "apple",
|
57 |
-
"26": "date",
|
58 |
-
"27": "apricot",
|
59 |
-
"28": "avocado",
|
60 |
-
"29": "banana",
|
61 |
-
"30": "strawberry",
|
62 |
-
"31": "cherry",
|
63 |
-
"32": "blueberry",
|
64 |
-
"33": "raspberry",
|
65 |
-
"34": "mango",
|
66 |
-
"35": "olives",
|
67 |
-
"36": "peach",
|
68 |
-
"37": "lemon",
|
69 |
-
"38": "pear",
|
70 |
-
"39": "fig",
|
71 |
-
"40": "pineapple",
|
72 |
-
"41": "grape",
|
73 |
-
"42": "kiwi",
|
74 |
-
"43": "melon",
|
75 |
-
"44": "orange",
|
76 |
-
"45": "watermelon",
|
77 |
-
"46": "steak",
|
78 |
-
"47": "pork",
|
79 |
-
"48": "chicken duck",
|
80 |
-
"49": "sausage",
|
81 |
-
"50": "fried meat",
|
82 |
-
"51": "lamb",
|
83 |
-
"52": "sauce",
|
84 |
-
"53": "crab",
|
85 |
-
"54": "fish",
|
86 |
-
"55": "shellfish",
|
87 |
-
"56": "shrimp",
|
88 |
-
"57": "soup",
|
89 |
-
"58": "bread",
|
90 |
-
"59": "corn",
|
91 |
-
"60": "hamburg",
|
92 |
-
"61": "pizza",
|
93 |
-
"62": " hanamaki baozi",
|
94 |
-
"63": "wonton dumplings",
|
95 |
-
"64": "pasta",
|
96 |
-
"65": "noodles",
|
97 |
-
"66": "rice",
|
98 |
-
"67": "pie",
|
99 |
-
"68": "tofu",
|
100 |
-
"69": "eggplant",
|
101 |
-
"70": "potato",
|
102 |
-
"71": "garlic",
|
103 |
-
"72": "cauliflower",
|
104 |
-
"73": "tomato",
|
105 |
-
"74": "kelp",
|
106 |
-
"75": "seaweed",
|
107 |
-
"76": "spring onion",
|
108 |
-
"77": "rape",
|
109 |
-
"78": "ginger",
|
110 |
-
"79": "okra",
|
111 |
-
"80": "lettuce",
|
112 |
-
"81": "pumpkin",
|
113 |
-
"82": "cucumber",
|
114 |
-
"83": "white radish",
|
115 |
-
"84": "carrot",
|
116 |
-
"85": "asparagus",
|
117 |
-
"86": "bamboo shoots",
|
118 |
-
"87": "broccoli",
|
119 |
-
"88": "celery stick",
|
120 |
-
"89": "cilantro mint",
|
121 |
-
"90": "snow peas",
|
122 |
-
"91": " cabbage",
|
123 |
-
"92": "bean sprouts",
|
124 |
-
"93": "onion",
|
125 |
-
"94": "pepper",
|
126 |
-
"95": "green beans",
|
127 |
-
"96": "French beans",
|
128 |
-
"97": "king oyster mushroom",
|
129 |
-
"98": "shiitake",
|
130 |
-
"99": "enoki mushroom",
|
131 |
-
"100": "oyster mushroom",
|
132 |
-
"101": "white button mushroom",
|
133 |
-
"102": "salad",
|
134 |
-
"103": "other ingredients"
|
135 |
-
},
|
136 |
-
"image_size": 224,
|
137 |
-
"initializer_range": 0.02,
|
138 |
-
"label2id": {
|
139 |
-
" cabbage": 91,
|
140 |
-
" hanamaki baozi": 62,
|
141 |
-
"French beans": 96,
|
142 |
-
"almond": 17,
|
143 |
-
"apple": 25,
|
144 |
-
"apricot": 27,
|
145 |
-
"asparagus": 85,
|
146 |
-
"avocado": 28,
|
147 |
-
"background": 0,
|
148 |
-
"bamboo shoots": 86,
|
149 |
-
"banana": 29,
|
150 |
-
"bean sprouts": 92,
|
151 |
-
"biscuit": 5,
|
152 |
-
"blueberry": 32,
|
153 |
-
"bread": 58,
|
154 |
-
"broccoli": 87,
|
155 |
-
"cake": 10,
|
156 |
-
"candy": 1,
|
157 |
-
"carrot": 84,
|
158 |
-
"cashew": 19,
|
159 |
-
"cauliflower": 72,
|
160 |
-
"celery stick": 88,
|
161 |
-
"cheese butter": 9,
|
162 |
-
"cherry": 31,
|
163 |
-
"chicken duck": 48,
|
164 |
-
"chocolate": 4,
|
165 |
-
"cilantro mint": 89,
|
166 |
-
"coffee": 13,
|
167 |
-
"corn": 59,
|
168 |
-
"crab": 53,
|
169 |
-
"cucumber": 82,
|
170 |
-
"date": 26,
|
171 |
-
"dried cranberries": 20,
|
172 |
-
"egg": 24,
|
173 |
-
"egg tart": 2,
|
174 |
-
"eggplant": 69,
|
175 |
-
"enoki mushroom": 99,
|
176 |
-
"fig": 39,
|
177 |
-
"fish": 54,
|
178 |
-
"french fries": 3,
|
179 |
-
"fried meat": 50,
|
180 |
-
"garlic": 71,
|
181 |
-
"ginger": 78,
|
182 |
-
"grape": 41,
|
183 |
-
"green beans": 95,
|
184 |
-
"hamburg": 60,
|
185 |
-
"ice cream": 8,
|
186 |
-
"juice": 14,
|
187 |
-
"kelp": 74,
|
188 |
-
"king oyster mushroom": 97,
|
189 |
-
"kiwi": 42,
|
190 |
-
"lamb": 51,
|
191 |
-
"lemon": 37,
|
192 |
-
"lettuce": 80,
|
193 |
-
"mango": 34,
|
194 |
-
"melon": 43,
|
195 |
-
"milk": 15,
|
196 |
-
"milkshake": 12,
|
197 |
-
"noodles": 65,
|
198 |
-
"okra": 79,
|
199 |
-
"olives": 35,
|
200 |
-
"onion": 93,
|
201 |
-
"orange": 44,
|
202 |
-
"other ingredients": 103,
|
203 |
-
"oyster mushroom": 100,
|
204 |
-
"pasta": 64,
|
205 |
-
"peach": 36,
|
206 |
-
"peanut": 23,
|
207 |
-
"pear": 38,
|
208 |
-
"pepper": 94,
|
209 |
-
"pie": 67,
|
210 |
-
"pineapple": 40,
|
211 |
-
"pizza": 61,
|
212 |
-
"popcorn": 6,
|
213 |
-
"pork": 47,
|
214 |
-
"potato": 70,
|
215 |
-
"pudding": 7,
|
216 |
-
"pumpkin": 81,
|
217 |
-
"rape": 77,
|
218 |
-
"raspberry": 33,
|
219 |
-
"red beans": 18,
|
220 |
-
"rice": 66,
|
221 |
-
"salad": 102,
|
222 |
-
"sauce": 52,
|
223 |
-
"sausage": 49,
|
224 |
-
"seaweed": 75,
|
225 |
-
"shellfish": 55,
|
226 |
-
"shiitake": 98,
|
227 |
-
"shrimp": 56,
|
228 |
-
"snow peas": 90,
|
229 |
-
"soup": 57,
|
230 |
-
"soy": 21,
|
231 |
-
"spring onion": 76,
|
232 |
-
"steak": 46,
|
233 |
-
"strawberry": 30,
|
234 |
-
"tea": 16,
|
235 |
-
"tofu": 68,
|
236 |
-
"tomato": 73,
|
237 |
-
"walnut": 22,
|
238 |
-
"watermelon": 45,
|
239 |
-
"white button mushroom": 101,
|
240 |
-
"white radish": 83,
|
241 |
-
"wine": 11,
|
242 |
-
"wonton dumplings": 63
|
243 |
-
},
|
244 |
-
"layer_norm_eps": 1e-06,
|
245 |
-
"mlp_ratios": [
|
246 |
-
4,
|
247 |
-
4,
|
248 |
-
4,
|
249 |
-
4
|
250 |
-
],
|
251 |
-
"model_type": "segformer",
|
252 |
-
"num_attention_heads": [
|
253 |
-
1,
|
254 |
-
2,
|
255 |
-
5,
|
256 |
-
8
|
257 |
-
],
|
258 |
-
"num_channels": 3,
|
259 |
-
"num_encoder_blocks": 4,
|
260 |
-
"patch_sizes": [
|
261 |
-
7,
|
262 |
-
3,
|
263 |
-
3,
|
264 |
-
3
|
265 |
-
],
|
266 |
-
"reshape_last_stage": true,
|
267 |
-
"semantic_loss_ignore_index": 255,
|
268 |
-
"sr_ratios": [
|
269 |
-
8,
|
270 |
-
4,
|
271 |
-
2,
|
272 |
-
1
|
273 |
-
],
|
274 |
-
"strides": [
|
275 |
-
4,
|
276 |
-
2,
|
277 |
-
2,
|
278 |
-
2
|
279 |
-
],
|
280 |
-
"torch_dtype": "float32",
|
281 |
-
"transformers_version": "4.28.1"
|
282 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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