ltdrdata / ComfyUI-Impact-Pack

Custom nodes pack for ComfyUI This custom node helps to conveniently enhance images through Detector, Detailer, Upscaler, Pipe, and more.
GNU General Public License v3.0
1.89k stars 183 forks source link

Error occurred when executing BboxDetectorSEGS: UltraBBoxDetector.detect() takes from 5 to 6 positional arguments but 7 were given #620

Closed tianshanxin closed 5 months ago

tianshanxin commented 5 months ago

Error occurred when executing BboxDetectorSEGS:

UltraBBoxDetector.detect() takes from 5 to 6 positional arguments but 7 were given

File "D:\ComfyUI-ainewsto\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI-ainewsto\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 "D:\ComfyUI-ainewsto\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI-ainewsto\ComfyUI\custom_nodes\ComfyUI-Impact-Pack\modules\impact\detectors.py", line 92, in doit segs = bbox_detector.detect(image, threshold, dilation, crop_factor, drop_size, detailer_hook)

ltdrdata commented 5 months ago

impact subpack version and impact version are mismatched. goto ComfyUI/custom_nodes/ComfyUI-Impact-Pack/impact_subpack and git pull