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
fefe2d36
"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "4fa24591a3607ab66471ebfff92885ccf79fdb2c"
Commit
fefe2d36
authored
Jul 01, 2025
by
myhloli
Browse files
fix: remove unnecessary fields from block data in para_split.py
parent
7c95c62d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mineru/backend/pipeline/para_split.py
mineru/backend/pipeline/para_split.py
+4
-0
No files found.
mineru/backend/pipeline/para_split.py
View file @
fefe2d36
...
@@ -368,6 +368,10 @@ def para_split(page_info_list):
...
@@ -368,6 +368,10 @@ def para_split(page_info_list):
if
block
[
'page_num'
]
==
page_info
[
'page_idx'
]:
if
block
[
'page_num'
]
==
page_info
[
'page_idx'
]:
page_info
[
'para_blocks'
].
append
(
block
)
page_info
[
'para_blocks'
].
append
(
block
)
# 从block中删除不需要的page_num和page_size字段
del
block
[
'page_num'
]
del
block
[
'page_size'
]
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
input_blocks
=
[]
input_blocks
=
[]
...
...
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