syedmuhammad
commited on
Commit
•
586aaa5
1
Parent(s):
ea6b93c
Upload CvtForImageClassification
Browse files- config.json +118 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/cvt-21",
|
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 |
+
4,
|
19 |
+
16
|
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": "Nrdr",
|
38 |
+
"1": "Rdr"
|
39 |
+
},
|
40 |
+
"image_size": 224,
|
41 |
+
"initializer_range": 0.02,
|
42 |
+
"kernel_qkv": [
|
43 |
+
3,
|
44 |
+
3,
|
45 |
+
3
|
46 |
+
],
|
47 |
+
"label2id": {
|
48 |
+
"Nrdr": 0,
|
49 |
+
"Rdr": 1
|
50 |
+
},
|
51 |
+
"layer_norm_eps": 1e-12,
|
52 |
+
"mlp_ratio": [
|
53 |
+
4.0,
|
54 |
+
4.0,
|
55 |
+
4.0
|
56 |
+
],
|
57 |
+
"model_type": "cvt",
|
58 |
+
"num_channels": 3,
|
59 |
+
"num_heads": [
|
60 |
+
1,
|
61 |
+
3,
|
62 |
+
6
|
63 |
+
],
|
64 |
+
"num_stages": 3,
|
65 |
+
"padding_kv": [
|
66 |
+
1,
|
67 |
+
1,
|
68 |
+
1
|
69 |
+
],
|
70 |
+
"padding_q": [
|
71 |
+
1,
|
72 |
+
1,
|
73 |
+
1
|
74 |
+
],
|
75 |
+
"patch_padding": [
|
76 |
+
2,
|
77 |
+
1,
|
78 |
+
1
|
79 |
+
],
|
80 |
+
"patch_sizes": [
|
81 |
+
7,
|
82 |
+
3,
|
83 |
+
3
|
84 |
+
],
|
85 |
+
"patch_stride": [
|
86 |
+
4,
|
87 |
+
2,
|
88 |
+
2
|
89 |
+
],
|
90 |
+
"pos_embed": [
|
91 |
+
false,
|
92 |
+
false,
|
93 |
+
false
|
94 |
+
],
|
95 |
+
"problem_type": "single_label_classification",
|
96 |
+
"qkv_bias": [
|
97 |
+
true,
|
98 |
+
true,
|
99 |
+
true
|
100 |
+
],
|
101 |
+
"qkv_projection_method": [
|
102 |
+
"dw_bn",
|
103 |
+
"dw_bn",
|
104 |
+
"dw_bn"
|
105 |
+
],
|
106 |
+
"stride_kv": [
|
107 |
+
2,
|
108 |
+
2,
|
109 |
+
2
|
110 |
+
],
|
111 |
+
"stride_q": [
|
112 |
+
1,
|
113 |
+
1,
|
114 |
+
1
|
115 |
+
],
|
116 |
+
"torch_dtype": "float32",
|
117 |
+
"transformers_version": "4.34.0"
|
118 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5d0ee8aaeececa3820a8810afab68e9dc2ecbd5471740678ae8fc21d11ee1fe8
|
3 |
+
size 125404665
|