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

Commit3b2cf7b

Browse files
committed
fix for self conditioning in diffusion prior networklucidrains#273
1 parent984d62a commit3b2cf7b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎dalle2_pytorch/dalle2_pytorch.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ def forward(
11241124
learned_queries=repeat(self.learned_query,'d -> b 1 d',b=batch)
11251125

11261126
ifself.self_cond:
1127-
learned_queries=torch.cat((image_embed,self_cond),dim=-2)
1127+
learned_queries=torch.cat((self_cond,learned_queries),dim=-2)
11281128

11291129
tokens=torch.cat((
11301130
text_encodings,

‎dalle2_pytorch/version.py‎

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp