Skip to content

Commit 5c620ce

Browse files
authored
update pp-structurev3 config (#3664)
1 parent 7e70e2d commit 5c620ce

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

paddlex/configs/pipelines/PP-StructureV3.yaml

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,30 @@ SubModules:
3737
21: 0.5 # footer_image
3838
22: 0.5 # aside_text
3939
layout_nms: True
40-
layout_unclip_ratio: 1.0
41-
2: 1.0 # text
42-
7: 1.0 # formula
43-
8: 1.0 # table
40+
layout_unclip_ratio:
41+
0: [1.0, 1.0] # paragraph_title
42+
1: [1.0, 1.0] # image
43+
2: [1.0, 1.0] # text
44+
3: [1.0, 1.0] # number
45+
4: [1.0, 1.0] # abstract
46+
5: [1.0, 1.0] # content
47+
6: [1.0, 1.0] # figure_title
48+
7: [1.0, 1.0] # formula
49+
8: [1.0, 1.0] # table
50+
9: [1.0, 1.0] # table_title
51+
10: [1.0, 1.0] # reference
52+
11: [1.0, 1.0] # doc_title
53+
12: [1.0, 1.0] # footnote
54+
13: [1.0, 1.0] # header
55+
14: [1.0, 1.0] # algorithm
56+
15: [1.0, 1.0] # footer
57+
16: [1.0, 1.0] # seal
58+
17: [1.0, 1.0] # chart_title
59+
18: [1.0, 1.0] # chart
60+
19: [1.0, 1.0] # formula_number
61+
20: [1.0, 1.0] # header_image
62+
21: [1.0, 1.0] # footer_image
63+
22: [1.0, 1.0] # aside_text
4464
layout_merge_bboxes_mode:
4565
0: "union" # paragraph_title
4666
1: "large" # image

0 commit comments

Comments
 (0)