ComfyUI  >  Nodes  >  Adaptive Guidance for ComfyUI >  PerpNegAdaptiveGuider

ComfyUI Node: PerpNegAdaptiveGuider

Class Name

PerpNegAdaptiveGuidanceGuider

Category
sampling/custom_sampling/guiders
Author
asagi4 (Account age: 504 days)
Extension
Adaptive Guidance for ComfyUI
Latest Updated
8/25/2024
Github Stars
0.0K

How to Install Adaptive Guidance for ComfyUI

Install this extension via the ComfyUI Manager by searching for  Adaptive Guidance for ComfyUI
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Adaptive Guidance 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

PerpNegAdaptiveGuider Description

Sophisticated node enhancing AI art guidance with Perpendicular Negative and Adaptive principles for nuanced control and high-quality results.

PerpNegAdaptiveGuider:

The PerpNegAdaptiveGuidanceGuider is a sophisticated node designed to enhance the guidance process in AI art generation by combining the principles of Perpendicular Negative Guidance and Adaptive Guidance. This node aims to provide more nuanced and controlled guidance by dynamically adjusting the influence of positive and negative conditioning based on the model's performance. By leveraging adaptive thresholds and configurable parameters, it ensures that the generated art adheres closely to the desired attributes while minimizing unwanted features. This node is particularly beneficial for artists seeking to fine-tune their AI models to produce high-quality, aesthetically pleasing results with greater precision and control.

PerpNegAdaptiveGuider Input Parameters:

model

This parameter represents the AI model used for generating art. It is essential for the node to function as it provides the underlying framework for the guidance process. The model parameter does not have specific minimum, maximum, or default values as it depends on the AI model being used.

positive

The positive parameter is a conditioning input that guides the model towards desired features in the generated art. It helps in emphasizing the attributes you want to see in the final output. This parameter is crucial for steering the model in the right direction and ensuring the generated art aligns with your creative vision.

negative

The negative parameter is a conditioning input that guides the model away from unwanted features in the generated art. It helps in suppressing attributes that you do not want to appear in the final output. This parameter is essential for refining the model's output and avoiding undesirable elements.

empty_conditioning

The empty_conditioning parameter serves as a baseline or neutral conditioning input. It is used to provide a reference point for the model when no specific positive or negative conditioning is applied. This parameter helps in maintaining balance and stability in the guidance process.

threshold

The threshold parameter determines the sensitivity of the adaptive guidance mechanism. It defines the point at which the model starts to adjust the influence of positive and negative conditioning. The default value is 0.990, with a minimum of 0.90 and a maximum of 1.0. Adjusting this parameter can significantly impact the model's responsiveness to conditioning inputs.

cfg

The cfg parameter, or classifier-free guidance scale, controls the strength of the guidance applied to the model. The default value is 8.0, with a minimum of 0.0 and a maximum of 100.0. This parameter allows you to fine-tune the balance between adhering to the conditioning inputs and maintaining the model's inherent creativity.

neg_scale

The neg_scale parameter adjusts the influence of the negative conditioning input. The default value is 1.0, with a minimum of 0.0 and a maximum of 100.0. This parameter is crucial for controlling the extent to which unwanted features are suppressed in the generated art.

uncond_zero_scale

The uncond_zero_scale parameter is an optional input that sets the scale for unconditional zero guidance. The default value is 0.0, with a maximum of 2.0. This parameter provides additional control over the guidance process, allowing for more nuanced adjustments.

cfg_start_pct

The cfg_start_pct parameter is an optional input that defines the starting percentage for the classifier-free guidance scale. The default value is 0.0, with a maximum of 1.0. This parameter helps in gradually introducing the guidance influence, ensuring a smoother transition and more controlled output.

PerpNegAdaptiveGuider Output Parameters:

GUIDER

The GUIDER output parameter represents the configured guidance object that encapsulates all the settings and conditioning inputs provided. This output is essential for the model to apply the specified guidance during the art generation process. It ensures that the generated art adheres to the desired attributes and avoids unwanted features, resulting in high-quality and aesthetically pleasing outputs.

PerpNegAdaptiveGuider Usage Tips:

  • Experiment with different values for the threshold parameter to find the optimal sensitivity for your specific use case. A lower threshold may result in more aggressive adjustments, while a higher threshold provides more stability.
  • Adjust the cfg and neg_scale parameters to fine-tune the balance between positive and negative conditioning. This can help in achieving the desired artistic effect and avoiding unwanted features.
  • Utilize the uncond_zero_scale and cfg_start_pct parameters for more nuanced control over the guidance process. These optional parameters can help in achieving smoother transitions and more controlled outputs.

PerpNegAdaptiveGuider Common Errors and Solutions:

"Model object not found"

  • Explanation: This error occurs when the specified model object is not available or incorrectly referenced.
  • Solution: Ensure that the model parameter is correctly specified and that the model object is available in the environment.

"Invalid threshold value"

  • Explanation: This error occurs when the threshold parameter is set outside the allowed range.
  • Solution: Adjust the threshold parameter to be within the range of 0.90 to 1.0.

"CFG scale out of bounds"

  • Explanation: This error occurs when the cfg parameter is set outside the allowed range.
  • Solution: Ensure that the cfg parameter is within the range of 0.0 to 100.0.

"Negative scale out of bounds"

  • Explanation: This error occurs when the neg_scale parameter is set outside the allowed range.
  • Solution: Adjust the neg_scale parameter to be within the range of 0.0 to 100.0.

"Unconditional zero scale out of bounds"

  • Explanation: This error occurs when the uncond_zero_scale parameter is set outside the allowed range.
  • Solution: Ensure that the uncond_zero_scale parameter is within the range of 0.0 to 2.0.

"CFG start percentage out of bounds"

  • Explanation: This error occurs when the cfg_start_pct parameter is set outside the allowed range.
  • Solution: Adjust the cfg_start_pct parameter to be within the range of 0.0 to 1.0.

PerpNegAdaptiveGuider Related Nodes

Go back to the extension to check out more related nodes.
Adaptive Guidance 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.