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

SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /Salesforce/blip-image-captioning-base/resolve/main/preprocessor_config.json (Caused by SSLError(SSLZeroReturnError(6, 'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)'))) #432

Open
sunshin2012 opened this issue Jul 25, 2023 · 2 comments

Comments

@sunshin2012
Copy link

在执行代码python visual_chatgpt.py --load ImageCaptioning_cpu,Text2Image_cpu
出现这种情况:
image
最后报错:SSLError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url:
/Salesforce/blip-image-captioning-base/resolve/main/preprocessor_config.json (Caused by SSLError(SSLZeroReturnError(6,
'TLS/SSL connection has been closed (EOF) (_ssl.c:1131)')))
请问该怎么解决呢

@Zhangwq76
Copy link

在执行python visual_chatgpt.py --load ImageCaptioning_cpu,Text2Image_cpu前先执行以下两行:
set https_proxy=http://127.0.0.1:7890
set http_proxy=http://127.0.0.1:7890

@Ethenlalala
Copy link

参考知乎帖子,直接将代理地址添加到环境变量。
https://www.zhihu.com/question/587322263/answer/2919916984

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