From c7018fb39d20dd7ae126ca9d0044d110d42e22fe Mon Sep 17 00:00:00 2001 From: Extraltodeus Date: Tue, 3 Sep 2024 13:47:03 +0200 Subject: [PATCH] Update skimmed_CFG.py --- skimmed_CFG.py | 1 + 1 file changed, 1 insertion(+) diff --git a/skimmed_CFG.py b/skimmed_CFG.py index c191bbb..4772767 100644 --- a/skimmed_CFG.py +++ b/skimmed_CFG.py @@ -229,6 +229,7 @@ def interpolated_scales(x_orig,cond,uncond,cond_scale,small_scale,squared=False, new_uncond = smaller_uncond * (1 - absdiff) + uncond * absdiff return new_uncond +# it was a bad idea @torch.no_grad() def interpolate_scales_sine_power(x_orig,cond,uncond,cond_scale,small_scale,sine_power,reverse_sine): sine_value = sine_power