Description
FAQ
Comments (4)
This looks really useful thanks. EDIT: Just checked it and it nails it for creating the mask of anything you prompt in the image, great job.
Thank you
i just used it, integrated it into my personal inpaint workflow and it worked seamlessly
i rly appreciate how you made the workflow so easy to setup, no need to drag and drop the required models or sum shi 🤣
i have this error
# ComfyUI Error Report ## Error Details - Node ID: 102 - Node Type: Sam2Segmentation - Exception Type: UnboundLocalError - Exception Message: cannot access local variable 'boxes_np' where it is not associated with a value ## Stack Trace ``` File "/comfyui/execution.py", line 524, in execute output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/comfyui/execution.py", line 333, in get_output_data return_values = await asyncmap_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
