ComfyUI  >  Nodes  >  ComfyUI >  PolyexponentialScheduler

ComfyUI Node: PolyexponentialScheduler

Class Name

PolyexponentialScheduler

Category
sampling/custom_sampling/schedulers
Author
ComfyAnonymous (Account age: 598 days)
Extension
ComfyUI
Latest Updated
8/12/2024
Github Stars
45.9K

How to Install ComfyUI

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

PolyexponentialScheduler Description

Generates sigma values with polyexponential function for AI art and image sampling, offering nuanced control for image quality.

PolyexponentialScheduler:

The PolyexponentialScheduler node is designed to generate a sequence of sigma values using a polyexponential function, which is particularly useful in the context of AI art generation and image sampling. This scheduler allows for more nuanced control over the sigma values, which can influence the noise levels and the overall quality of the generated images. By adjusting the parameters, you can fine-tune the behavior of the scheduler to achieve specific artistic effects or to optimize the sampling process for different models and tasks.

PolyexponentialScheduler Input Parameters:

steps

This parameter defines the number of steps for which the sigma values will be generated. The number of steps directly impacts the granularity and the length of the sigma sequence. The minimum value is 1, the maximum value is 10000, and the default value is 20. Adjusting this parameter allows you to control the resolution of the sampling process.

sigma_max

This parameter sets the maximum value for the sigma sequence. Sigma values represent the noise levels, and a higher sigma_max means higher initial noise. The minimum value is 0.0, the maximum value is 5000.0, and the default value is 14.614642. This parameter is crucial for defining the upper bound of the noise levels in the sampling process.

sigma_min

This parameter sets the minimum value for the sigma sequence. Lower sigma values correspond to lower noise levels towards the end of the sampling process. The minimum value is 0.0, the maximum value is 5000.0, and the default value is 0.0291675. This parameter helps in defining the lower bound of the noise levels, ensuring a smooth transition from high to low noise.

rho

This parameter controls the shape of the polyexponential function used to generate the sigma values. It influences how quickly the sigma values decay from sigma_max to sigma_min. The minimum value is 0.0, the maximum value is 100.0, and the default value is 1.0. Adjusting rho allows you to fine-tune the rate of decay, which can affect the overall smoothness and quality of the generated images.

PolyexponentialScheduler Output Parameters:

SIGMAS

The output of this node is a sequence of sigma values, represented as SIGMAS. These values are used in the sampling process to control the noise levels at each step. The sequence of sigma values is crucial for the denoising process, impacting the final quality and characteristics of the generated images. By using the polyexponential function, this scheduler provides a flexible and customizable way to manage noise levels throughout the sampling process.

PolyexponentialScheduler Usage Tips:

  • Experiment with different values of rho to see how it affects the smoothness and quality of your generated images. A higher rho value can result in a slower decay of noise, which might be useful for certain artistic effects.
  • Adjust sigma_max and sigma_min to control the range of noise levels. Higher sigma_max values can introduce more initial noise, which might be beneficial for generating more diverse and detailed textures.
  • Use a higher number of steps for more detailed and fine-grained control over the sampling process, especially if you are working on high-resolution images.

PolyexponentialScheduler Common Errors and Solutions:

ValueError: steps must be between 1 and 10000

  • Explanation: This error occurs when the steps parameter is set outside the allowed range.
  • Solution: Ensure that the steps parameter is set to a value between 1 and 10000.

ValueError: sigma_max must be between 0.0 and 5000.0

  • Explanation: This error occurs when the sigma_max parameter is set outside the allowed range.
  • Solution: Ensure that the sigma_max parameter is set to a value between 0.0 and 5000.0.

ValueError: sigma_min must be between 0.0 and 5000.0

  • Explanation: This error occurs when the sigma_min parameter is set outside the allowed range.
  • Solution: Ensure that the sigma_min parameter is set to a value between 0.0 and 5000.0.

ValueError: rho must be between 0.0 and 100.0

  • Explanation: This error occurs when the rho parameter is set outside the allowed range.
  • Solution: Ensure that the rho parameter is set to a value between 0.0 and 100.0.

PolyexponentialScheduler Related Nodes

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