text
stringlengths 0
3.47k
|
---|
0, |
0, |
0, |
0, |
0, |
0, |
0 |
], |
"junk_img_bojids": [], |
"invalid_chars": true, |
"metadata": { |
"format": "PDF 1.5", |
"title": "", |
"author": "", |
"subject": "", |
"keywords": "", |
"creator": "QuarkXPress\u00aa: AdobePS 8.8.0 (301)", |
"producer": "Acrobat Distiller 6.0.1 (Windows)", |
"creationDate": "D:20060531153638+08'00'", |
"modDate": "D:20060531155729+08'00'", |
"trapped": "", |
"encryption": null |
} |
} |
Classify parameters: |
total_page (expected: int): 599 |
page_width (expected: int): 441 |
page_height (expected: int): 666 |
img_sz_list (expected: list of lists): [[], [[52, 606, 162, 636, 13]], [], [], []]... |
text_len_list (expected: list of ints): [41, 124, 1516, 1091, 1091]... |
img_num_list (expected: list of ints): [0, 1, 0, 0, 0]... |
text_layout_list (expected: list of strs): ['horizontal', 'horizontal', 'horizontal', 'horizontal', 'horizontal']... |
invalid_chars (expected: bool): True |
Classification Results: |
is_text_pdf (expected: bool): True |
classification_results (expected: dict): {'by_image_area': True, 'by_text_len': True, 'by_avg_words': True, 'by_img_num': True, 'by_text_layout': True, 'by_img_narrow_strips': True, 'by_invalid_chars': True} |
Image writer initialized: <magic_pdf.rw.DiskReaderWriter.DiskReaderWriter object at 0x7efaa8f54290> |
UNIPipe initialized: <magic_pdf.pipe.UNIPipe.UNIPipe object at 0x7efaa9d17050> |
pipe_classify result (expected: str): None |
Detailed pipe_analyze Inputs for input/f2f24088a4ac947b8f3b29ace552cb90.pdf: |
parse_type (expected: str): None |
Total PDFs processed: 20 |
Successful: 0 |
Timed out: 0 |
Failed: 20 |
Failed PDFs: |
- input/f2f24088a4ac947b8f3b29ace552cb90.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e0f88b7f2e5a62dec8f0a1825a312092.pdf: pipe_analyze Error: No module named 'paddle' |
- input/dcc863d5a46cff540ccca1430f488931.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e5cf785df9dc15bbc59962defb61e981.pdf: pipe_analyze Error: No module named 'paddle' |
- input/b8ff2f69a03b82d2f2ba8100ab287148.pdf: pipe_analyze Error: No module named 'paddle' |
- input/f2f24088a4ac947b8f3b29ace552cb90.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e0f88b7f2e5a62dec8f0a1825a312092.pdf: pipe_analyze Error: No module named 'paddle' |
- input/dcc863d5a46cff540ccca1430f488931.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e5cf785df9dc15bbc59962defb61e981.pdf: pipe_analyze Error: No module named 'paddle' |
- input/b8ff2f69a03b82d2f2ba8100ab287148.pdf: pipe_analyze Error: No module named 'paddle' |
- input/f2f24088a4ac947b8f3b29ace552cb90.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e0f88b7f2e5a62dec8f0a1825a312092.pdf: pipe_analyze Error: No module named 'paddle' |
- input/dcc863d5a46cff540ccca1430f488931.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e5cf785df9dc15bbc59962defb61e981.pdf: pipe_analyze Error: No module named 'paddle' |
- input/b8ff2f69a03b82d2f2ba8100ab287148.pdf: pipe_analyze Error: No module named 'paddle' |
- input/f2f24088a4ac947b8f3b29ace552cb90.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e0f88b7f2e5a62dec8f0a1825a312092.pdf: pipe_analyze Error: No module named 'paddle' |
- input/dcc863d5a46cff540ccca1430f488931.pdf: pipe_analyze Error: No module named 'paddle' |
- input/e5cf785df9dc15bbc59962defb61e981.pdf: pipe_analyze Error: No module named 'paddle' |
- input/b8ff2f69a03b82d2f2ba8100ab287148.pdf: pipe_analyze Error: No module named 'paddle' |
Traceback (most recent call last): |
File "/workspace/disk2/scalepipes/app/scrpt27.py", line 220, in process_single_pdf |
layout_info = unipipe.pipe_analyze() |
^^^^^^^^^^^^^^^^^^^^^^ |
File "/workspace/disk2/scalepipes/app/magic_pdf/pipe/UNIPipe.py", line 29, in pipe_analyze |
self.model_list = doc_analyze(self.pdf_bytes, ocr=False) |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
File "/workspace/disk2/scalepipes/app/magic_pdf/model/doc_analyze_by_custom_model.py", line 109, in doc_analyze |
custom_model = model_manager.get_model(ocr, show_log) |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
File "/workspace/disk2/scalepipes/app/magic_pdf/model/doc_analyze_by_custom_model.py", line 63, in get_model |
self._models[key] = custom_model_init(ocr=ocr, show_log=show_log) |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
File "/workspace/disk2/scalepipes/app/magic_pdf/model/doc_analyze_by_custom_model.py", line 83, in custom_model_init |
from magic_pdf.model.pdf_extract_kit import CustomPEKModel |
File "/workspace/disk2/scalepipes/app/magic_pdf/model/pdf_extract_kit.py", line 35, in <module> |
from magic_pdf.model.pek_sub_modules.self_modify import ModifiedPaddleOCR |
File "/workspace/disk2/scalepipes/app/magic_pdf/model/pek_sub_modules/self_modify.py", line 9, in <module> |
from paddleocr import PaddleOCR |
File "/root/miniconda3/envs/py3.11/lib/python3.11/site-packages/paddleocr/__init__.py", line 14, in <module> |
from .paddleocr import * |
File "/root/miniconda3/envs/py3.11/lib/python3.11/site-packages/paddleocr/paddleocr.py", line 34, in <module> |
from tools.infer import predict_system |
ModuleNotFoundError: No module named 'tools.infer' |
Subsets and Splits