IDEA-Research/DWPose

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

freemde23 opened this issue · 0 comments

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'