TheSleepyJo
commited on
Commit
•
b0fd3ac
1
Parent(s):
067fdde
Upload CvtForImageClassification
Browse files- config.json +122 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,122 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/cvt-13",
|
3 |
+
"architectures": [
|
4 |
+
"CvtForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_drop_rate": [
|
7 |
+
0.0,
|
8 |
+
0.0,
|
9 |
+
0.0
|
10 |
+
],
|
11 |
+
"cls_token": [
|
12 |
+
false,
|
13 |
+
false,
|
14 |
+
true
|
15 |
+
],
|
16 |
+
"depth": [
|
17 |
+
1,
|
18 |
+
2,
|
19 |
+
10
|
20 |
+
],
|
21 |
+
"drop_path_rate": [
|
22 |
+
0.0,
|
23 |
+
0.0,
|
24 |
+
0.1
|
25 |
+
],
|
26 |
+
"drop_rate": [
|
27 |
+
0.0,
|
28 |
+
0.0,
|
29 |
+
0.0
|
30 |
+
],
|
31 |
+
"embed_dim": [
|
32 |
+
64,
|
33 |
+
192,
|
34 |
+
384
|
35 |
+
],
|
36 |
+
"id2label": {
|
37 |
+
"0": "fresh",
|
38 |
+
"1": "not_fresh",
|
39 |
+
"2": "spoiled",
|
40 |
+
"3": "very_fresh"
|
41 |
+
},
|
42 |
+
"image_size": 224,
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"kernel_qkv": [
|
45 |
+
3,
|
46 |
+
3,
|
47 |
+
3
|
48 |
+
],
|
49 |
+
"label2id": {
|
50 |
+
"fresh": "0",
|
51 |
+
"not_fresh": "1",
|
52 |
+
"spoiled": "2",
|
53 |
+
"very_fresh": "3"
|
54 |
+
},
|
55 |
+
"layer_norm_eps": 1e-12,
|
56 |
+
"mlp_ratio": [
|
57 |
+
4.0,
|
58 |
+
4.0,
|
59 |
+
4.0
|
60 |
+
],
|
61 |
+
"model_type": "cvt",
|
62 |
+
"num_channels": 3,
|
63 |
+
"num_heads": [
|
64 |
+
1,
|
65 |
+
3,
|
66 |
+
6
|
67 |
+
],
|
68 |
+
"num_stages": 3,
|
69 |
+
"padding_kv": [
|
70 |
+
1,
|
71 |
+
1,
|
72 |
+
1
|
73 |
+
],
|
74 |
+
"padding_q": [
|
75 |
+
1,
|
76 |
+
1,
|
77 |
+
1
|
78 |
+
],
|
79 |
+
"patch_padding": [
|
80 |
+
2,
|
81 |
+
1,
|
82 |
+
1
|
83 |
+
],
|
84 |
+
"patch_sizes": [
|
85 |
+
7,
|
86 |
+
3,
|
87 |
+
3
|
88 |
+
],
|
89 |
+
"patch_stride": [
|
90 |
+
4,
|
91 |
+
2,
|
92 |
+
2
|
93 |
+
],
|
94 |
+
"pos_embed": [
|
95 |
+
false,
|
96 |
+
false,
|
97 |
+
false
|
98 |
+
],
|
99 |
+
"problem_type": "single_label_classification",
|
100 |
+
"qkv_bias": [
|
101 |
+
true,
|
102 |
+
true,
|
103 |
+
true
|
104 |
+
],
|
105 |
+
"qkv_projection_method": [
|
106 |
+
"dw_bn",
|
107 |
+
"dw_bn",
|
108 |
+
"dw_bn"
|
109 |
+
],
|
110 |
+
"stride_kv": [
|
111 |
+
2,
|
112 |
+
2,
|
113 |
+
2
|
114 |
+
],
|
115 |
+
"stride_q": [
|
116 |
+
1,
|
117 |
+
1,
|
118 |
+
1
|
119 |
+
],
|
120 |
+
"torch_dtype": "float32",
|
121 |
+
"transformers_version": "4.31.0"
|
122 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e2e83157f2e46b792fa544c80787c45aaaef97eabdfbe948a0e431a05ce2841
|
3 |
+
size 78736377
|