Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
15c88304
Commit
15c88304
authored
Mar 23, 2024
by
xu rui
Browse files
feat: comment parse_title
parent
432e1ae5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
magic_pdf/pdf_parse_for_train.py
magic_pdf/pdf_parse_for_train.py
+1
-1
No files found.
magic_pdf/pdf_parse_for_train.py
View file @
15c88304
...
@@ -253,7 +253,7 @@ def parse_pdf_for_train(
...
@@ -253,7 +253,7 @@ def parse_pdf_for_train(
# isSimpleLayout_flag, fullColumn_cnt, subColumn_cnt, curPage_loss = evaluate_pdf_layout(page_id, page, model_output_json)
# isSimpleLayout_flag, fullColumn_cnt, subColumn_cnt, curPage_loss = evaluate_pdf_layout(page_id, page, model_output_json)
接下来开始进行预处理过程
接下来开始进行预处理过程
"""
"""
title_bboxs
=
parse_titles
(
page_id
,
page
,
model_output_json
)
#
title_bboxs = parse_titles(page_id, page, model_output_json)
"""去掉每页的页码、页眉、页脚"""
"""去掉每页的页码、页眉、页脚"""
page_no_bboxs
=
parse_pageNos
(
page_id
,
page
,
model_output_json
)
page_no_bboxs
=
parse_pageNos
(
page_id
,
page
,
model_output_json
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment