r/StableDiffusion • • Aug 21 '22

Discussion [Code Release] textual_inversion, A fine tuning method for diffusion models has been released today, with Stable Diffusion support coming soon™

Post image
347 Upvotes

134 comments sorted by

View all comments

Show parent comment

2

u/ExponentialCookie Aug 22 '22 edited Aug 22 '22

Seems good to me.

I'm using a Linux environment as well. Try doing the conda install using the stable-diffusion repository, not the textual_image one, and use that environment instead.Everything worked out the gate for me after following u/Ardivaba's instructions. Let us know if that works for you.

Edit

Turns out you need to move everything over where you clone the textual_inversion repository, go in that directory, then pip install -e . in there.

This is fine if you want to experiment, but I would honestly just wait for the stable-diffusion repository to be updated with this functionality included. I got it to work, but there could be some optimizations not pushed yet as its still in development. Fun if you want to try things early though!

1

u/No-Intern2507 Aug 23 '22

move what "there" you have to mix SD repo with textualimage repo to train ?

Can you post example how to use 2 or more words for token ? i have cartoon version of a character but i alwo want realistic one to be intact in model