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

huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on #263

Closed
lizhichao999 opened this issue Dec 18, 2024 · 2 comments

Comments

@lizhichao999
Copy link

问题描述

请对问题进行描述,并提供日志或截图
pdf2zh -i 启动报错,提示没网,离线下载模型哪有地址

测试文档

Important

请提供用于复现测试的 PDF 文档
企业微信截图_17344828995499
企业微信截图_17344829247467

@lizhichao999
Copy link
Author

企业微信截图_17344838879528
已下载模型到这个目录,还是会连接requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /wybxc/DocLayout-YOLO-DocStructBench-onnx/resolve/main/doclayout_yolo_docstructbench_imgsz1024.onnx (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x00000209F8B9F050>, 'Connection to huggingface.co timed out. (connect timeout=1)'))"), '(Request ID: 2292093f-32a1-4991-94d8-1c1ba8c3e7c8)')

@hellofinch
Copy link
Contributor

执行pdf2zh -i之前,运行一下这个set HF_ENDPOINT=https://hf-mirror.com
#134

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