ComfyUI  >  Nodes  >  pre_cfg_comfy_nodes_for_ComfyUI >  Individual channel selector

ComfyUI Node: Individual channel selector

Class Name

Individual channel selector

Category
model_patches/Pre CFG/channels_selectors
Author
Extraltodeus (Account age: 3267 days)
Extension
pre_cfg_comfy_nodes_for_ComfyUI
Latest Updated
9/23/2024
Github Stars
0.0K

How to Install pre_cfg_comfy_nodes_for_ComfyUI

Install this extension via the ComfyUI Manager by searching for  pre_cfg_comfy_nodes_for_ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter pre_cfg_comfy_nodes_for_ComfyUI 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Individual channel selector Description

Fine-tune channel selection for model's latent space, enabling precise control over individual channels for customized outputs.

Individual channel selector:

The Individual channel selector node is designed to provide fine-grained control over the selection of specific channels within a model's latent space. This node allows you to either include or exclude a particular channel from a set of channels, making it highly useful for tasks that require precise manipulation of individual channels. By enabling or disabling specific channels, you can tailor the behavior of your model to better suit your artistic needs, ensuring that only the desired channels are active during the model's execution. This capability is particularly beneficial for AI artists looking to experiment with different channel configurations to achieve unique and customized outputs.

Individual channel selector Input Parameters:

exclude

The exclude parameter is a boolean value that determines whether the selected channel should be excluded or included. When set to True, the selected channel will be excluded, and when set to False, the selected channel will be included. This parameter allows you to control the activation state of the specific channel. The default value is False.

selected_channel

The selected_channel parameter is an integer that specifies which channel to target for inclusion or exclusion. This parameter allows you to select a specific channel by its index, providing precise control over which channel is affected. The value must be between 1 and 128, inclusive. The default value is 1.

total_channels

The total_channels parameter is an integer that defines the total number of channels available in the model's latent space. This parameter ensures that the node operates within the correct range of channels, preventing out-of-bounds errors. The value must be between 1 and 128, inclusive. The default value is 4.

Individual channel selector Output Parameters:

CHANS

The CHANS output parameter is a list of boolean values representing the state of each channel in the model's latent space. Each boolean value indicates whether the corresponding channel is included (True) or excluded (False). This output allows you to see the configuration of channels after applying the node's logic, providing a clear understanding of which channels are active.

Individual channel selector Usage Tips:

  • To include a specific channel while excluding all others, set the exclude parameter to False and specify the desired channel number in the selected_channel parameter.
  • If you want to exclude a particular channel while including all others, set the exclude parameter to True and specify the channel number to be excluded in the selected_channel parameter.
  • Ensure that the total_channels parameter accurately reflects the number of channels in your model's latent space to avoid configuration errors.

Individual channel selector Common Errors and Solutions:

WRONG CHANNEL SELECTED. THE LATENT SPACE ONLY HAS <number> CHANNELS

  • Explanation: This error occurs when the selected_channel parameter is set to a value that exceeds the number of available channels in the model's latent space.
  • Solution: Verify the total number of channels in your model and ensure that the selected_channel parameter is within the valid range (1 to the total number of channels). Adjust the selected_channel value accordingly.

Individual channel selector Related Nodes

Go back to the extension to check out more related nodes.
pre_cfg_comfy_nodes_for_ComfyUI
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.