alex-dinh commited on
Commit
070f2d2
·
verified ·
1 Parent(s): b7536d1

Create config.json

Browse files

Added for download tracking

Files changed (1) hide show
  1. config.json +176 -0
config.json ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "mode": "paddle",
3
+ "draw_threshold": 0.5,
4
+ "metric": "COCO",
5
+ "use_dynamic_shape": false,
6
+ "Global": {
7
+ "model_name": "PP-DocLayoutV2"
8
+ },
9
+ "arch": "DETR",
10
+ "min_subgraph_size": 3,
11
+ "Preprocess": [
12
+ {
13
+ "interp": 2,
14
+ "keep_ratio": false,
15
+ "target_size": [
16
+ 800,
17
+ 800
18
+ ],
19
+ "type": "Resize"
20
+ },
21
+ {
22
+ "mean": [
23
+ 0.0,
24
+ 0.0,
25
+ 0.0
26
+ ],
27
+ "norm_type": "none",
28
+ "std": [
29
+ 1.0,
30
+ 1.0,
31
+ 1.0
32
+ ],
33
+ "type": "NormalizeImage"
34
+ },
35
+ {
36
+ "type": "Permute"
37
+ }
38
+ ],
39
+ "label_list": [
40
+ "abstract",
41
+ "algorithm",
42
+ "aside_text",
43
+ "chart",
44
+ "content",
45
+ "display_formula",
46
+ "doc_title",
47
+ "figure_title",
48
+ "footer",
49
+ "footer_image",
50
+ "footnote",
51
+ "formula_number",
52
+ "header",
53
+ "header_image",
54
+ "image",
55
+ "inline_formula",
56
+ "number",
57
+ "paragraph_title",
58
+ "reference",
59
+ "reference_content",
60
+ "seal",
61
+ "table",
62
+ "text",
63
+ "vertical_text",
64
+ "vision_footnote"
65
+ ],
66
+ "Hpi": {
67
+ "backend_configs": {
68
+ "paddle_infer": {
69
+ "trt_dynamic_shapes": {
70
+ "image": [
71
+ [
72
+ 1,
73
+ 3,
74
+ 800,
75
+ 800
76
+ ],
77
+ [
78
+ 1,
79
+ 3,
80
+ 800,
81
+ 800
82
+ ],
83
+ [
84
+ 8,
85
+ 3,
86
+ 800,
87
+ 800
88
+ ]
89
+ ],
90
+ "scale_factor": [
91
+ [
92
+ 1,
93
+ 2
94
+ ],
95
+ [
96
+ 1,
97
+ 2
98
+ ],
99
+ [
100
+ 8,
101
+ 2
102
+ ]
103
+ ]
104
+ },
105
+ "trt_dynamic_shape_input_data": {
106
+ "scale_factor": [
107
+ [
108
+ 2,
109
+ 2
110
+ ],
111
+ [
112
+ 1,
113
+ 1
114
+ ],
115
+ [
116
+ 0.67,
117
+ 0.67,
118
+ 0.67,
119
+ 0.67,
120
+ 0.67,
121
+ 0.67,
122
+ 0.67,
123
+ 0.67,
124
+ 0.67,
125
+ 0.67,
126
+ 0.67,
127
+ 0.67,
128
+ 0.67,
129
+ 0.67,
130
+ 0.67,
131
+ 0.67
132
+ ]
133
+ ]
134
+ }
135
+ },
136
+ "tensorrt": {
137
+ "dynamic_shapes": {
138
+ "image": [
139
+ [
140
+ 1,
141
+ 3,
142
+ 800,
143
+ 800
144
+ ],
145
+ [
146
+ 1,
147
+ 3,
148
+ 800,
149
+ 800
150
+ ],
151
+ [
152
+ 8,
153
+ 3,
154
+ 800,
155
+ 800
156
+ ]
157
+ ],
158
+ "scale_factor": [
159
+ [
160
+ 1,
161
+ 2
162
+ ],
163
+ [
164
+ 1,
165
+ 2
166
+ ],
167
+ [
168
+ 8,
169
+ 2
170
+ ]
171
+ ]
172
+ }
173
+ }
174
+ }
175
+ }
176
+ }