Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug/field text is None when running DocumentLayout.from_file #316

Open
ajjimeno opened this issue Jan 19, 2024 · 1 comment
Open

bug/field text is None when running DocumentLayout.from_file #316

ajjimeno opened this issue Jan 19, 2024 · 1 comment

Comments

@ajjimeno
Copy link
Contributor

I am using version 0.7.21.

If I run the following code, the text from all the entities is None.

from unstructured_inference.inference.layout import DocumentLayout
file = "sample-docs/layout-parser-paper-fast.pdf"
doc = DocumentLayout.from_file(file)
@ajjimeno ajjimeno changed the title Field test is None when running DocumentLayout.from_file Field text is None when running DocumentLayout.from_file Jan 19, 2024
@ajjimeno ajjimeno changed the title Field text is None when running DocumentLayout.from_file bug/field text is None when running DocumentLayout.from_file Jan 21, 2024
@UiiKyra
Copy link

UiiKyra commented May 2, 2024

I got the same error with version 0.7.29, with detection_model 'yolox' or 'detectron2_lp'
Any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants