Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdab2f74

Browse files
committed
fix self_attn type on unetconfig
1 parent1e173f4 commitdab2f74

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎dalle2_pytorch/train_configs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ class UnetConfig(BaseModel):
233233
cond_on_text_encodings:Optional[bool]=None
234234
cond_dim:Optional[int]=None
235235
channels:int=3
236-
self_attn:ListOrTuple[bool]
236+
self_attn:SingularOrIterable[bool]=False
237237
attn_dim_head:int=32
238238
attn_heads:int=16
239239
init_cross_embed:bool=True

‎dalle2_pytorch/version.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__='1.15.5'
1+
__version__='1.15.6'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp