Compare commits

..

1 Commits

2 changed files with 2 additions and 2 deletions

View File

@@ -1980,7 +1980,7 @@ class Decoder(BaseGaussianDiffusion):
batch_size = image_embed.shape[0]
if exists(text) and not exists(text_encodings) and not self.unconditional:
assert exists(self.clip)
assert exist(self.clip)
_, text_encodings, text_mask = self.clip.embed_text(text)
assert not (self.condition_on_text_encodings and not exists(text_encodings)), 'text or text encodings must be passed into decoder if specified'

View File

@@ -10,7 +10,7 @@ setup(
'dream = dalle2_pytorch.cli:dream'
],
},
version = '0.2.42',
version = '0.2.41',
license='MIT',
description = 'DALL-E 2',
author = 'Phil Wang',