Unverified Commit 9e5cb129 authored by Xiaomeng Zhao's avatar Xiaomeng Zhao Committed by GitHub
Browse files

Update mineru/utils/magic_model_utils.py


Co-authored-by: default avatarCopilot <175728472+Copilot@users.noreply.github.com>
parent 9bf8be98
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment