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
9e5cb129
Unverified
Commit
9e5cb129
authored
Jul 23, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jul 23, 2025
Browse files
Update mineru/utils/magic_model_utils.py
Co-authored-by:
Copilot
<
175728472+Copilot@users.noreply.github.com
>
parent
9bf8be98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mineru/utils/magic_model_utils.py
mineru/utils/magic_model_utils.py
+2
-1
No files found.
mineru/utils/magic_model_utils.py
View file @
9e5cb129
...
...
@@ -120,7 +120,8 @@ def tie_up_category_by_distance_v3(
seen_idx
=
set
()
seen_sub_idx
=
set
()
while
N
>
len
(
seen_sub_idx
):
seen_sub_idx_len
=
len
(
seen_sub_idx
)
while
N
>
seen_sub_idx_len
:
candidates
=
[]
for
idx
,
kind
,
x0
,
y0
in
all_boxes_with_idx
:
if
idx
in
seen_idx
:
...
...
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