I did two ways of installation, manual install and manager install:
during manual install, I see this error but I chose to ignore it and I don't know if it is related to the problem.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
mediapipe 0.10.9 requires protobuf<4,>=3.11, but you have protobuf 4.25.2 which is incompatible.
I then run the sample workflow provide for image, and the node "Convert mask to image" throws the following error (see also attached screenshot):
===
Error occurred when executing MaskToImage:
cannot reshape tensor of 0 elements into shape [-1, 1, 1, 0] because the unspecified dimension size -1 can be any value and is ambiguous
File "C:\Apps\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Apps\ComfyUI\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 "C:\Apps\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Apps\ComfyUI\ComfyUI\comfy_extras\nodes_mask.py", line 109, in mask_to_image
result = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I then removed the "Convert mask to image" node, and nothing ( of detection) seems to happen, see screen shot below:
btw, any idea which directory is yolo-world/l model auto-downloaded to ?
I then manually deleted the above installation and installed again via manager this time. I don't notice any error (such as the above mentioned incompatible protobuf error), but the exception thrown by "Convert mask to image" node persists and the detection of yolo-world still doesn't happen.
Pls help and thanks a bunch in advance (so eager to try out the excellent YOLO-WORLD + ESAM!!!)
I did two ways of installation, manual install and manager install:
during manual install, I see this error but I chose to ignore it and I don't know if it is related to the problem.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. mediapipe 0.10.9 requires protobuf<4,>=3.11, but you have protobuf 4.25.2 which is incompatible.
I then run the sample workflow provide for image, and the node "Convert mask to image" throws the following error (see also attached screenshot):
=== Error occurred when executing MaskToImage:
cannot reshape tensor of 0 elements into shape [-1, 1, 1, 0] because the unspecified dimension size -1 can be any value and is ambiguous
File "C:\Apps\ComfyUI\ComfyUI\execution.py", line 151, in recursive_execute output_data, output_ui = get_output_data(obj, input_data_all) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Apps\ComfyUI\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 "C:\Apps\ComfyUI\ComfyUI\execution.py", line 74, in map_node_over_list results.append(getattr(obj, func)(**slice_dict(input_data_all, i))) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Apps\ComfyUI\ComfyUI\comfy_extras\nodes_mask.py", line 109, in mask_to_image result = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I then removed the "Convert mask to image" node, and nothing ( of detection) seems to happen, see screen shot below:
btw, any idea which directory is yolo-world/l model auto-downloaded to ?
I then manually deleted the above installation and installed again via manager this time. I don't notice any error (such as the above mentioned incompatible protobuf error), but the exception thrown by "Convert mask to image" node persists and the detection of yolo-world still doesn't happen.
Pls help and thanks a bunch in advance (so eager to try out the excellent YOLO-WORLD + ESAM!!!)
Sean