Skip to content

Commit

Permalink
fix a bug thanks to @lonzi
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidrains committed Jan 16, 2023
1 parent f7ea957 commit 3f9de5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion muse_maskgit_pytorch/muse_maskgit_pytorch.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ def forward(
# get loss

ce_loss = self.transformer(
ids,
x,
texts = texts,
text_embeds = text_embeds,
conditioning_token_ids = cond_token_ids,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
setup(
name = 'muse-maskgit-pytorch',
packages = find_packages(exclude=[]),
version = '0.0.18',
version = '0.0.19',
license='MIT',
description = 'MUSE - Text-to-Image Generation via Masked Generative Transformers, in Pytorch',
author = 'Phil Wang',
Expand Down

0 comments on commit 3f9de5c

Please sign in to comment.