thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.73k stars 159 forks source link

ERROR: It looks like there is no internet connection and the repo could not be found in the cache (D:\software\stable-diffusion\sd-webui-aki-v4\.cache\torch\hub) #401

Open ACopy1989 opened 10 months ago

ACopy1989 commented 10 months ago

ERROR: It looks like there is no internet connection and the repo could not be found in the cache (D:\software\stable-diffusion\sd-webui-aki-v4.cache\torch\hub)

Please report this issue 这里. Make sure to provide the full stacktrace: Traceback (most recent call last): File "urllib\request.py", line 1348, in do_open File "http\client.py", line 1283, in request File "http\client.py", line 1329, in _send_request File "http\client.py", line 1278, in endheaders File "http\client.py", line 1038, in _send_output File "http\client.py", line 976, in send File "http\client.py", line 1448, in connect File "http\client.py", line 942, in connect File "socket.py", line 845, in create_connection File "socket.py", line 833, in create_connection TimeoutError: [WinError 10060] 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "D:\software\stable-diffusion\sd-webui-aki-v4\py310\lib\site-packages\torch\hub.py", line 142, in _parse_repo_info with urlopen(f"https://github.com/{repo_owner}/{repo_name}/tree/main/"): File "urllib\request.py", line 216, in urlopen File "urllib\request.py", line 519, in open File "urllib\request.py", line 536, in _open File "urllib\request.py", line 496, in _call_chain File "urllib\request.py", line 1391, in https_open File "urllib\request.py", line 1351, in do_open urllib.error.URLError:

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 526, in run_generate input_i, type, result = next(gen_obj) File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 322, in core_generation_funnel raise e File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 124, in core_generation_funnel model_holder.ensure_models(inp[go.MODEL_TYPE], device, inp[go.BOOST]) File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 67, in ensure_models self.load_models(model_type, device, boost) File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 185, in load_models model = build_model(conf) File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\builder.py", line 51, in build_model return get_version(config.version_name).build_from_config(config) File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\zoedepth\zoedepth_v1.py", line 250, in build_from_config return ZoeDepth.build(**config) File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\zoedepth\zoedepth_v1.py", line 240, in build core = MidasCore.build(midas_model_type=midas_model_type, use_pretrained_midas=use_pretrained_midas, File "D:\software\stable-diffusion\sd-webui-aki-v4\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\base_models\midas.py", line 343, in build midas = torch.hub.load("semjon00/MiDaS", midas_model_type, File "D:\software\stable-diffusion\sd-webui-aki-v4\py310\lib\site-packages\torch\hub.py", line 555, in load repo_or_dir = _get_cache_or_reload(repo_or_dir, force_reload, trust_repo, "load", File "D:\software\stable-diffusion\sd-webui-aki-v4\py310\lib\site-packages\torch\hub.py", line 199, in _get_cache_or_reload repo_owner, repo_name, ref = _parse_repo_info(github) File "D:\software\stable-diffusion\sd-webui-aki-v4\py310\lib\site-packages\torch\hub.py", line 156, in _parse_repo_info raise RuntimeError( RuntimeError: It looks like there is no internet connection and the repo could not be found in the cache (D:\software\stable-diffusion\sd-webui-aki-v4.cache\torch\hub) 用时:21.3 sec.

A: 2.46 GB, R: 2.56 GB, Sys: 3.7/8 GB (46.5%)