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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "dima806/animal_151_types_image_detection",
|
3 |
+
"architectures": [
|
4 |
+
"ViTForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"encoder_stride": 16,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "acinonyx-jubatus",
|
13 |
+
"1": "aethia-cristatella",
|
14 |
+
"2": "agalychnis-callidryas",
|
15 |
+
"3": "agkistrodon-contortrix",
|
16 |
+
"4": "ailuropoda-melanoleuca",
|
17 |
+
"5": "ailurus-fulgens",
|
18 |
+
"6": "alces-alces",
|
19 |
+
"7": "anas-platyrhynchos",
|
20 |
+
"8": "ankylosaurus-magniventris",
|
21 |
+
"9": "apis-mellifera",
|
22 |
+
"10": "aptenodytes-forsteri",
|
23 |
+
"11": "aquila-chrysaetos",
|
24 |
+
"12": "ara-macao",
|
25 |
+
"13": "architeuthis-dux",
|
26 |
+
"14": "ardea-herodias",
|
27 |
+
"15": "balaenoptera-musculus",
|
28 |
+
"16": "betta-splendens",
|
29 |
+
"17": "bison-bison",
|
30 |
+
"18": "bos-gaurus",
|
31 |
+
"19": "bos-taurus",
|
32 |
+
"20": "bradypus-variegatus",
|
33 |
+
"21": "branta-canadensis",
|
34 |
+
"22": "canis-lupus",
|
35 |
+
"23": "canis-lupus-familiaris",
|
36 |
+
"24": "carcharodon-carcharias",
|
37 |
+
"25": "cardinalis-cardinalis",
|
38 |
+
"26": "cathartes-aura",
|
39 |
+
"27": "centrochelys-sulcata",
|
40 |
+
"28": "centruroides-vittatus",
|
41 |
+
"29": "ceratitis-capitata",
|
42 |
+
"30": "ceratotherium-simum",
|
43 |
+
"31": "chelonia-mydas",
|
44 |
+
"32": "chrysemys-picta",
|
45 |
+
"33": "circus-hudsonius",
|
46 |
+
"34": "codium-fragile",
|
47 |
+
"35": "coelacanthiformes",
|
48 |
+
"36": "colaptes-auratus",
|
49 |
+
"37": "connochaetes-gnou",
|
50 |
+
"38": "correlophus-ciliatus",
|
51 |
+
"39": "crocodylus-niloticus",
|
52 |
+
"40": "crotalus-atrox",
|
53 |
+
"41": "crotophaga-sulcirostris",
|
54 |
+
"42": "cryptoprocta-ferox",
|
55 |
+
"43": "cyanocitta-cristata",
|
56 |
+
"44": "danaus-plexippus",
|
57 |
+
"45": "dasypus-novemcinctus",
|
58 |
+
"46": "delphinapterus-leucas",
|
59 |
+
"47": "dendrobatidae",
|
60 |
+
"48": "dermochelys-coriacea",
|
61 |
+
"49": "desmodus-rotundus",
|
62 |
+
"50": "diplodocus",
|
63 |
+
"51": "dugong-dugon",
|
64 |
+
"52": "eidolon-helvum",
|
65 |
+
"53": "enhydra-lutris",
|
66 |
+
"54": "enteroctopus-dofleini",
|
67 |
+
"55": "equus-caballus",
|
68 |
+
"56": "equus-quagga",
|
69 |
+
"57": "eudocimus-albus",
|
70 |
+
"58": "eunectes-murinus",
|
71 |
+
"59": "falco-peregrinus",
|
72 |
+
"60": "felis-catus",
|
73 |
+
"61": "formicidae",
|
74 |
+
"62": "gallus-gallus-domesticus",
|
75 |
+
"63": "gavialis-gangeticus",
|
76 |
+
"64": "geococcyx-californianus",
|
77 |
+
"65": "giraffa-camelopardalis",
|
78 |
+
"66": "gorilla-gorilla",
|
79 |
+
"67": "haliaeetus-leucocephalus",
|
80 |
+
"68": "hapalochlaena-maculosa",
|
81 |
+
"69": "heloderma-suspectum",
|
82 |
+
"70": "heterocera",
|
83 |
+
"71": "hippopotamus-amphibius",
|
84 |
+
"72": "homo-sapiens",
|
85 |
+
"73": "hydrurga-leptonyx",
|
86 |
+
"74": "icterus-galbula",
|
87 |
+
"75": "icterus-gularis",
|
88 |
+
"76": "icterus-spurius",
|
89 |
+
"77": "iguana-iguana",
|
90 |
+
"78": "iguanodon-bernissartensis",
|
91 |
+
"79": "inia-geoffrensis",
|
92 |
+
"80": "lampropeltis-triangulum",
|
93 |
+
"81": "lemur-catta",
|
94 |
+
"82": "lepus-americanus",
|
95 |
+
"83": "loxodonta-africana",
|
96 |
+
"84": "macropus-giganteus",
|
97 |
+
"85": "malayopython-reticulatus",
|
98 |
+
"86": "mammuthus-primigeniu",
|
99 |
+
"87": "martes-americana",
|
100 |
+
"88": "megaptera-novaeangliae",
|
101 |
+
"89": "melanerpes-carolinus",
|
102 |
+
"90": "mellisuga-helenae",
|
103 |
+
"91": "mergus-serrator",
|
104 |
+
"92": "mimus-polyglottos",
|
105 |
+
"93": "monodon-monoceros",
|
106 |
+
"94": "musca-domestica",
|
107 |
+
"95": "odobenus-rosmarus",
|
108 |
+
"96": "okapia-johnstoni",
|
109 |
+
"97": "ophiophagus-hannah",
|
110 |
+
"98": "orcinus-orca",
|
111 |
+
"99": "ornithorhynchus-anatinus",
|
112 |
+
"100": "ovis-aries",
|
113 |
+
"101": "ovis-canadensis",
|
114 |
+
"102": "panthera-leo",
|
115 |
+
"103": "panthera-onca",
|
116 |
+
"104": "panthera-pardus",
|
117 |
+
"105": "panthera-tigris",
|
118 |
+
"106": "pantherophis-alleghaniensis",
|
119 |
+
"107": "pantherophis-guttatus",
|
120 |
+
"108": "papilio-glaucus",
|
121 |
+
"109": "passerina-ciris",
|
122 |
+
"110": "pavo-cristatus",
|
123 |
+
"111": "periplaneta-americana",
|
124 |
+
"112": "phascolarctos-cinereus",
|
125 |
+
"113": "phoebetria-fusca",
|
126 |
+
"114": "phoenicopterus-ruber",
|
127 |
+
"115": "phyllobates-terribilis",
|
128 |
+
"116": "physalia-physalis",
|
129 |
+
"117": "physeter-macrocephalus",
|
130 |
+
"118": "poecile-atricapillus",
|
131 |
+
"119": "pongo-abelii",
|
132 |
+
"120": "procyon-lotor",
|
133 |
+
"121": "pteranodon-longiceps",
|
134 |
+
"122": "pterois-mombasae",
|
135 |
+
"123": "pterois-volitans",
|
136 |
+
"124": "puma-concolor",
|
137 |
+
"125": "rattus-rattus",
|
138 |
+
"126": "rusa-unicolor",
|
139 |
+
"127": "salmo-salar",
|
140 |
+
"128": "sciurus-carolinensis",
|
141 |
+
"129": "smilodon-populator",
|
142 |
+
"130": "spheniscus-demersus",
|
143 |
+
"131": "sphyrna-mokarran",
|
144 |
+
"132": "spinosaurus-aegyptiacus",
|
145 |
+
"133": "stegosaurus-stenops",
|
146 |
+
"134": "struthio-camelus",
|
147 |
+
"135": "tapirus",
|
148 |
+
"136": "tarsius-pumilus",
|
149 |
+
"137": "taurotragus-oryx",
|
150 |
+
"138": "telmatobufo-bullocki",
|
151 |
+
"139": "thryothorus-ludovicianus",
|
152 |
+
"140": "triceratops-horridus",
|
153 |
+
"141": "trilobita",
|
154 |
+
"142": "turdus-migratorius",
|
155 |
+
"143": "tursiops-truncatus",
|
156 |
+
"144": "tyrannosaurus-rex",
|
157 |
+
"145": "tyrannus-tyrannus",
|
158 |
+
"146": "ursus-arctos-horribilis",
|
159 |
+
"147": "ursus-maritimus",
|
160 |
+
"148": "varanus-komodoensis",
|
161 |
+
"149": "vulpes-vulpes",
|
162 |
+
"150": "vultur-gryphus"
|
163 |
+
},
|
164 |
+
"image_size": 224,
|
165 |
+
"initializer_range": 0.02,
|
166 |
+
"intermediate_size": 3072,
|
167 |
+
"label2id": {
|
168 |
+
"acinonyx-jubatus": 0,
|
169 |
+
"aethia-cristatella": 1,
|
170 |
+
"agalychnis-callidryas": 2,
|
171 |
+
"agkistrodon-contortrix": 3,
|
172 |
+
"ailuropoda-melanoleuca": 4,
|
173 |
+
"ailurus-fulgens": 5,
|
174 |
+
"alces-alces": 6,
|
175 |
+
"anas-platyrhynchos": 7,
|
176 |
+
"ankylosaurus-magniventris": 8,
|
177 |
+
"apis-mellifera": 9,
|
178 |
+
"aptenodytes-forsteri": 10,
|
179 |
+
"aquila-chrysaetos": 11,
|
180 |
+
"ara-macao": 12,
|
181 |
+
"architeuthis-dux": 13,
|
182 |
+
"ardea-herodias": 14,
|
183 |
+
"balaenoptera-musculus": 15,
|
184 |
+
"betta-splendens": 16,
|
185 |
+
"bison-bison": 17,
|
186 |
+
"bos-gaurus": 18,
|
187 |
+
"bos-taurus": 19,
|
188 |
+
"bradypus-variegatus": 20,
|
189 |
+
"branta-canadensis": 21,
|
190 |
+
"canis-lupus": 22,
|
191 |
+
"canis-lupus-familiaris": 23,
|
192 |
+
"carcharodon-carcharias": 24,
|
193 |
+
"cardinalis-cardinalis": 25,
|
194 |
+
"cathartes-aura": 26,
|
195 |
+
"centrochelys-sulcata": 27,
|
196 |
+
"centruroides-vittatus": 28,
|
197 |
+
"ceratitis-capitata": 29,
|
198 |
+
"ceratotherium-simum": 30,
|
199 |
+
"chelonia-mydas": 31,
|
200 |
+
"chrysemys-picta": 32,
|
201 |
+
"circus-hudsonius": 33,
|
202 |
+
"codium-fragile": 34,
|
203 |
+
"coelacanthiformes": 35,
|
204 |
+
"colaptes-auratus": 36,
|
205 |
+
"connochaetes-gnou": 37,
|
206 |
+
"correlophus-ciliatus": 38,
|
207 |
+
"crocodylus-niloticus": 39,
|
208 |
+
"crotalus-atrox": 40,
|
209 |
+
"crotophaga-sulcirostris": 41,
|
210 |
+
"cryptoprocta-ferox": 42,
|
211 |
+
"cyanocitta-cristata": 43,
|
212 |
+
"danaus-plexippus": 44,
|
213 |
+
"dasypus-novemcinctus": 45,
|
214 |
+
"delphinapterus-leucas": 46,
|
215 |
+
"dendrobatidae": 47,
|
216 |
+
"dermochelys-coriacea": 48,
|
217 |
+
"desmodus-rotundus": 49,
|
218 |
+
"diplodocus": 50,
|
219 |
+
"dugong-dugon": 51,
|
220 |
+
"eidolon-helvum": 52,
|
221 |
+
"enhydra-lutris": 53,
|
222 |
+
"enteroctopus-dofleini": 54,
|
223 |
+
"equus-caballus": 55,
|
224 |
+
"equus-quagga": 56,
|
225 |
+
"eudocimus-albus": 57,
|
226 |
+
"eunectes-murinus": 58,
|
227 |
+
"falco-peregrinus": 59,
|
228 |
+
"felis-catus": 60,
|
229 |
+
"formicidae": 61,
|
230 |
+
"gallus-gallus-domesticus": 62,
|
231 |
+
"gavialis-gangeticus": 63,
|
232 |
+
"geococcyx-californianus": 64,
|
233 |
+
"giraffa-camelopardalis": 65,
|
234 |
+
"gorilla-gorilla": 66,
|
235 |
+
"haliaeetus-leucocephalus": 67,
|
236 |
+
"hapalochlaena-maculosa": 68,
|
237 |
+
"heloderma-suspectum": 69,
|
238 |
+
"heterocera": 70,
|
239 |
+
"hippopotamus-amphibius": 71,
|
240 |
+
"homo-sapiens": 72,
|
241 |
+
"hydrurga-leptonyx": 73,
|
242 |
+
"icterus-galbula": 74,
|
243 |
+
"icterus-gularis": 75,
|
244 |
+
"icterus-spurius": 76,
|
245 |
+
"iguana-iguana": 77,
|
246 |
+
"iguanodon-bernissartensis": 78,
|
247 |
+
"inia-geoffrensis": 79,
|
248 |
+
"lampropeltis-triangulum": 80,
|
249 |
+
"lemur-catta": 81,
|
250 |
+
"lepus-americanus": 82,
|
251 |
+
"loxodonta-africana": 83,
|
252 |
+
"macropus-giganteus": 84,
|
253 |
+
"malayopython-reticulatus": 85,
|
254 |
+
"mammuthus-primigeniu": 86,
|
255 |
+
"martes-americana": 87,
|
256 |
+
"megaptera-novaeangliae": 88,
|
257 |
+
"melanerpes-carolinus": 89,
|
258 |
+
"mellisuga-helenae": 90,
|
259 |
+
"mergus-serrator": 91,
|
260 |
+
"mimus-polyglottos": 92,
|
261 |
+
"monodon-monoceros": 93,
|
262 |
+
"musca-domestica": 94,
|
263 |
+
"odobenus-rosmarus": 95,
|
264 |
+
"okapia-johnstoni": 96,
|
265 |
+
"ophiophagus-hannah": 97,
|
266 |
+
"orcinus-orca": 98,
|
267 |
+
"ornithorhynchus-anatinus": 99,
|
268 |
+
"ovis-aries": 100,
|
269 |
+
"ovis-canadensis": 101,
|
270 |
+
"panthera-leo": 102,
|
271 |
+
"panthera-onca": 103,
|
272 |
+
"panthera-pardus": 104,
|
273 |
+
"panthera-tigris": 105,
|
274 |
+
"pantherophis-alleghaniensis": 106,
|
275 |
+
"pantherophis-guttatus": 107,
|
276 |
+
"papilio-glaucus": 108,
|
277 |
+
"passerina-ciris": 109,
|
278 |
+
"pavo-cristatus": 110,
|
279 |
+
"periplaneta-americana": 111,
|
280 |
+
"phascolarctos-cinereus": 112,
|
281 |
+
"phoebetria-fusca": 113,
|
282 |
+
"phoenicopterus-ruber": 114,
|
283 |
+
"phyllobates-terribilis": 115,
|
284 |
+
"physalia-physalis": 116,
|
285 |
+
"physeter-macrocephalus": 117,
|
286 |
+
"poecile-atricapillus": 118,
|
287 |
+
"pongo-abelii": 119,
|
288 |
+
"procyon-lotor": 120,
|
289 |
+
"pteranodon-longiceps": 121,
|
290 |
+
"pterois-mombasae": 122,
|
291 |
+
"pterois-volitans": 123,
|
292 |
+
"puma-concolor": 124,
|
293 |
+
"rattus-rattus": 125,
|
294 |
+
"rusa-unicolor": 126,
|
295 |
+
"salmo-salar": 127,
|
296 |
+
"sciurus-carolinensis": 128,
|
297 |
+
"smilodon-populator": 129,
|
298 |
+
"spheniscus-demersus": 130,
|
299 |
+
"sphyrna-mokarran": 131,
|
300 |
+
"spinosaurus-aegyptiacus": 132,
|
301 |
+
"stegosaurus-stenops": 133,
|
302 |
+
"struthio-camelus": 134,
|
303 |
+
"tapirus": 135,
|
304 |
+
"tarsius-pumilus": 136,
|
305 |
+
"taurotragus-oryx": 137,
|
306 |
+
"telmatobufo-bullocki": 138,
|
307 |
+
"thryothorus-ludovicianus": 139,
|
308 |
+
"triceratops-horridus": 140,
|
309 |
+
"trilobita": 141,
|
310 |
+
"turdus-migratorius": 142,
|
311 |
+
"tursiops-truncatus": 143,
|
312 |
+
"tyrannosaurus-rex": 144,
|
313 |
+
"tyrannus-tyrannus": 145,
|
314 |
+
"ursus-arctos-horribilis": 146,
|
315 |
+
"ursus-maritimus": 147,
|
316 |
+
"varanus-komodoensis": 148,
|
317 |
+
"vulpes-vulpes": 149,
|
318 |
+
"vultur-gryphus": 150
|
319 |
+
},
|
320 |
+
"layer_norm_eps": 1e-12,
|
321 |
+
"model_type": "vit",
|
322 |
+
"num_attention_heads": 12,
|
323 |
+
"num_channels": 3,
|
324 |
+
"num_hidden_layers": 12,
|
325 |
+
"patch_size": 16,
|
326 |
+
"problem_type": "single_label_classification",
|
327 |
+
"qkv_bias": true,
|
328 |
+
"torch_dtype": "float32",
|
329 |
+
"transformers_version": "4.46.2"
|
330 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c9437297e234cda7a47731fdc845042e12c8de8065ed371dfe71d246a969c60
|
3 |
+
size 343682308
|
preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"image_mean": [
|
6 |
+
0.5,
|
7 |
+
0.5,
|
8 |
+
0.5
|
9 |
+
],
|
10 |
+
"image_processor_type": "ViTImageProcessor",
|
11 |
+
"image_std": [
|
12 |
+
0.5,
|
13 |
+
0.5,
|
14 |
+
0.5
|
15 |
+
],
|
16 |
+
"resample": 2,
|
17 |
+
"rescale_factor": 0.00392156862745098,
|
18 |
+
"size": {
|
19 |
+
"height": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|