-
Notifications
You must be signed in to change notification settings - Fork 3
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
Implement the function of load the model yolox_l0.05.onnx in local disk by reading the unstructured source code. #41
Comments
@ggservice007 please show the example code for this |
dependencies unstructured==0.12.0
unstructured-inference==0.7.21
unstructured.pytesseract==0.3.12
pdf2image==1.17.0
pdfminer.six==20231228
pikepdf==8.13.0
apt-get install poppler-utils example from unstructured.partition.pdf import partition_pdf
partition_pdf(
filename=file_path,
strategy="hi_res",
extract_images_in_pdf=True,
extract_image_block_output_dir=output_dir
) unstructured |
下载的镜像默认放在 |
使用unstructured时,面对大图片会报错 PIL.Image.DecompressionBombError: Image size (8284731418 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack. |
能不能直接设置路径? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
what
Implement the function of load the model yolox_l0.05.onnx in local disk by reading the unstructured source code.
why
Now unstructured try to load the unstructuredio/yolo_x_layout/yolox_l0.05.onnx by downloading from huggingface if
it can not found.
The text was updated successfully, but these errors were encountered: