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

Commit5975e82

Browse files
authored
Fix assert message (lucidrains#253)
1 parentc18c080 commit5975e82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎dalle2_pytorch/dalle2_pytorch.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ def forward(
14321432
**kwargs
14331433
):
14341434
assertexists(text)^exists(text_embed),'either text or text embedding must be supplied'
1435-
assertexists(image)^exists(image_embed),'eithertext ortext embedding must be supplied'
1435+
assertexists(image)^exists(image_embed),'eitherimage orimage embedding must be supplied'
14361436
assertnot (self.condition_on_text_encodingsand (notexists(text_encodings)andnotexists(text))),'text encodings must be present if you specified you wish to condition on it on initialization'
14371437

14381438
ifexists(image):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp