mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Assume 0 = inf for s_tmax
This commit is contained in:
parent
ce4be668fe
commit
8f31b139b8
@ -347,7 +347,7 @@ class KDiffusionSampler:
|
|||||||
if len(self.extra_params) > 0:
|
if len(self.extra_params) > 0:
|
||||||
s_churn = getattr(opts, 's_churn', p.s_churn)
|
s_churn = getattr(opts, 's_churn', p.s_churn)
|
||||||
s_tmin = getattr(opts, 's_tmin', p.s_tmin)
|
s_tmin = getattr(opts, 's_tmin', p.s_tmin)
|
||||||
s_tmax = getattr(opts, 's_tmax', p.s_tmax)
|
s_tmax = getattr(opts, 's_tmax', p.s_tmax) or self.s_tmax # 0 = inf
|
||||||
s_noise = getattr(opts, 's_noise', p.s_noise)
|
s_noise = getattr(opts, 's_noise', p.s_noise)
|
||||||
|
|
||||||
if s_churn != self.s_churn:
|
if s_churn != self.s_churn:
|
||||||
|
Loading…
Reference in New Issue
Block a user