mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-31 14:34:40 +00:00
Revert accelerator test options
Signed-off-by: ahn <ahn@zurich.ibm.com>
This commit is contained in:
parent
4b8396cde3
commit
69cb31799d
@ -31,11 +31,11 @@ def main():
|
||||
# )
|
||||
|
||||
# easyocr doesnt support cuda:N allocation, defaults to cuda:0
|
||||
accelerator_options = AcceleratorOptions(num_threads=8, device="cuda:1")
|
||||
# accelerator_options = AcceleratorOptions(num_threads=8, device="cuda:1")
|
||||
|
||||
pipeline_options = PdfPipelineOptions()
|
||||
pipeline_options.accelerator_options = accelerator_options
|
||||
pipeline_options.do_ocr = False
|
||||
pipeline_options.do_ocr = True
|
||||
pipeline_options.do_table_structure = True
|
||||
pipeline_options.table_structure_options.do_cell_matching = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user