Skip to content
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

showing error while creating depth controlnet #1536

Open
RanjithGadde447 opened this issue Jan 12, 2025 · 0 comments
Open

showing error while creating depth controlnet #1536

RanjithGadde447 opened this issue Jan 12, 2025 · 0 comments

Comments

@RanjithGadde447
Copy link

process to download files to a local folder has been updated and do not rely on symlinks anymore. You only need to pass a destination folder aslocal_dir.
2025-01-13 00:11:43,454 INFO For more details, check out https://huggingface.co/docs/huggingface_hub/main/en/guides/download#download-files-to-local-folder.
2025-01-13 00:11:43,454 INFO warnings.warn(
2025-01-13 00:11:43,454 INFO !!! Exception during processing !!! [Errno 2] No such file or directory: 'C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\depth-anything\Depth-Anything-V2-Base\.cache\huggingface\download\depth_anything_v2_vitb.pth.0d2b7002e62d39d655571c371333340bd88f67ab95050c03591555aa05645328.incomplete'
2025-01-13 00:11:43,454 INFO Traceback (most recent call last):
2025-01-13 00:11:43,454 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\execution.py", line 323, in execute
2025-01-13 00:11:43,455 INFO output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
2025-01-13 00:11:43,455 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,455 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\execution.py", line 198, in get_output_data
2025-01-13 00:11:43,455 INFO return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
2025-01-13 00:11:43,455 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,455 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\execution.py", line 169, in map_node_over_list
2025-01-13 00:11:43,455 INFO process_inputs(input_dict, i)
2025-01-13 00:11:43,455 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\execution.py", line 158, in process_inputs
2025-01-13 00:11:43,455 INFO results.append(getattr(obj, func)(**inputs))
2025-01-13 00:11:43,455 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,455 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\depth_anything_v2.py", line 23, in execute
2025-01-13 00:11:43,455 INFO model = DepthAnythingV2Detector.from_pretrained(filename=ckpt_name).to(model_management.get_torch_device())
2025-01-13 00:11:43,455 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,455 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\depth_anything_v2_init
.py", line 30, in from_pretrained
2025-01-13 00:11:43,455 INFO model_path = custom_hf_download(pretrained_model_or_path, filename)
2025-01-13 00:11:43,455 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,455 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\custom_controlnet_aux\util.py", line 333, in custom_hf_download
2025-01-13 00:11:43,456 INFO model_path = hf_hub_download(repo_id=pretrained_model_or_path,
2025-01-13 00:11:43,456 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,456 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\python\Lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
2025-01-13 00:11:43,456 INFO return fn(*args, **kwargs)
2025-01-13 00:11:43,456 INFO ^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,456 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\python\Lib\site-packages\huggingface_hub\file_download.py", line 840, in hf_hub_download
2025-01-13 00:11:43,456 INFO return _hf_hub_download_to_local_dir(
2025-01-13 00:11:43,456 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,456 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\python\Lib\site-packages\huggingface_hub\file_download.py", line 1136, in _hf_hub_download_to_local_dir
2025-01-13 00:11:43,456 INFO _download_to_tmp_and_move(
2025-01-13 00:11:43,456 INFO File "C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\python\Lib\site-packages\huggingface_hub\file_download.py", line 1531, in _download_to_tmp_and_move
2025-01-13 00:11:43,456 INFO with incomplete_path.open("ab") as f:
2025-01-13 00:11:43,456 INFO ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-01-13 00:11:43,456 INFO File "pathlib.py", line 1044, in open
2025-01-13 00:11:43,456 INFO FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\ranji\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\depth-anything\Depth-Anything-V2-Base\.cache\huggingface\download\depth_anything_v2_vitb.pth.0d2b7002e62d39d655571c371333340bd88f67ab95050c03591555aa05645328.incomplete'
2025-01-13 00:11:43,456 INFO
2025-01-13 00:11:43,456 INFO Prompt executed in 0.75 seconds

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