RuntimeError: Conversion failed with status: ConversionStatus.FAILURE #148
Answered
by
staar
AdityaMannu1709
asked this question in
Q&A
-
Using the below code, I am getting this error on a PDF. def docling_markdown(pdf_path):
# Docling Configs
pipeline_options = PipelineOptions(do_table_structure=True, do_ocr=True)
pipeline_options.table_structure_options.mode = TableFormerMode.ACCURATE
pipeline_options.table_structure_options.do_cell_matching = False
doc_converter = DocumentConverter(
pipeline_options=pipeline_options,
)
source = pdf_path # PDF path or URL
result = doc_converter.convert_single(source)
print(result.render_as_markdown()) Error traceback -
It happened on 1 PDF out of many that i tested. |
Beta Was this translation helpful? Give feedback.
Answered by
staar
Oct 16, 2024
Replies: 1 comment 1 reply
-
@AdityaMannu1709 Could you share the PDF with us? We are trying to build now a good evaluation set (hopefully soon open-source), and it would be great to include it in the test set. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PeterStaar-IBM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AdityaMannu1709 Could you share the PDF with us? We are trying to build now a good evaluation set (hopefully soon open-source), and it would be great to include it in the test set.