Skip to content

Commit

Permalink
chore: Clean up commented code
Browse files Browse the repository at this point in the history
Signed-off-by: Nikos Livathinos <[email protected]>
  • Loading branch information
nikos-livathinos committed Feb 24, 2025
1 parent 4a45446 commit de55da1
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions docling_eval/benchmarks/doclaynet_v1/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@ def create_dlnv1_e2e_dataset(
):
page_hash = doc["metadata"]["page_hash"]

# # TODO: Debug
# if page_hash != "2b49edc9d0a47e4efaaeabf907a8b8b84b747c295dd10a639e2b5265ac258cf5":
# continue

pdf = doc["pdf"]
pdf_stream = io.BytesIO(pdf)
pdf_stream.seek(0)
Expand Down Expand Up @@ -234,9 +230,6 @@ def create_dlnv1_e2e_dataset(
for l, b, c in zip(labels, bboxes, contents):
update(true_doc, current_list, img, old_size, l, b, c)

# TODO: Debug
# print(f"Create doc_id={page_hash}")

if do_viz:
save_comparison_html_with_clusters(
filename=viz_dir / f"{true_doc.name}-clusters.html",
Expand Down

0 comments on commit de55da1

Please sign in to comment.