rinongal / textual_inversion

MIT License
2.9k stars 279 forks source link

optimization on null text #141

Closed fido20160817 closed 1 year ago

fido20160817 commented 1 year ago

Hi, the null text is optimized over the different timesteps. I am wondering whether it is an alternative solution to optimize unet itself over different timesteps only for this kind of condition? (copy unet and frozen it ahead, then for normal text input, use the frozen ones; for null text, use the optimized unet).

rinongal commented 1 year ago

We don't actually modify the u-net or the null text in any experiment that uses the frozen config.

You can look at Null text inversion for ideas on what you can do by tuning the null text. I'm sure there are also more ways to use it.

fido20160817 commented 1 year ago

oh, sorry, I mix your codes and Null text inversion. Thanks!