cond drop prob for diffusion prior network should default to 0

This commit is contained in:
Phil Wang
2022-05-15 18:47:37 -07:00
parent fad7481479
commit 4a4c7ac9e6
2 changed files with 2 additions and 2 deletions

View File

@@ -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