ComfyUI  >  Nodes  >  ComfyUI Inspire Pack >  Scheduled CFGGuider (Inspire)

ComfyUI Node: Scheduled CFGGuider (Inspire)

Class Name

ScheduledCFGGuider __Inspire

Category
sampling/custom_sampling/guiders
Author
Dr.Lt.Data (Account age: 471 days)
Extension
ComfyUI Inspire Pack
Latest Updated
7/2/2024
Github Stars
0.3K

How to Install ComfyUI Inspire Pack

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

Scheduled CFGGuider (Inspire) Description

Dynamic scheduling of CFG scale for nuanced AI art generation guidance.

Scheduled CFGGuider (Inspire):

The ScheduledCFGGuider __Inspire node is designed to provide a flexible and dynamic approach to guidance during the sampling process in AI art generation. This node allows you to schedule changes in the Classifier-Free Guidance (CFG) scale over the course of the sampling process, enabling more nuanced and controlled generation of images. By adjusting the CFG scale according to a specified schedule, you can influence the strength of the guidance applied, which can help in achieving more refined and desired artistic outcomes. The node supports different scheduling methods, such as linear, logarithmic, and exponential, providing you with the flexibility to tailor the guidance to your specific needs and artistic vision.

Scheduled CFGGuider (Inspire) Input Parameters:

model

This parameter specifies the model to be used for the sampling process. The model is the core component that generates the images based on the provided conditioning inputs.

positive

This parameter represents the positive conditioning input, which guides the model towards generating images that align with the desired characteristics or features specified in this conditioning.

negative

This parameter represents the negative conditioning input, which guides the model to avoid certain characteristics or features specified in this conditioning, helping to refine the output by steering it away from undesired elements.

sigmas

This parameter defines the noise levels (sigmas) used during the sampling process. It plays a crucial role in the denoising steps, affecting the quality and characteristics of the generated images.

from_cfg

This parameter sets the initial value of the Classifier-Free Guidance (CFG) scale at the start of the sampling process. The default value is 6.5, with a minimum of 0.0 and a maximum of 100.0. Adjusting this value influences the initial strength of the guidance applied to the model.

to_cfg

This parameter sets the final value of the Classifier-Free Guidance (CFG) scale at the end of the sampling process. The default value is 1.0, with a minimum of 0.0 and a maximum of 100.0. This value determines the strength of the guidance as the sampling process concludes.

schedule

This parameter specifies the method used to transition the CFG scale from the initial value (from_cfg) to the final value (to_cfg). The available options are "linear", "log", and "exp", with "log" being the default. Each method provides a different way to interpolate the CFG scale over the sampling steps, affecting the overall guidance dynamics.

Scheduled CFGGuider (Inspire) Output Parameters:

GUIDER

This output is the configured guider object that encapsulates the scheduled CFG guidance logic. It is used during the sampling process to apply the specified guidance schedule to the model.

SIGMAS

This output returns the noise levels (sigmas) used during the sampling process. These values are essential for the denoising steps and directly impact the quality and characteristics of the generated images.

Scheduled CFGGuider (Inspire) Usage Tips:

  • Experiment with different schedule options (linear, log, exp) to see how they affect the final image. Each method can produce significantly different results.
  • Adjust the from_cfg and to_cfg values to control the strength of the guidance at different stages of the sampling process. Higher values generally result in stronger guidance.
  • Use the positive and negative conditioning inputs to fine-tune the characteristics of the generated images. Positive conditioning can enhance desired features, while negative conditioning can suppress unwanted elements.

Scheduled CFGGuider (Inspire) Common Errors and Solutions:

"Invalid model input"

  • Explanation: The model parameter is not correctly specified or is incompatible with the node.
  • Solution: Ensure that the model input is correctly specified and compatible with the node. Verify that the model is properly loaded and accessible.

"Invalid conditioning input"

  • Explanation: The positive or negative conditioning inputs are not correctly specified or are incompatible with the node.
  • Solution: Check that the conditioning inputs are correctly specified and compatible with the node. Ensure that the conditioning data is properly formatted and accessible.

"Invalid sigma values"

  • Explanation: The sigmas parameter is not correctly specified or contains invalid values.
  • Solution: Verify that the sigmas parameter is correctly specified and contains valid noise levels. Ensure that the values are within the acceptable range and properly formatted.

"CFG scale out of range"

  • Explanation: The from_cfg or to_cfg values are outside the acceptable range.
  • Solution: Adjust the from_cfg and to_cfg values to be within the specified range (0.0 to 100.0). Ensure that the values are correctly formatted and within the acceptable limits.

Scheduled CFGGuider (Inspire) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI Inspire Pack
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.