diff --git a/README.md b/README.md index 552a597..c94bfe8 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ dalle2 = DALLE2( decoder = decoder ) -# send the text as a string if you want to use the simple tokenizer from DALL-E1 +# send the text as a string if you want to use the simple tokenizer from DALLE v1 # or you can do it as token ids, if you have your own tokenizer texts = ['glistening morning dew on a flower petal'] diff --git a/dalle2_pytorch/dalle2_pytorch.py b/dalle2_pytorch/dalle2_pytorch.py index 0b0db6c..a886252 100644 --- a/dalle2_pytorch/dalle2_pytorch.py +++ b/dalle2_pytorch/dalle2_pytorch.py @@ -877,7 +877,6 @@ class DALLE2(nn.Module): text = [text] if not isinstance(text, (list, tuple)) else text text = tokenizer.tokenize(text).to(device) - print(text.shape, type(text)) image_embed = self.prior.sample(text, num_samples_per_batch = self.prior_num_samples) images = self.decoder.sample(image_embed) return images diff --git a/setup.py b/setup.py index d7a1c96..eacc315 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( 'dream = dalle2_pytorch.cli:dream' ], }, - version = '0.0.5', + version = '0.0.6', license='MIT', description = 'DALL-E 2', author = 'Phil Wang',