FALcon6 commited on
Commit
83d548a
·
verified ·
1 Parent(s): 78ad2dd

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +256 -0
  2. preprocessor_config.json +23 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "SwinHighwayForImageClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.0,
6
+ "depths": [
7
+ 2,
8
+ 2,
9
+ 18,
10
+ 2
11
+ ],
12
+ "drop_path_rate": 0.1,
13
+ "embed_dim": 128,
14
+ "encoder_stride": 32,
15
+ "exit_strategy": "confidence",
16
+ "finetuning_task": "image-classification",
17
+ "hidden_act": "gelu",
18
+ "hidden_dropout_prob": 0.0,
19
+ "hidden_size": 1024,
20
+ "highway_type": "LGViT",
21
+ "id2label": {
22
+ "0": "apple",
23
+ "1": "aquarium_fish",
24
+ "10": "bowl",
25
+ "11": "boy",
26
+ "12": "bridge",
27
+ "13": "bus",
28
+ "14": "butterfly",
29
+ "15": "camel",
30
+ "16": "can",
31
+ "17": "castle",
32
+ "18": "caterpillar",
33
+ "19": "cattle",
34
+ "2": "baby",
35
+ "20": "chair",
36
+ "21": "chimpanzee",
37
+ "22": "clock",
38
+ "23": "cloud",
39
+ "24": "cockroach",
40
+ "25": "couch",
41
+ "26": "cra",
42
+ "27": "crocodile",
43
+ "28": "cup",
44
+ "29": "dinosaur",
45
+ "3": "bear",
46
+ "30": "dolphin",
47
+ "31": "elephant",
48
+ "32": "flatfish",
49
+ "33": "forest",
50
+ "34": "fox",
51
+ "35": "girl",
52
+ "36": "hamster",
53
+ "37": "house",
54
+ "38": "kangaroo",
55
+ "39": "keyboard",
56
+ "4": "beaver",
57
+ "40": "lamp",
58
+ "41": "lawn_mower",
59
+ "42": "leopard",
60
+ "43": "lion",
61
+ "44": "lizard",
62
+ "45": "lobster",
63
+ "46": "man",
64
+ "47": "maple_tree",
65
+ "48": "motorcycle",
66
+ "49": "mountain",
67
+ "5": "bed",
68
+ "50": "mouse",
69
+ "51": "mushroom",
70
+ "52": "oak_tree",
71
+ "53": "orange",
72
+ "54": "orchid",
73
+ "55": "otter",
74
+ "56": "palm_tree",
75
+ "57": "pear",
76
+ "58": "pickup_truck",
77
+ "59": "pine_tree",
78
+ "6": "bee",
79
+ "60": "plain",
80
+ "61": "plate",
81
+ "62": "poppy",
82
+ "63": "porcupine",
83
+ "64": "possum",
84
+ "65": "rabbit",
85
+ "66": "raccoon",
86
+ "67": "ray",
87
+ "68": "road",
88
+ "69": "rocket",
89
+ "7": "beetle",
90
+ "70": "rose",
91
+ "71": "sea",
92
+ "72": "seal",
93
+ "73": "shark",
94
+ "74": "shrew",
95
+ "75": "skunk",
96
+ "76": "skyscraper",
97
+ "77": "snail",
98
+ "78": "snake",
99
+ "79": "spider",
100
+ "8": "bicycle",
101
+ "80": "squirrel",
102
+ "81": "streetcar",
103
+ "82": "sunflower",
104
+ "83": "sweet_pepper",
105
+ "84": "table",
106
+ "85": "tank",
107
+ "86": "telephone",
108
+ "87": "television",
109
+ "88": "tiger",
110
+ "89": "tractor",
111
+ "9": "bottle",
112
+ "90": "train",
113
+ "91": "trout",
114
+ "92": "tulip",
115
+ "93": "turtle",
116
+ "94": "wardrobe",
117
+ "95": "whale",
118
+ "96": "willow_tree",
119
+ "97": "wolf",
120
+ "98": "woman",
121
+ "99": "worm"
122
+ },
123
+ "image_size": 224,
124
+ "initializer_range": 0.02,
125
+ "label2id": {
126
+ "apple": "0",
127
+ "aquarium_fish": "1",
128
+ "baby": "2",
129
+ "bear": "3",
130
+ "beaver": "4",
131
+ "bed": "5",
132
+ "bee": "6",
133
+ "beetle": "7",
134
+ "bicycle": "8",
135
+ "bottle": "9",
136
+ "bowl": "10",
137
+ "boy": "11",
138
+ "bridge": "12",
139
+ "bus": "13",
140
+ "butterfly": "14",
141
+ "camel": "15",
142
+ "can": "16",
143
+ "castle": "17",
144
+ "caterpillar": "18",
145
+ "cattle": "19",
146
+ "chair": "20",
147
+ "chimpanzee": "21",
148
+ "clock": "22",
149
+ "cloud": "23",
150
+ "cockroach": "24",
151
+ "couch": "25",
152
+ "cra": "26",
153
+ "crocodile": "27",
154
+ "cup": "28",
155
+ "dinosaur": "29",
156
+ "dolphin": "30",
157
+ "elephant": "31",
158
+ "flatfish": "32",
159
+ "forest": "33",
160
+ "fox": "34",
161
+ "girl": "35",
162
+ "hamster": "36",
163
+ "house": "37",
164
+ "kangaroo": "38",
165
+ "keyboard": "39",
166
+ "lamp": "40",
167
+ "lawn_mower": "41",
168
+ "leopard": "42",
169
+ "lion": "43",
170
+ "lizard": "44",
171
+ "lobster": "45",
172
+ "man": "46",
173
+ "maple_tree": "47",
174
+ "motorcycle": "48",
175
+ "mountain": "49",
176
+ "mouse": "50",
177
+ "mushroom": "51",
178
+ "oak_tree": "52",
179
+ "orange": "53",
180
+ "orchid": "54",
181
+ "otter": "55",
182
+ "palm_tree": "56",
183
+ "pear": "57",
184
+ "pickup_truck": "58",
185
+ "pine_tree": "59",
186
+ "plain": "60",
187
+ "plate": "61",
188
+ "poppy": "62",
189
+ "porcupine": "63",
190
+ "possum": "64",
191
+ "rabbit": "65",
192
+ "raccoon": "66",
193
+ "ray": "67",
194
+ "road": "68",
195
+ "rocket": "69",
196
+ "rose": "70",
197
+ "sea": "71",
198
+ "seal": "72",
199
+ "shark": "73",
200
+ "shrew": "74",
201
+ "skunk": "75",
202
+ "skyscraper": "76",
203
+ "snail": "77",
204
+ "snake": "78",
205
+ "spider": "79",
206
+ "squirrel": "80",
207
+ "streetcar": "81",
208
+ "sunflower": "82",
209
+ "sweet_pepper": "83",
210
+ "table": "84",
211
+ "tank": "85",
212
+ "telephone": "86",
213
+ "television": "87",
214
+ "tiger": "88",
215
+ "tractor": "89",
216
+ "train": "90",
217
+ "trout": "91",
218
+ "tulip": "92",
219
+ "turtle": "93",
220
+ "wardrobe": "94",
221
+ "whale": "95",
222
+ "willow_tree": "96",
223
+ "wolf": "97",
224
+ "woman": "98",
225
+ "worm": "99"
226
+ },
227
+ "layer_norm_eps": 1e-05,
228
+ "mlp_ratio": 4.0,
229
+ "model_type": "swin",
230
+ "num_channels": 3,
231
+ "num_early_exits": "[0,1,6,1]",
232
+ "num_heads": [
233
+ 4,
234
+ 8,
235
+ 16,
236
+ 32
237
+ ],
238
+ "num_layers": 4,
239
+ "out_features": null,
240
+ "patch_size": 4,
241
+ "path_norm": true,
242
+ "position_exits": "[[],[2],[3,6,9,12,15,18],[1]]",
243
+ "problem_type": "single_label_classification",
244
+ "qkv_bias": true,
245
+ "stage_names": [
246
+ "stem",
247
+ "stage1",
248
+ "stage2",
249
+ "stage3",
250
+ "stage4"
251
+ ],
252
+ "torch_dtype": "float32",
253
+ "transformers_version": "4.26.0",
254
+ "use_absolute_embeddings": false,
255
+ "window_size": 7
256
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.485,
7
+ 0.456,
8
+ 0.406
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.229,
13
+ 0.224,
14
+ 0.225
15
+ ],
16
+ "resample": 3,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "shortest_edge": 224,
21
+ "width": 224
22
+ }
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e2bec305c9fe9d5a167bf74d42058fcd0a4b30cf64a6b7f6bca5fd406e8dd86
3
+ size 386125655