Visit ComfyUI Online for ready-to-use ComfyUI environment
Dynamically adjust CFG settings for iterative image upscaling with scheduling mechanism for AI artists.
The CfgScheduleHookProvider
node is designed to dynamically adjust the configuration (CFG) settings during the iterative process of image upscaling. This node is particularly useful for AI artists who want to fine-tune the CFG values progressively, ensuring that the final output meets their desired quality and detail. By leveraging a scheduling mechanism, this node allows for a smooth transition of CFG values across iterations, enhancing the overall control and precision in the upscaling process. The primary goal of this node is to provide a flexible and automated way to manage CFG settings, making it easier to achieve optimal results without manual intervention at each step.
This parameter determines the type of schedule to be used for the iteration process. The available option is simple
, which applies a straightforward linear progression of CFG values across iterations. This parameter ensures that the CFG adjustments are applied consistently throughout the upscaling process.
This parameter specifies the target configuration (CFG) value that the node aims to reach by the end of the iteration process. It is a floating-point number with a default value of 3.0, a minimum value of 0.0, and a maximum value of 100.0. Adjusting this parameter allows you to control the intensity and quality of the upscaling, with higher values generally leading to more detailed and refined outputs.
The output of this node is a PK_HOOK
, which is a hook object that encapsulates the scheduling logic for CFG adjustments. This hook is used within the upscaling pipeline to apply the specified CFG schedule, ensuring that the target CFG value is progressively approached during the iterations. The hook's function is crucial for maintaining the desired CFG progression and achieving the intended upscaling results.
schedule_for_iteration
parameter to simple
and adjust the target_cfg
to your desired final value.target_cfg
values to find the optimal setting for your specific upscaling task. Higher values can enhance detail, but may also increase processing time.schedule_for_iteration
is not recognized.simple
, as it is the only supported option.target_cfg
value is outside the allowed range (0.0 to 100.0).target_cfg
value to be within the specified range to avoid this error.© Copyright 2024 RunComfy. All Rights Reserved.