This commit is contained in:
lllyasviel 2023-08-15 08:16:13 -07:00 committed by GitHub
parent a5cff12f6e
commit 446a4fe5ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -345,8 +345,8 @@ def unet_forward_patched(self, x, timesteps=None, context=None, y=None, control=
h = h.type(x.dtype)
x0 = self.out(h)
alpha = 1.0 - ((timesteps / 999.0)[:, None, None, None].clone() ** 2.0)
alpha *= 0.01
alpha = 1.0 - (timesteps / 999.0)[:, None, None, None].clone()
alpha *= 0.002
degraded_x0 = gaussian_filter_2d(x0) * alpha + x0 * (1.0 - alpha)
x0 = x0 * uc_mask + degraded_x0 * (1.0 - uc_mask)

View File

@ -1,3 +1,7 @@
### 1.0.29
* Fix overcook problem in 1.0.28
### 1.0.28
* SAG implemented