mirror of
https://github.com/lucidrains/DALLE2-pytorch.git
synced 2025-12-18 17:34:18 +01:00
fix self_attn type on unetconfig
This commit is contained in:
@@ -233,7 +233,7 @@ class UnetConfig(BaseModel):
|
||||
cond_on_text_encodings: Optional[bool] = None
|
||||
cond_dim: Optional[int] = None
|
||||
channels: int = 3
|
||||
self_attn: ListOrTuple[bool]
|
||||
self_attn: SingularOrIterable[bool] = False
|
||||
attn_dim_head: int = 32
|
||||
attn_heads: int = 16
|
||||
init_cross_embed: bool = True
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = '1.15.5'
|
||||
__version__ = '1.15.6'
|
||||
|
||||
Reference in New Issue
Block a user