added beta_schedule argument

This commit is contained in:
Kashif Rasul
2022-04-17 15:19:33 +02:00
parent 42d6e47387
commit 51361c2d15

View File

@@ -971,7 +971,8 @@ class Decoder(nn.Module):
clip,
timesteps=1000,
cond_drop_prob=0.2,
loss_type = 'l1'
loss_type="l1",
beta_schedule="cosine",
):
super().__init__()
assert isinstance(clip, CLIP)