ONNX
farhanlodi commited on
Commit
78acdfa
·
verified ·
1 Parent(s): ecb4981

Upload 5 files

Browse files
PP-DocLayout-M.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34ecdc84e60d5f5822fab85e3e97f30ca73fdc6c7c0aa10b3bd7227742a574b5
3
+ size 23496727
PP-DocLayout-M.yml ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ mode: paddle
2
+ draw_threshold: 0.5
3
+ metric: COCO
4
+ use_dynamic_shape: false
5
+ Global:
6
+ model_name: PP-DocLayout-M
7
+ arch: GFL
8
+ min_subgraph_size: 3
9
+ Preprocess:
10
+ - interp: 2
11
+ keep_ratio: false
12
+ target_size:
13
+ - 640
14
+ - 640
15
+ type: Resize
16
+ - is_scale: true
17
+ mean:
18
+ - 0.485
19
+ - 0.456
20
+ - 0.406
21
+ std:
22
+ - 0.229
23
+ - 0.224
24
+ - 0.225
25
+ type: NormalizeImage
26
+ - type: Permute
27
+ label_list:
28
+ - paragraph_title
29
+ - image
30
+ - text
31
+ - number
32
+ - abstract
33
+ - content
34
+ - figure_title
35
+ - formula
36
+ - table
37
+ - table_title
38
+ - reference
39
+ - doc_title
40
+ - footnote
41
+ - header
42
+ - algorithm
43
+ - footer
44
+ - seal
45
+ - chart_title
46
+ - chart
47
+ - formula_number
48
+ - header_image
49
+ - footer_image
50
+ - aside_text
51
+ Hpi:
52
+ backend_configs:
53
+ paddle_infer:
54
+ trt_dynamic_shapes: &id001
55
+ image:
56
+ - - 1
57
+ - 3
58
+ - 640
59
+ - 640
60
+ - - 1
61
+ - 3
62
+ - 640
63
+ - 640
64
+ - - 8
65
+ - 3
66
+ - 640
67
+ - 640
68
+ scale_factor:
69
+ - - 1
70
+ - 2
71
+ - - 1
72
+ - 2
73
+ - - 8
74
+ - 2
75
+ trt_dynamic_shape_input_data:
76
+ scale_factor:
77
+ - - 2
78
+ - 2
79
+ - - 1
80
+ - 1
81
+ - - 0.67
82
+ - 0.67
83
+ - 0.67
84
+ - 0.67
85
+ - 0.67
86
+ - 0.67
87
+ - 0.67
88
+ - 0.67
89
+ - 0.67
90
+ - 0.67
91
+ - 0.67
92
+ - 0.67
93
+ - 0.67
94
+ - 0.67
95
+ - 0.67
96
+ - 0.67
97
+ tensorrt:
98
+ dynamic_shapes: *id001
99
+ NMS:
100
+ keep_top_k: 100
101
+ name: MultiClassNMS
102
+ nms_threshold: 0.5
103
+ nms_top_k: 1000
104
+ score_threshold: 0.3
105
+ fpn_stride:
106
+ - 8
107
+ - 16
108
+ - 32
109
+ - 64
PP-DocLayout-S.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3a5864e9f29bfddf7ea447ce03cd42adde0a49cea93191d7858e95407d0040a
3
+ size 4914918
PP-DocLayout-S.yml ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ mode: paddle
2
+ draw_threshold: 0.5
3
+ metric: COCO
4
+ use_dynamic_shape: false
5
+ Global:
6
+ model_name: PP-DocLayout-S
7
+ arch: GFL
8
+ min_subgraph_size: 3
9
+ Preprocess:
10
+ - interp: 2
11
+ keep_ratio: false
12
+ target_size:
13
+ - 480
14
+ - 480
15
+ type: Resize
16
+ - is_scale: true
17
+ mean:
18
+ - 0.485
19
+ - 0.456
20
+ - 0.406
21
+ std:
22
+ - 0.229
23
+ - 0.224
24
+ - 0.225
25
+ type: NormalizeImage
26
+ - type: Permute
27
+ label_list:
28
+ - paragraph_title
29
+ - image
30
+ - text
31
+ - number
32
+ - abstract
33
+ - content
34
+ - figure_title
35
+ - formula
36
+ - table
37
+ - table_title
38
+ - reference
39
+ - doc_title
40
+ - footnote
41
+ - header
42
+ - algorithm
43
+ - footer
44
+ - seal
45
+ - chart_title
46
+ - chart
47
+ - formula_number
48
+ - header_image
49
+ - footer_image
50
+ - aside_text
51
+ Hpi:
52
+ backend_configs:
53
+ paddle_infer:
54
+ trt_dynamic_shapes: &id001
55
+ image:
56
+ - - 1
57
+ - 3
58
+ - 480
59
+ - 480
60
+ - - 1
61
+ - 3
62
+ - 480
63
+ - 480
64
+ - - 8
65
+ - 3
66
+ - 480
67
+ - 480
68
+ scale_factor:
69
+ - - 1
70
+ - 2
71
+ - - 1
72
+ - 2
73
+ - - 8
74
+ - 2
75
+ trt_dynamic_shape_input_data:
76
+ scale_factor:
77
+ - - 2
78
+ - 2
79
+ - - 1
80
+ - 1
81
+ - - 0.67
82
+ - 0.67
83
+ - 0.67
84
+ - 0.67
85
+ - 0.67
86
+ - 0.67
87
+ - 0.67
88
+ - 0.67
89
+ - 0.67
90
+ - 0.67
91
+ - 0.67
92
+ - 0.67
93
+ - 0.67
94
+ - 0.67
95
+ - 0.67
96
+ - 0.67
97
+ tensorrt:
98
+ dynamic_shapes: *id001
99
+ NMS:
100
+ keep_top_k: 100
101
+ name: MultiClassNMS
102
+ nms_threshold: 0.5
103
+ nms_top_k: 1000
104
+ score_threshold: 0.3
105
+ fpn_stride:
106
+ - 8
107
+ - 16
108
+ - 32
109
+ - 64