IDEA-Research / DWPose

"Effective Whole-body Pose Estimation with Two-stages Distillation" (ICCV 2023, CV4Metaverse Workshop)
Apache License 2.0
2.05k stars 136 forks source link

TypeError: DwposeDetector.from_pretrained() got an unexpected keyword argument 'cache_dir' #78

Open freemde23 opened 4 months ago

freemde23 commented 4 months ago

DWPreprocessor node error in ComfyUI

ERROR:root:!!! Exception during processing !!! ERROR:root:Traceback (most recent call last): File "P:\ComfyUI_12.2\ComfyUI_windows_portable\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all)

File "P:\ComfyUI_12.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 "P:\ComfyUI_12.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 "P:\ComfyUI_12.2\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux-main\node_wrappers\dwpose.py", line 61, in estimate_pose model = DwposeDetector.from_pretrained(

TypeError: DwposeDetector.from_pretrained() got an unexpected keyword argument 'cache_dir'