mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2026-02-12 11:34:29 +01:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
05192ffac4 |
@@ -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()
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '1.6.2'
|
||||
__version__ = '1.6.3'
|
||||
|
||||
Reference in New Issue
Block a user