Nodes/ComfyUI-sonar/SonarAdvancedDistroNoise
ComfyUI Node

SonarAdvancedDistroNoise

Custom noise type that allows specifying parameters for Distro variants. See: https://pytorch.org/docs/stable/distributions.html

By blepping·Created 3 years ago·Updated about a month ago· 49
SonarAdvancedDistroNoise
  • sonar_custom_noise_opt
  • SONAR_CUSTOM_NOISE
factor1.000
rescale0.000
distributionuniform
quantile_norm0.850
quantile_norm_modebatch
result_index-1
exponential_lambd1.00
cauchy_median0.0
cauchy_sigma1.00
geometric_p0.25
log_normal_mean1.00
log_normal_std2.00
normal_mean0.00
normal_std1.00
beta_concentration00.5
beta_concentration10.5
continuous_bernoulli_probs0.5
dirichlet_concentration0.5 0.5
fisher_snedecor_df11.0
fisher_snedecor_df22.0
gamma_concentration1.0
gamma_rate1.0
gumbel_loc1.0
gumbel_scale2.0
inverse_gamma_concentration1.0
inverse_gamma_rate1.0
kumaraswamy_concentration01.0
kumaraswamy_concentration11.0
laplacian_loc0.0
laplacian_scale1.0
lkjcholesky_dim3
lkjcholesky_concentration1.0
lrmvariate_normal_loc0.0 0.0
lrmvariate_normal_cov_factor1.0 0.0
lrmvariate_normal_cov_diag1.0 1.0
mvariate_normal_loc0.0 0.0
mvariate_normal_cov_multiplier1.00
pareto_scale1.0
pareto_alpha1.0
poisson_rate1.5
relaxed_bernoulli_temperature0.75
relaxed_bernoulli_probs0.66
relaxed_onehotcategorical_temperature1.50
relaxed_onehotcategorical_probs0.33 0.66
studentt_loc0.0
studentt_scale1.0
studentt_df1.0
uniform_low0.00
uniform_high1.00
vonmises_loc1.0
vonmises_concentration1.0
weibull_scale1.0
weibull_concentration1.0
wishart_df2.0
wishart_cov_size2
wishart_cov_multiplier1.00
Categoryadvanced/noise

Inputs (57)

NameTypeDefaultDescription
factorFLOAT1.000-10000–10000Scaling factor for the generated noise of this type.
rescaleFLOAT0.0000–10000When non-zero, this custom noise item and other custom noise items items connected to it will have their factor scaled to add up to the specified rescale value. When set to 0, rescaling is disabled.
distributionCOMBOuniformSets the distribution used for noise generation. See: https://pytorch.org/docs/stable/distributions.html
quantile_normFLOAT0.850-1–1When enabled, will normalize generated noise to this quantile (i.e. 0.75 means outliers >75% will be clipped). Set to 1.0 or 0.0 to disable quantile normalization. A value like 0.75 or 0.85 should be reasonable, it really depends on the distribution and how many of the values are extreme. (Experimental) You can use a negative quantile to consider the values closest to zero as extreme.
quantile_norm_modeCOMBObatchControls what dimensions quantile normalization uses. By default, the noise is flattened first. You can try the nonflat versions but they may have a very strong row/column influence. Only applies when quantile_norm is active.
result_indexSTRING-1When noise generation returns a batch of items, it will select the specified index. Negative indexes count from the end. Values outside the valid range will be automatically adjusted. You may enter a space-separated list of values for the case where there might be multiple added batch dimensions. Excess batch dimensions are removed from the end, indexe from result_index are used in order so you may want to enter the indexes in reverse order. Example: If your noise has shape (1, 4, 3, 3) and two 2-sized batch dims are added resulting in (1, 4, 3, 3, 2, 2) and you wanted index 0 from the first additional batch dimension and 1 from the second you would use result_index: 1 0
exponential_lambdFLOAT1.00
cauchy_medianSTRING0.0
cauchy_sigmaFLOAT1.00
geometric_pFLOAT0.25
log_normal_meanFLOAT1.00
log_normal_stdFLOAT2.00
normal_meanFLOAT0.00
normal_stdFLOAT1.00
beta_concentration0STRING0.5
beta_concentration1STRING0.5
continuous_bernoulli_probsSTRING0.5
dirichlet_concentrationSTRING0.5 0.5
fisher_snedecor_df1STRING1.0
fisher_snedecor_df2STRING2.0
gamma_concentrationSTRING1.0
gamma_rateSTRING1.0
gumbel_locSTRING1.0
gumbel_scaleSTRING2.0
inverse_gamma_concentrationSTRING1.0
inverse_gamma_rateSTRING1.0
kumaraswamy_concentration0STRING1.0
kumaraswamy_concentration1STRING1.0
laplacian_locSTRING0.0
laplacian_scaleSTRING1.0
lkjcholesky_dimINT3
lkjcholesky_concentrationSTRING1.0
lrmvariate_normal_locSTRING0.0 0.0
lrmvariate_normal_cov_factorSTRING1.0 0.0
lrmvariate_normal_cov_diagSTRING1.0 1.0
mvariate_normal_locSTRING0.0 0.0
mvariate_normal_cov_multiplierFLOAT1.00
pareto_scaleSTRING1.0
pareto_alphaSTRING1.0
poisson_rateSTRING1.5
relaxed_bernoulli_temperatureFLOAT0.75
relaxed_bernoulli_probsSTRING0.66
relaxed_onehotcategorical_temperatureFLOAT1.50
relaxed_onehotcategorical_probsSTRING0.33 0.66
studentt_locSTRING0.0
studentt_scaleSTRING1.0
studentt_dfSTRING1.0
uniform_lowFLOAT0.00
uniform_highFLOAT1.00
vonmises_locSTRING1.0
vonmises_concentrationSTRING1.0
weibull_scaleSTRING1.0
weibull_concentrationSTRING1.0
wishart_dfSTRING2.0
wishart_cov_sizeINT2
wishart_cov_multiplierFLOAT1.00
sonar_custom_noise_optoptSONAR_CUSTOM_NOISE,OCS_NOISEOptional input for more custom noise items. The following input types are supported: SONAR_CUSTOM_NOISE, OCS_NOISE

Outputs (1)

NameTypeDescription
SONAR_CUSTOM_NOISESONAR_CUSTOM_NOISEA custom noise chain.