mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 17:54:20 +01:00
fix misnamed variable, thanks to @nousr
This commit is contained in:
@@ -1061,7 +1061,7 @@ class DiffusionPrior(nn.Module):
|
||||
c2 = ((1 - alpha_next) - torch.square(c1)).sqrt()
|
||||
noise = torch.randn_like(image_embed) if time_next > 0 else 0.
|
||||
|
||||
img = x_start * alpha_next.sqrt() + \
|
||||
image_embed = x_start * alpha_next.sqrt() + \
|
||||
c1 * noise + \
|
||||
c2 * pred_noise
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '0.19.4'
|
||||
__version__ = '0.19.5'
|
||||
|
||||
Reference in New Issue
Block a user