fix function

This commit is contained in:
青龍聖者@bdsqlsz
2024-09-05 16:38:08 +08:00
parent 2f2473c432
commit d932b97597

View File

@@ -414,8 +414,8 @@ def get_noisy_model_input_and_timesteps(
timesteps = logits_norm.sigmoid()
x1, x2 = args.min_bucket_reso or min(args.resolution), args.max_bucket_reso or max(args.resolution)
mu = get_lin_function(
y1=get_lin_function(x1),
y2=get_lin_function(x2),
y1=get_lin_function()(x1),
y2=get_lin_function()(x2),
)((h // 2) * (w // 2))
timesteps = time_shift(mu, 1.0, timesteps)