mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-19 17:54:20 +01:00
fix bug with misnamed variable in diffusion prior network
This commit is contained in:
@@ -1070,7 +1070,7 @@ class DiffusionPriorNetwork(nn.Module):
|
||||
|
||||
null_text_embeds = self.null_text_embeds.to(text_embed.dtype)
|
||||
|
||||
text_embeds = torch.where(
|
||||
text_embed = torch.where(
|
||||
text_keep_mask,
|
||||
text_embed,
|
||||
null_text_embeds
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '1.10.3'
|
||||
__version__ = '1.10.4'
|
||||
|
||||
Reference in New Issue
Block a user