question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error related to text mask

See original GitHub issue
File "/fsx/dalle2/.dalle_env_38/lib64/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
losses = self.p_losses(unet, image, times, image_embed = image_embed, text_encodings = text_encodings, text_mask = text_mask, lowres_cond_img = lowres_cond_img, predict_x_start = predict_x_start, learned_variance = learned_variance, is_latent_diffusion = is_latent_diffusion, noise_scheduler = noise_scheduler)
File "/fsx/dalle2/DALLE2-pytorch/dalle2_pytorch/dalle2_pytorch.py", line 2340, in p_losses
return forward_call(*input, **kwargs)
File "/fsx/dalle2/DALLE2-pytorch/dalle2_pytorch/dalle2_pytorch.py", line 1817, in forward
model_output = unet(
File "/fsx/dalle2/.dalle_env_38/lib64/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl
text_keep_mask = text_mask & text_keep_mask
RuntimeError: The size of tensor a (0) must match the size of tensor b (26) at non-singleton dimension 0
return forward_call(*input, **kwargs)
File "/fsx/dalle2/DALLE2-pytorch/dalle2_pytorch/dalle2_pytorch.py", line 1817, in forward
text_keep_mask = text_mask & text_keep_mask
RuntimeError: The size of tensor a (0) must match the size of tensor b (26) at non-singleton dimension 0

Recently introduced but not sure which commit

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:49 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
nousrcommented, Jul 13, 2022

awesome! ill give it a shot tomorrow, i’m gonna sign off for the afternoon.

On Jul 12, 2022, at 5:51 PM, Phil Wang @.***> wrote:

@nousr threw in yet another stability measure 349aaca

worst comes to worst, we can always rollback

thanks for letting me know about the dreaded NaNs!

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

1reaction
lucidrainscommented, Jul 13, 2022

@nousr threw in yet another stability measure https://github.com/lucidrains/DALLE2-pytorch/commit/349aaca56fe66a6f0fc6720c91ee5d7fa1e36f93

worst comes to worst, we can always rollback

thanks for letting me know about the dreaded NaNs!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · text-mask/text-mask - GitHub
Input mask for React, Angular, Ember, Vue, & plain JavaScript - Issues · text-mask/text-mask.
Read more >
Text mask error - Autodesk Community - AutoCAD
Has anyone encountered a return of " " for text mask? It worked fine in r-14 & 2000i but in r2002 no dice....
Read more >
Manage Text Mask Sets - PowerSchool Documentation Server
Fields that have text masks associated to them are validated upon submitting a page that contains those fields. If an error occurs, a...
Read more >
SAP message CJ611 Cannot make this change to the editin
You want to change an existing coding mask, or want to create a new mask and have chosen a key for which a...
Read more >
coding mask error - SAP Community
hello, I am using ECC 6 I have configured the coding mask as follows :000/0/xxx/000/000 my project id is 4 char long when...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found