From 4a4c7ac9e6a190cf62d4412bea3400fdc1edb8db Mon Sep 17 00:00:00 2001 From: Phil Wang Date: Sun, 15 May 2022 18:47:37 -0700 Subject: [PATCH] cond drop prob for diffusion prior network should default to 0 --- dalle2_pytorch/dalle2_pytorch.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dalle2_pytorch/dalle2_pytorch.py b/dalle2_pytorch/dalle2_pytorch.py index 950900e..aa58424 100644 --- a/dalle2_pytorch/dalle2_pytorch.py +++ b/dalle2_pytorch/dalle2_pytorch.py @@ -794,7 +794,7 @@ class DiffusionPriorNetwork(nn.Module): text_embed, text_encodings = None, mask = None, - cond_drop_prob = 0.2 + cond_drop_prob = 0. ): batch, dim, device, dtype = *image_embed.shape, image_embed.device, image_embed.dtype diff --git a/setup.py b/setup.py index 77bb470..2a9c836 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ setup( 'dream = dalle2_pytorch.cli:dream' ], }, - version = '0.2.35', + version = '0.2.36', license='MIT', description = 'DALL-E 2', author = 'Phil Wang',