Skip to main content
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub
The SamplingPercentToSigma node converts a sampling percentage value to a corresponding sigma value using the model’s sampling parameters. It takes a percentage value between 0.0 and 1.0 and maps it to the appropriate sigma value in the model’s noise schedule, with options to return either the calculated sigma or the actual maximum/minimum sigma values at the boundaries.

Inputs

ParameterData TypeRequiredRangeDescription
modelMODELYes-The model containing the sampling parameters used for conversion
sampling_percentFLOATYes0.0 to 1.0The sampling percentage to convert to sigma (default: 0.0)
return_actual_sigmaBOOLEANYes-Return the actual sigma value instead of the value used for interval checks. This only affects results at 0.0 and 1.0. (default: False)

Outputs

Output NameData TypeDescription
sigma_valueFLOATThe converted sigma value corresponding to the input sampling percentage