mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-20 02:04:19 +01:00
added beta_schedule argument
This commit is contained in:
@@ -971,7 +971,8 @@ class Decoder(nn.Module):
|
|||||||
clip,
|
clip,
|
||||||
timesteps=1000,
|
timesteps=1000,
|
||||||
cond_drop_prob=0.2,
|
cond_drop_prob=0.2,
|
||||||
loss_type = 'l1'
|
loss_type="l1",
|
||||||
|
beta_schedule="cosine",
|
||||||
):
|
):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
assert isinstance(clip, CLIP)
|
assert isinstance(clip, CLIP)
|
||||||
|
|||||||
Reference in New Issue
Block a user