thygate / stable-diffusion-webui-depthmap-script

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

Error generating Zdepth #395

Open AshrafHamdi opened 10 months ago

AshrafHamdi commented 10 months ago

Models affected :- Midas_v21 Midas_v21_small All Zoedepth models (_n, _k, _nk)

ERROR: [Errno 2] No such file or directory: 'C:\Users\Ashraf Hamdi/.cache\torch\hub\semjon00_MiDaS_master\hubconf.py'

Please report this issue here. Make sure to provide the full stacktrace: Traceback (most recent call last): File "C:\Stable Diffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 526, in run_generate input_i, type, result = next(gen_obj) File "C:\Stable Diffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 322, in core_generation_funnel raise e File "C:\Stable Diffusion\stable-diffusion-webui\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 "C:\Stable Diffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 67, in ensure_models self.load_models(model_type, device, boost) File "C:\Stable Diffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 185, in load_models model = build_model(conf) File "C:\Stable Diffusion\stable-diffusion-webui\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 "C:\Stable Diffusion\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\dzoedepth\models\zoedepth\zoedepth_v1.py", line 250, in build_from_config return ZoeDepth.build(*config) File "C:\Stable Diffusion\stable-diffusion-webui\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 "C:\Stable Diffusion\stable-diffusion-webui\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 "C:\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\hub.py", line 558, in load model = _load_local(repo_or_dir, model, args, **kwargs) File "C:\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\hub.py", line 584, in _load_local hub_module = _import_module(MODULE_HUBCONF, hubconf_path) File "C:\Stable Diffusion\stable-diffusion-webui\venv\lib\site-packages\torch\hub.py", line 98, in _import_module spec.loader.exec_module(module) File "", line 879, in exec_module File "", line 1016, in get_code File "", line 1073, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Ashraf Hamdi/.cache\torch\hub\semjon00_MiDaS_master\hubconf.py'

Time taken: 0.7 sec.

A: 4.04 GB, R: 4.97 GB, Sys: 6.2/10 GB (61.8%)