ComfyUI > Nodes > Comfyui-LG_GroupExecutor > 🎈List-Mask-Splitter

ComfyUI Node: 🎈List-Mask-Splitter

Class Name

MaskListSplitter

Category
🎈LAOGOU
Author
LAOGOU-666 (Account age: 426days)
Extension
Comfyui-LG_GroupExecutor
Latest Updated
2025-04-30
Github Stars
0.14K

How to Install Comfyui-LG_GroupExecutor

Install this extension via the ComfyUI Manager by searching for Comfyui-LG_GroupExecutor
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Comfyui-LG_GroupExecutor in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

🎈List-Mask-Splitter Description

Efficiently extract specific masks from lists for image processing and AI art creation.

🎈List-Mask-Splitter:

The MaskListSplitter node is designed to efficiently handle and manipulate lists of masks, which are often used in image processing and AI art creation. This node allows you to extract specific masks from a batch or list based on specified indices, making it a powerful tool for managing complex masking operations. By enabling selective extraction, it helps streamline workflows where only certain masks are needed from a larger set, thus optimizing processing time and resources. The node is particularly useful in scenarios where masks are used to isolate or highlight specific areas of an image, allowing for targeted modifications or analyses. Its ability to handle both individual masks and batches makes it versatile and adaptable to various artistic and technical needs.

🎈List-Mask-Splitter Input Parameters:

masks

The masks parameter is the primary input for the node, representing the collection of masks you wish to process. This can be a single batch of masks or a list of individual masks. The node is designed to handle both scenarios, ensuring flexibility in how masks are provided. If a batch is provided, it should be in the format of a 3D tensor with dimensions [B, H, W], where B is the batch size, and H and W are the height and width of each mask. This parameter is crucial as it determines the source from which masks will be extracted based on the specified indices.

indices

The indices parameter is a string that specifies which masks to extract from the input list or batch. The indices should be provided as a comma-separated list of numbers, such as "0,1,3,4". This parameter allows you to pinpoint exactly which masks you want to work with, making it easier to focus on specific parts of your data. The indices must be valid integers within the range of the available masks, and they should be formatted correctly to avoid errors. This parameter is essential for customizing the output to meet your specific needs.

🎈List-Mask-Splitter Output Parameters:

masks

The output masks parameter is a list of masks that have been extracted based on the specified indices. Each mask in the output is a 3D tensor with dimensions [1, H, W], ensuring consistency in format regardless of whether the input was a batch or a list. This output is crucial for subsequent processing steps, as it provides the exact masks you need for further analysis or modification. By delivering only the selected masks, this output helps optimize workflows and reduce unnecessary processing.

🎈List-Mask-Splitter Usage Tips:

  • Ensure that the indices parameter is correctly formatted as a comma-separated list of integers to avoid errors during execution.
  • When working with a batch of masks, verify that the input is in the correct 3D tensor format [B, H, W] to ensure proper processing.
  • Use the node to streamline workflows by extracting only the necessary masks, which can help save time and computational resources.

🎈List-Mask-Splitter Common Errors and Solutions:

索引格式错误,请使用逗号分隔的数字

  • Explanation: This error occurs when the indices parameter is not formatted correctly. It should be a comma-separated list of integers.
  • Solution: Double-check the indices input to ensure it is a properly formatted string of numbers separated by commas, such as "0,1,2".

索引 <idx> 超出批量范围 0-<total_masks-1>

  • Explanation: This error indicates that one or more indices specified are out of the valid range for the batch of masks.
  • Solution: Verify that all indices are within the range of available masks, which is from 0 to the total number of masks minus one.

没有输入遮罩

  • Explanation: This error occurs when the masks input is empty or not provided.
  • Solution: Ensure that the masks parameter is correctly set with a valid list or batch of masks before executing the node.

🎈List-Mask-Splitter Related Nodes

Go back to the extension to check out more related nodes.
Comfyui-LG_GroupExecutor
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Playground, enabling artists to harness the latest AI tools to create incredible art.