chenfei-wu / TaskMatrix

Other
34.53k stars 3.33k forks source link

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 1 year ago

sunshin2012 commented 1 year ago

在执行代码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 commented 1 year ago

在执行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 commented 9 months ago

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