Xenova HF staff commited on
Commit
3ead12f
·
verified ·
1 Parent(s): 580214c

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "_name_or_path": "czczup/textnet-tiny",
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
+ 3
21
+ ]
22
+ ],
23
+ [
24
+ [
25
+ 3,
26
+ 3
27
+ ],
28
+ [
29
+ 1,
30
+ 3
31
+ ],
32
+ [
33
+ 3,
34
+ 3
35
+ ],
36
+ [
37
+ 3,
38
+ 1
39
+ ]
40
+ ],
41
+ [
42
+ [
43
+ 3,
44
+ 3
45
+ ],
46
+ [
47
+ 3,
48
+ 3
49
+ ],
50
+ [
51
+ 3,
52
+ 1
53
+ ],
54
+ [
55
+ 1,
56
+ 3
57
+ ]
58
+ ],
59
+ [
60
+ [
61
+ 3,
62
+ 3
63
+ ],
64
+ [
65
+ 3,
66
+ 1
67
+ ],
68
+ [
69
+ 1,
70
+ 3
71
+ ],
72
+ [
73
+ 3,
74
+ 3
75
+ ]
76
+ ]
77
+ ],
78
+ "conv_layer_strides": [
79
+ [
80
+ 1,
81
+ 2,
82
+ 1
83
+ ],
84
+ [
85
+ 2,
86
+ 1,
87
+ 1,
88
+ 1
89
+ ],
90
+ [
91
+ 2,
92
+ 1,
93
+ 1,
94
+ 1
95
+ ],
96
+ [
97
+ 2,
98
+ 1,
99
+ 1,
100
+ 1
101
+ ]
102
+ ],
103
+ "depths": [
104
+ 3,
105
+ 4,
106
+ 4,
107
+ 4
108
+ ],
109
+ "hidden_sizes": [
110
+ 64,
111
+ 64,
112
+ 128,
113
+ 256,
114
+ 512
115
+ ],
116
+ "image_size": [
117
+ 640,
118
+ 640
119
+ ],
120
+ "initializer_range": 0.02,
121
+ "model_type": "textnet",
122
+ "out_features": [
123
+ "stage1",
124
+ "stage2",
125
+ "stage3",
126
+ "stage4"
127
+ ],
128
+ "out_indices": [
129
+ 1,
130
+ 2,
131
+ 3,
132
+ 4
133
+ ],
134
+ "stage_names": [
135
+ "stem",
136
+ "stage1",
137
+ "stage2",
138
+ "stage3",
139
+ "stage4"
140
+ ],
141
+ "stem_act_func": "relu",
142
+ "stem_kernel_size": 3,
143
+ "stem_num_channels": 3,
144
+ "stem_out_channels": 64,
145
+ "stem_stride": 2,
146
+ "transformers_version": "4.48.0.dev0"
147
+ }
onnx/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9719bcc05ad9d0ee5552f38d81600c0d5c6871d4aa414b580e568729ad10071
3
+ size 42853260
onnx/model_bnb4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a161f98cd9f1f3d9c4fa762c06fe81910c26fd63b629d1ff6517387f9836adb1
3
+ size 42853279
onnx/model_fp16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cc86ef2d95fe0e9733523ffdd3d84db073cc91aeeb1a1cd1f066e4c8cb66026
3
+ size 21451762
onnx/model_int8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:75ce06d8ad20db43229bcf52f8f2962cca6969a63b34d1845f7a9dac383c8730
3
+ size 10879041
onnx/model_q4.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a161f98cd9f1f3d9c4fa762c06fe81910c26fd63b629d1ff6517387f9836adb1
3
+ size 42853279
onnx/model_q4f16.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3b88dd6e9d9da3ba6d0720570bbecfab08afa71f69e85c8df595c7d7a5272e77
3
+ size 21451781
onnx/model_quantized.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b75a7c714c86a8ff8cb5dba1ca71b2cf0dacb8ff7ba8cd4cadd732728669aec
3
+ size 10879041
onnx/model_uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b75a7c714c86a8ff8cb5dba1ca71b2cf0dacb8ff7ba8cd4cadd732728669aec
3
+ size 10879041
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
+ }