ZHO-ZHO-ZHO / ComfyUI-InstantID

Unofficial implementation of InstantID for ComfyUI
1.34k stars 78 forks source link

HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 11004] getaddrinfo failed')) #71

Open WhiteKnight666 opened 9 months ago

WhiteKnight666 commented 9 months ago

开了魔法也连不上,手动去下sd_xl_base.yaml这个文件丢进Models里也没用......

1139995 commented 9 months ago

我也是同样的问题,卡了两天了 微信截图_20240131140957

WhiteKnight666 commented 9 months ago

github和huggingface的连接真的是玄学

Dean8998 commented 9 months ago

为什么加载本地的模型,也会有这样的连接问题?

WhiteKnight666 commented 9 months ago

有魔法的开tun模式可解决,亲测有效。

junxinjay commented 9 months ago

1 help求解

JPW0080 commented 9 months ago

The convoluted way that worked on my side for Win 11 offline use...

Download: https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml

Move sd_xl_base.yaml to \ComfyUI\custom_nodes\ComfyUI-InstantID

Install http-server: https://learn.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/running-an-http-server-for-testing

Modify \Lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py

Find: config_url = "https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml"

Overwrite the URL Link to "http://127.0.0.1:8080/sd_xl_base.yaml"

Command Prompt: cd \ComfyUI\custom_nodes\ComfyUI-InstantID http-server

mhgd3250905 commented 9 months ago

+1

youcanyoubing commented 9 months ago

The convoluted way that worked on my side for Win 11 offline use...

Download: https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml

Move sd_xl_base.yaml to \ComfyUI\custom_nodes\ComfyUI-InstantID

Install http-server: https://learn.microsoft.com/en-us/gaming/playfab/features/authentication/platform-specific-authentication/running-an-http-server-for-testing

Modify \Lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py

Find: config_url = "https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml"

Overwrite the URL Link to "http://127.0.0.1:8080/sd_xl_base.yaml"

Command Prompt: cd \ComfyUI\custom_nodes\ComfyUI-InstantID http-server

Install http-server does not understand, Please tell me to download sd_xl_base.yaml to the local directly to config_url = "Https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml" into a local file address line

JPW0080 commented 9 months ago

Install Node.JS: https://nodejs.org/en/

Command Prompt: npm install -g http-server

Download: https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml

Move sd_xl_base.yaml to \ComfyUI\custom_nodes\ComfyUI-InstantID

Modify \Lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py

Find: config_url = "https://raw.githubusercontent.com/Stability-AI/generative-models/main/configs/inference/sd_xl_base.yaml"

Overwrite the URL Link to "http://127.0.0.1:8080/sd_xl_base.yaml"

Command Prompt: cd \ComfyUI\custom_nodes\ComfyUI-InstantID http-server