Compare commits

..

1 Commits
1.6.2 ... 1.6.3

Author SHA1 Message Date
Phil Wang
05192ffac4 fix self conditioning shape in diffusion prior 2022-08-12 12:30:03 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1287,7 +1287,7 @@ class DiffusionPrior(nn.Module):
image_embed_noisy = self.noise_scheduler.q_sample(x_start = image_embed, t = times, noise = noise)
self_cond = None
if self.net.self_cond and random.random() < 1.5:
if self.net.self_cond and random.random() < 0.5:
with torch.no_grad():
self_cond = self.net(image_embed_noisy, times, **text_cond).detach()

View File

@@ -1 +1 @@
__version__ = '1.6.2'
__version__ = '1.6.3'