ERROR:root:Traceback (most recent call last):
File "D:\Python310\stable\ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python310\stable\ComfyUI\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 "D:\Python310\stable\ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python310\stable\ComfyUI\ComfyUI\custom_nodes\ComfyUI-DragNUWA\nodes.py", line 600, in run_inference
boxes = masks_to_boxes(brush_mask)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Python310\stable\ComfyUI\python_embeded\Lib\site-packages\torchvision\ops\boxes.py", line 412, in masks_to_boxes
bounding_boxes[index, 0] = torch.min(x)
^^^^^^^^^^^^
RuntimeError: min(): Expected reduction dim to be specified for input.numel() == 0. Specify the reduction dim with the 'dim' argument.
执行第二个工作流 workflow_InstantMotionBrush.json 的时候报错
ERROR:root:Traceback (most recent call last): File "D:\Python310\stable\ComfyUI\ComfyUI\execution.py", line 152, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Python310\stable\ComfyUI\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 "D:\Python310\stable\ComfyUI\ComfyUI\execution.py", line 75, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Python310\stable\ComfyUI\ComfyUI\custom_nodes\ComfyUI-DragNUWA\nodes.py", line 600, in run_inference boxes = masks_to_boxes(brush_mask) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Python310\stable\ComfyUI\python_embeded\Lib\site-packages\torchvision\ops\boxes.py", line 412, in masks_to_boxes bounding_boxes[index, 0] = torch.min(x) ^^^^^^^^^^^^ RuntimeError: min(): Expected reduction dim to be specified for input.numel() == 0. Specify the reduction dim with the 'dim' argument.