mirror of
https://github.com/opendatalab/MinerU.git
synced 2026-09-19 09:30:53 +08:00
fix: drop reason append error
This commit is contained in:
@@ -70,7 +70,7 @@ def _remove_overlap_between_bboxes(arr):
|
||||
res[i] = None
|
||||
else:
|
||||
keeps[idx] = False
|
||||
drop_reasons.append(drop_reasons)
|
||||
drop_reasons.append(drop_reason)
|
||||
if keeps[idx]:
|
||||
res[idx] = v
|
||||
return res, drop_reasons
|
||||
|
||||
Reference in New Issue
Block a user