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

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

Closed PLFENG closed 10 months ago

PLFENG commented 10 months ago

Error occurred when executing BboxDetectorSEGS:

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

File "E:\ComfyUI\Blender_ComfyUI\ComfyUI\execution.py", line 154, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) File "E:\ComfyUI\Blender_ComfyUI\ComfyUI\execution.py", line 84, in get_output_data return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True) File "E:\ComfyUI\Blender_ComfyUI\ComfyUI\execution.py", line 77, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) File "E:\ComfyUI\Blender_ComfyUI\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 10 months ago

Your impact_subpack module is outdated. And it seems failing to update. Delete ComfyUI-Impact-Pack/impact_subpack and restart.

Startup message should be like this.

### Loading: ComfyUI-Impact-Pack (Subpack: V0.4)