mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-23 19:44:20 +01:00
allow for setting beta schedules of unets differently in the decoder, as what was used in the paper was cosine, cosine, linear
This commit is contained in:
@@ -173,7 +173,7 @@ class DecoderConfig(BaseModel):
|
||||
channels: int = 3
|
||||
timesteps: int = 1000
|
||||
loss_type: str = 'l2'
|
||||
beta_schedule: str = 'cosine'
|
||||
beta_schedule: ListOrTuple(str) = 'cosine'
|
||||
learned_variance: bool = True
|
||||
image_cond_drop_prob: float = 0.1
|
||||
text_cond_drop_prob: float = 0.5
|
||||
|
||||
Reference in New Issue
Block a user