Xenova HF staff commited on
Commit
bb784da
·
verified ·
1 Parent(s): 2255f37

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,237 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "czczup/textnet-base",
4
+ "architectures": [
5
+ "TextNetBackbone"
6
+ ],
7
+ "batch_norm_eps": 1e-05,
8
+ "conv_layer_kernel_sizes": [
9
+ [
10
+ [
11
+ 3,
12
+ 3
13
+ ],
14
+ [
15
+ 3,
16
+ 3
17
+ ],
18
+ [
19
+ 3,
20
+ 1
21
+ ],
22
+ [
23
+ 3,
24
+ 3
25
+ ],
26
+ [
27
+ 3,
28
+ 1
29
+ ],
30
+ [
31
+ 3,
32
+ 3
33
+ ],
34
+ [
35
+ 3,
36
+ 3
37
+ ],
38
+ [
39
+ 1,
40
+ 3
41
+ ],
42
+ [
43
+ 3,
44
+ 3
45
+ ],
46
+ [
47
+ 3,
48
+ 3
49
+ ]
50
+ ],
51
+ [
52
+ [
53
+ 3,
54
+ 3
55
+ ],
56
+ [
57
+ 1,
58
+ 3
59
+ ],
60
+ [
61
+ 3,
62
+ 3
63
+ ],
64
+ [
65
+ 3,
66
+ 1
67
+ ],
68
+ [
69
+ 3,
70
+ 3
71
+ ],
72
+ [
73
+ 3,
74
+ 3
75
+ ],
76
+ [
77
+ 3,
78
+ 1
79
+ ],
80
+ [
81
+ 3,
82
+ 1
83
+ ],
84
+ [
85
+ 3,
86
+ 3
87
+ ],
88
+ [
89
+ 3,
90
+ 3
91
+ ]
92
+ ],
93
+ [
94
+ [
95
+ 3,
96
+ 3
97
+ ],
98
+ [
99
+ 3,
100
+ 3
101
+ ],
102
+ [
103
+ 3,
104
+ 3
105
+ ],
106
+ [
107
+ 1,
108
+ 3
109
+ ],
110
+ [
111
+ 3,
112
+ 3
113
+ ],
114
+ [
115
+ 3,
116
+ 1
117
+ ],
118
+ [
119
+ 3,
120
+ 3
121
+ ],
122
+ [
123
+ 3,
124
+ 1
125
+ ]
126
+ ],
127
+ [
128
+ [
129
+ 3,
130
+ 3
131
+ ],
132
+ [
133
+ 1,
134
+ 3
135
+ ],
136
+ [
137
+ 3,
138
+ 1
139
+ ],
140
+ [
141
+ 3,
142
+ 1
143
+ ],
144
+ [
145
+ 1,
146
+ 3
147
+ ]
148
+ ]
149
+ ],
150
+ "conv_layer_strides": [
151
+ [
152
+ 1,
153
+ 2,
154
+ 1,
155
+ 1,
156
+ 1,
157
+ 1,
158
+ 1,
159
+ 1,
160
+ 1,
161
+ 1
162
+ ],
163
+ [
164
+ 2,
165
+ 1,
166
+ 1,
167
+ 1,
168
+ 1,
169
+ 1,
170
+ 1,
171
+ 1,
172
+ 1,
173
+ 1
174
+ ],
175
+ [
176
+ 2,
177
+ 1,
178
+ 1,
179
+ 1,
180
+ 1,
181
+ 1,
182
+ 1,
183
+ 1
184
+ ],
185
+ [
186
+ 2,
187
+ 1,
188
+ 1,
189
+ 1,
190
+ 1
191
+ ]
192
+ ],
193
+ "depths": [
194
+ 10,
195
+ 10,
196
+ 8,
197
+ 5
198
+ ],
199
+ "hidden_sizes": [
200
+ 64,
201
+ 64,
202
+ 128,
203
+ 256,
204
+ 512
205
+ ],
206
+ "image_size": [
207
+ 640,
208
+ 640
209
+ ],
210
+ "initializer_range": 0.02,
211
+ "model_type": "textnet",
212
+ "out_features": [
213
+ "stage1",
214
+ "stage2",
215
+ "stage3",
216
+ "stage4"
217
+ ],
218
+ "out_indices": [
219
+ 1,
220
+ 2,
221
+ 3,
222
+ 4
223
+ ],
224
+ "stage_names": [
225
+ "stem",
226
+ "stage1",
227
+ "stage2",
228
+ "stage3",
229
+ "stage4"
230
+ ],
231
+ "stem_act_func": "relu",
232
+ "stem_kernel_size": 3,
233
+ "stem_num_channels": 3,
234
+ "stem_out_channels": 64,
235
+ "stem_stride": 2,
236
+ "transformers_version": "4.48.0.dev0"
237
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77fccfedb8591d4e37a6c3baa4008cc3bb821f71367c09671cb33ae941b4ba69
3
+ size 54127718
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f67f1088ca67c82961e0034db6f03afbcd9bfe2fc696f3116b169b6a65be87a0
3
+ size 54127737
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37512a986dedab4cf9eea24c11b6d459ac7edb839797d8f26e780798d4f58fb0
3
+ size 27120576
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:86c5f77d42fb076542ad8e50b026a53a65c89dce35f3539ed32baeee48032e40
3
+ size 13874689
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f67f1088ca67c82961e0034db6f03afbcd9bfe2fc696f3116b169b6a65be87a0
3
+ size 54127737
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8076a923bc9100d3151d55944f984994841010e64a66e40cb9c715ea564c3865
3
+ size 27120595
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026928f57660475744ce153be5847392f52347335aa39f8c5c2325af6af1f3de
3
+ size 13874689
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:026928f57660475744ce153be5847392f52347335aa39f8c5c2325af6af1f3de
3
+ size 13874689
preprocessor_config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": false,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.485,
13
+ 0.456,
14
+ 0.406
15
+ ],
16
+ "image_processor_type": "TextNetImageProcessor",
17
+ "image_std": [
18
+ 0.229,
19
+ 0.224,
20
+ 0.225
21
+ ],
22
+ "resample": 2,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 640
26
+ },
27
+ "size_divisor": 32
28
+ }
quantize_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "modes": [
3
+ "fp16",
4
+ "q8",
5
+ "int8",
6
+ "uint8",
7
+ "q4",
8
+ "q4f16",
9
+ "bnb4"
10
+ ],
11
+ "per_channel": true,
12
+ "reduce_range": true,
13
+ "block_size": null,
14
+ "is_symmetric": true,
15
+ "accuracy_level": null,
16
+ "quant_type": 1,
17
+ "op_block_list": null
18
+ }