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: #5

Open
mobaigy opened this issue Nov 17, 2023 · 3 comments
Open

huggingface_hub.utils._errors.LocalEntryNotFoundError: #5

mobaigy opened this issue Nov 17, 2023 · 3 comments

Comments

@mobaigy
Copy link

mobaigy commented Nov 17, 2023

When I enter the python tools/featextrater_folderwise_UnsupPR.py vit_large_patch14_clip_224.laion2b features_vit-laion2b trn command, an error is reported:
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.
The server can't be networked to huggingface to download the pre-training weights, and there is no corresponding url link for the model.
How to solve this problem?

@ZhangYuanhan-AI
Copy link
Owner

When I enter the python tools/featextrater_folderwise_UnsupPR.py vit_large_patch14_clip_224.laion2b features_vit-laion2b trn command, an error is reported: 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. The server can't be networked to huggingface to download the pre-training weights, and there is no corresponding url link for the model. How to solve this problem?

Hi, thank you for your interest in our work. Unfortunately, Hugging Face is currently blocked in mainland China. However, you may find some possible solutions here: https://github.com/huggingface/pytorch-image-models/blob/main/timm/models/vision_transformer.py.

@mobaigy
Copy link
Author

mobaigy commented Nov 17, 2023

image
Thank you for your answer,but there is no corresponding URL download link for the relevant model, it can only be downloaded through the Hugging Face website, is there any other solution?

@wanghaiyang1999
Copy link

图像 谢谢您的回答,但是相关型号没有对应的网址下载链接,只能通过Hugging Face网站下载,还有其他解决办法吗?

你好,你的这个问题现在得到解决了吗?

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

3 participants