glide-text2im icon indicating copy to clipboard operation
glide-text2im copied to clipboard

Question about generating masks

Open Vanint opened this issue 2 years ago • 0 comments

Hi, thanks for your great work. I have a question related to mask generation in "bpe.py".

image

As shown in the above figure, it seems that len(tokens) = text_ctx, and then padding = 0. Does this mean there is no padding mask?

Best wishes,

Vanint avatar Jun 07 '22 04:06 Vanint