Error occurred when executing DepthAnythingPreprocessor:

#15
by sue2002 - opened

Error occurred when executing DepthAnythingPreprocessor:

An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "G:\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\depth_anything.py", line 19, in execute
model = DepthAnythingDetector.from_pretrained(filename=ckpt_name).to(model_management.get_torch_device())
File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\controlnet_preprocessors\src\controlnet_aux\depth_anything_init_.py", line 40, in from_pretrained
model_path = custom_hf_download(pretrained_model_or_path, filename, subfolder="checkpoints", repo_type="space")
File "G:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Inference-Core-Nodes\src\inference_core_nodes\controlnet_preprocessors\src\controlnet_aux\util.py", line 264, in custom_hf_download
model_path = hf_hub_download(repo_id=pretrained_model_or_path,
File "C:\Users\Administrator.conda\envs\comflowy\lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
File "C:\Users\Administrator.conda\envs\comflowy\lib\site-packages\huggingface_hub\file_download.py", line 1202, in hf_hub_download
return _hf_hub_download_to_local_dir(
File "C:\Users\Administrator.conda\envs\comflowy\lib\site-packages\huggingface_hub\file_download.py", line 1440, in _hf_hub_download_to_local_dir
_raise_on_head_call_error(head_call_error, force_download, local_files_only)
File "C:\Users\Administrator.conda\envs\comflowy\lib\site-packages\huggingface_hub\file_download.py", line 1826, in _raise_on_head_call_error
raise LocalEntryNotFoundError(

Sign up or log in to comment