add model
Browse files- config.json +84 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/swin-tiny-patch4-window7-224",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "apple",
|
21 |
+
"1": "banana",
|
22 |
+
"2": "cake",
|
23 |
+
"3": "candy",
|
24 |
+
"4": "carrot",
|
25 |
+
"5": "cookie",
|
26 |
+
"6": "doughnut",
|
27 |
+
"7": "grape",
|
28 |
+
"8": "hot dog",
|
29 |
+
"9": "ice cream",
|
30 |
+
"10": "juice",
|
31 |
+
"11": "muffin",
|
32 |
+
"12": "orange",
|
33 |
+
"13": "pineapple",
|
34 |
+
"14": "popcorn",
|
35 |
+
"15": "pretzel",
|
36 |
+
"16": "salad",
|
37 |
+
"17": "strawberry",
|
38 |
+
"18": "waffle",
|
39 |
+
"19": "watermelon"
|
40 |
+
},
|
41 |
+
"image_size": 224,
|
42 |
+
"initializer_range": 0.02,
|
43 |
+
"label2id": {
|
44 |
+
"apple": 0,
|
45 |
+
"banana": 1,
|
46 |
+
"cake": 2,
|
47 |
+
"candy": 3,
|
48 |
+
"carrot": 4,
|
49 |
+
"cookie": 5,
|
50 |
+
"doughnut": 6,
|
51 |
+
"grape": 7,
|
52 |
+
"hot dog": 8,
|
53 |
+
"ice cream": 9,
|
54 |
+
"juice": 10,
|
55 |
+
"muffin": 11,
|
56 |
+
"orange": 12,
|
57 |
+
"pineapple": 13,
|
58 |
+
"popcorn": 14,
|
59 |
+
"pretzel": 15,
|
60 |
+
"salad": 16,
|
61 |
+
"strawberry": 17,
|
62 |
+
"waffle": 18,
|
63 |
+
"watermelon": 19
|
64 |
+
},
|
65 |
+
"layer_norm_eps": 1e-05,
|
66 |
+
"mlp_ratio": 4.0,
|
67 |
+
"model_type": "swin",
|
68 |
+
"num_channels": 3,
|
69 |
+
"num_heads": [
|
70 |
+
3,
|
71 |
+
6,
|
72 |
+
12,
|
73 |
+
24
|
74 |
+
],
|
75 |
+
"num_layers": 4,
|
76 |
+
"patch_size": 4,
|
77 |
+
"path_norm": true,
|
78 |
+
"problem_type": "single_label_classification",
|
79 |
+
"qkv_bias": true,
|
80 |
+
"torch_dtype": "float32",
|
81 |
+
"transformers_version": "4.18.0",
|
82 |
+
"use_absolute_embeddings": false,
|
83 |
+
"window_size": 7
|
84 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8da7942235317e2dbcd13410fc5895273932ce0a6018ab499639b6582f8895d1
|
3 |
+
size 110448239
|