ZHO-ZHO-ZHO / ComfyUI-InstantID

Unofficial implementation of InstantID for ComfyUI
1.31k stars 77 forks source link

xl model is wrong? #84

Open yingtao-xie opened 7 months ago

yingtao-xie commented 7 months ago

Error occurred when executing IDBaseModelLoader_local:

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'))

File "E:\ComfyUI_V1.1\execution.py", line 155, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\ComfyUI_V1.1\execution.py", line 85, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\ComfyUI_V1.1\execution.py", line 78, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) File "E:\ComfyUI_V1.1\custom_nodes\ComfyUI-InstantID\InstantIDNode.py", line 158, in load_model pipe = StableDiffusionXLInstantIDPipeline.from_single_file( File "E:\ComfyUI_V1.1\python\lib\site-packages\huggingface_hub\utils_validators.py", line 118, in _inner_fn return fn(args, kwargs) File "E:\ComfyUI_V1.1\python\lib\site-packages\diffusers\loaders\single_file.py", line 263, in from_single_file pipe = download_from_original_stable_diffusion_ckpt( File "E:\ComfyUI_V1.1\python\lib\site-packages\diffusers\pipelines\stable_diffusion\convert_from_ckpt.py", line 1319, in download_from_original_stable_diffusion_ckpt original_config_file = BytesIO(requests.get(config_url).content) File "E:\ComfyUI_V1.1\python\lib\site-packages\requests\api.py", line 73, in get return request("get", url, params=params, kwargs) File "E:\ComfyUI_V1.1\python\lib\site-packages\requests\api.py", line 59, in request return session.request(method=method, url=url, kwargs) File "E:\ComfyUI_V1.1\python\lib\site-packages\requests\sessions.py", line 589, in request resp = self.send(prep, send_kwargs) File "E:\ComfyUI_V1.1\python\lib\site-packages\requests\sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "E:\ComfyUI_V1.1\python\lib\site-packages\requests\adapters.py", line 519, in send raise ConnectionError(e, request=request)

I 'm sure the model of xl is right, but the mistake is still, How do I solve this problem?

yingtao-xie commented 7 months ago

Is there a way not to download somewhat from hugging face or github ????

Can make it to be offline?

yingtao-xie commented 7 months ago

I have solved the problem. It is indeed a network reason, the reason is that "raw.githubusercontent.com" can not be accessed. u can add the IP in hosts files ("c:\windows\system32\drivers\etc\hosts" for win, and "/etc/hosts" for linux), and u can append the following content to the end of the hosts file: 185.199.108.133 raw.githubusercontent.com 185.199.109.133 raw.githubusercontent.com 185.199.110.133 raw.githubusercontent.com 185.199.111.133 raw.githubusercontent.com

SoaringTiger commented 7 months ago

I have solved the problem. It is indeed a network reason, the reason is that "raw.githubusercontent.com" can not be accessed. u can add the IP in hosts files ("c:\windows\system32\drivers\etc\hosts" for win, and "/etc/hosts" for linux), and u can append the following content to the end of the hosts file: 185.199.108.133 raw.githubusercontent.com 185.199.109.133 raw.githubusercontent.com 185.199.110.133 raw.githubusercontent.com 185.199.111.133 raw.githubusercontent.com

I have tried your method and still have errors:

requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Read timed out. (read timeout=None)

zhd2337133525 commented 6 months ago

把启动器的代理选项全开起来 就解决了