You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# whether text embedding is masked or not depends on the classifier free guidance conditional masking
697
697
698
-
mask=torch.cat((mask, cond_prob_mask), dim=1)
698
+
mask=torch.cat((mask, keep_mask), dim=1)
699
699
700
700
# whether text embedding is used for conditioning depends on whether text encodings are available for attention (for classifier free guidance, even though it seems from the paper it was not used in the prior ddpm, as the objective is different)
0 commit comments