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

file not found error 237 DWPreprocessor #423

Open
mynameistoan123 opened this issue Aug 9, 2024 · 2 comments
Open

file not found error 237 DWPreprocessor #423

mynameistoan123 opened this issue Aug 9, 2024 · 2 comments

Comments

@mynameistoan123
Copy link

Error occurred when executing DWPreprocessor:

[Errno 2] No such file or directory: 'C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\yzd-v\DWPose\.huggingface\download\yolox_l.onnx.7860ae79de6c89a3c1eb72ae9a2756c0ccfbe04b7791bb5880afabd97855a411.incomplete'

File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\execution.py", line 82, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\node_wrappers\dwpose.py", line 72, in estimate_pose
model = DwposeDetector.from_pretrained(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\dwpose_init_.py", line 233, in from_pretrained
det_model_path = custom_hf_download(pretrained_det_model_or_path, det_filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\src\controlnet_aux\util.py", line 333, in custom_hf_download
model_path = hf_hub_download(repo_id=pretrained_model_or_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\utils_validators.py", line 114, in _inner_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1202, in hf_hub_download
return _hf_hub_download_to_local_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1487, in _hf_hub_download_to_local_dir
_download_to_tmp_and_move(
File "C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\python_embeded\Lib\site-packages\huggingface_hub\file_download.py", line 1872, in _download_to_tmp_and_move
with incomplete_path.open("ab") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pathlib.py", line 1044, in open
i dont know how to fix this thing, i have tried a lot of solution but it's not make anysense
pls help me

@SolanaFox2
Copy link

I am also having this issue. Please let me know if you've found a solution. Tried a bunch of different things, but still no luck

@Patrol30
Copy link

[Errno 2] No such file or directory: 'C:\Users\phuoc\Downloads\oke\ComfyUI_windows_portable_nvidia_cu121_or_cpu_2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts\yzd-v\DWPose.huggingface\download\yolox_l.onnx.7860ae79de6c89a3c1eb72ae9a2756c0ccfbe04b7791bb5880afabd97855a411.incomplete'

First error is probably caused by to long file path. Try putting comfy folder directly i C drive and maybe shorten the name to just comfyUI (just to be sure). It worked for me with different preprocesor.

If this does not help I found this solution in this thread #264 maybe there will be other thing that would be helpful there

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

3 participants