Skip to content

cant generate a depth map :( #478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jjoonnas opened this issue Mar 12, 2025 · 0 comments
Open

cant generate a depth map :( #478

jjoonnas opened this issue Mar 12, 2025 · 0 comments

Comments

@jjoonnas
Copy link

Hello, i always get this error message, what can i do? :/

ERROR: Download failed. Try again later or manually download the file ./models/depth_anything_v2/depth_anything_v2_vitb.pth to location ['https://huggingface.co/depth-anything/Depth-Anything-V2-Base/resolve/main/depth_anything_v2_vitb.pth'].

Please report this issue here. Make sure to provide the full stacktrace:
Traceback (most recent call last):
File "C:\Users\jonas\Documents\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\common_ui.py", line 550, in run_generate
input_i, type, result = next(gen_obj)
File "C:\Users\jonas\Documents\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 329, in core_generation_funnel
raise e
File "C:\Users\jonas\Documents\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\core.py", line 130, in core_generation_funnel
model_holder.ensure_models(inp[go.MODEL_TYPE], device, inp[go.BOOST], inp[go.TILING_MODE])
File "C:\Users\jonas\Documents\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 73, in ensure_models
self.load_models(model_type, device, boost, tiling_mode)
File "C:\Users\jonas\Documents\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\depthmap_generation.py", line 241, in load_models
ensure_file_downloaded(model_path,
File "C:\Users\jonas\Documents\stable-diffusion-webui\extensions\stable-diffusion-webui-depthmap-script\src\misc.py", line 43, in ensure_file_downloaded
raise RuntimeError(f'Download failed. '
RuntimeError: Download failed. Try again later or manually download the file ./models/depth_anything_v2/depth_anything_v2_vitb.pth to location ['https://huggingface.co/depth-anything/Depth-Anything-V2-Base/resolve/main/depth_anything_v2_vitb.pth'].
Time taken: 0.6 sec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant