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
superclass_text_enc=rearrange(superclass_text_enc, 'b 1 d -> b d')
97
-
98
95
# take care of initializing with superclass prompt
99
96
# for key-locking - this assumes stable diffusion was modified so text encoder takes in a prompt with both the <concept> as well as <superclass> - it seems this also has the limitation that <superclass> must be one token
100
97
101
-
text_enc_with_superclass_output=einsum('b n i, o i -> b n o', text_enc_with_superclass, weights)
0 commit comments