kijai / ComfyUI-BrushNet-Wrapper

ComfyUI nodes to use BrushNet with Diffusers
Apache License 2.0
111 stars 6 forks source link

For single brushnet: `brushnet_conditioning_scale` must be type `float`. #20

Open liekkasfc opened 2 months ago

liekkasfc commented 2 months ago

File "D:\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\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_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(*slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet-Wrapper\nodes.py", line 369, in process images = pipe( ^^^^^ File "D:\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils_contextlib.py", line 115, in decorate_context return func(args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet-Wrapper\brushnet\pipeline_brushnet.py", line 1010, in call self.check_inputs( File "D:\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-BrushNet-Wrapper\brushnet\pipeline_brushnet.py", line 636, in check_inputs raise TypeError("For single brushnet: brushnet_conditioning_scale must be type float.") TypeError: 1713715904570

MingZeY commented 2 months ago

It's me who encountered the same problem, which usually occurs after using two brushnet nodes or running multiple batches