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

image add 失败 #10

Open
hetao29 opened this issue Aug 9, 2024 · 1 comment
Open

image add 失败 #10

hetao29 opened this issue Aug 9, 2024 · 1 comment

Comments

@hetao29
Copy link

hetao29 commented Aug 9, 2024

2024-08-09 14:53:08,495 - 140629990019072 - _builder.py-_builder:187 - INFO: Loading pretrained weights from Hugging Face hub (timm/resnet50.a1_in1k)
2024-08-09 14:53:08,495 | INFO | _builder.py | load_pretrained | 187 | Loading pretrained weights from Hugging Face hub (timm/resnet50.a1_in1k)
2024-08-09 14:53:08,499 - 140629990019072 - connectionpool.py-connectionpool:1051 - DEBUG: Starting new HTTPS connection (1): huggingface.co:443
2024-08-09 14:53:18,512 - 140629990019072 - connectionpool.py-connectionpool:1051 - DEBUG: Starting new HTTPS connection (2): huggingface.co:443
2024-08-09 14:53:28,523 - 140629990019072 - reverse_image_search_main.py-reverse_image_search_main:85 - ERROR: 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.
2024-08-09 14:53:28,523 | ERROR | reverse_image_search_main.py | upload_images | 85 | 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.
@hetao29
Copy link
Author

hetao29 commented Aug 9, 2024

fixed
https://www.cnblogs.com/dive-into/p/18175260
在reverse_image_search_main.py中加一行

os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"

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

1 participant