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

使用CPU离线环境运行程序,运行带有图片的pdf会自动下载ch_PP-OCRv4_det_infer.tar #781

Closed
qushencn opened this issue Oct 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@qushencn
Copy link

Description of the bug | 错误描述

使用CPU离线环境运行程序,运行带有图片的pdf会自动下载ch_PP-OCRv4_det_infer.tar,但是模型里面是使用CPU离线环境运行程序,运行带有图片的pdf会自动下载ch_PP-OCRv3_det_infer。没有网络下载不下来,手动下载ch_PP-OCRv4_det_infer放model下不生效。

How to reproduce the bug | 如何复现

直接运行命令即可

Operating system | 操作系统

Windows

Python version | Python 版本

3.10

Software version | 软件版本 (magic-pdf --version)

0.8.x

Device mode | 设备模式

cpu

@qushencn qushencn added the bug Something isn't working label Oct 24, 2024
@myhloli
Copy link
Collaborator

myhloli commented Oct 24, 2024

https://huggingface.co/spaces/opendatalab/MinerU/tree/main/paddleocr
下载这个目录到本地,然后执行

cp -r paddleocr ~/.paddleocr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants