r/sdforall • • Oct 12 '22
Question Advice on Automatic1111 textual inversion tuning?
[deleted] — view deleted post
17
Upvotes
r/sdforall • • Oct 12 '22
[deleted] — view deleted post
3
u/Pleasant-Cause4819 Oct 12 '22
In all the ones I've done, I do 8 vectors per token and I start at 3000 steps but usually go to 6000. My advice for getting the best results is to focus more on the training images. I spend time color/light correcting all training images to be roughly the same tone/hue. I also try to get a good mix of pictures of the subject. Some from the left side, right side, smiling, frowning, etc... IMO it's more about quality than quantity. I've found 6000 to be the sweet spot on multiple embeddings. Again though, spend time on your training images.
3
u/Evei_Shard Oct 12 '22
With regards to Automatic1111: yes. While I've not experimented with what happens should you change the images in the data set mid training, you can, in fact, set it to train to 1000 steps, close everything up, come home from work the next day and then train another 1000 steps. You just have to set the max to 2000. It will pick up where it left off.
Beyond that, I have no idea if it affects the training negatively.
2
u/doomedramen Oct 12 '22
+1 to the trains a character and not a style question
1
u/holland_is_holland Oct 13 '22
it's a little bit voodoo to get perfect
but you can rely on the fact that your input images are basically all you have in terms of control
I am getting a lot more success when I drop the captions and I have my own application specific keyword file that just says "an illustration by [name]" or "a photo of a [name]". I make a new one whenever I'm training a style for a different type of artist. I made one this morning that just said "a mural by [name]" because he's a muralist.
Then I do very simple prompts like: portrait photo of a woman as KEYWORDA as KEYWORDB
and it gives me the woman I trained for KEYWORDA and the visual style I trained for KEYWORDB
I am trying to eliminate as much complexity as possible, and it is working out for me. The models I'm training work for subjects at 10k steps, and styles at ~30k steps.
My biggest problems are when my trained models get washed out by strong prompts like recent politicians or ultra-famous very photographed people like Kate Middleton. The models I'm training respond well to setting emphasis at 1.1 or 0.9.
Interestingly, I have not had to go more than 1 token to get the results I want.
Any experts want to critique my methods? I'm genuinely curious if I'm just on a hot streak of having good inputs, because my results are incredible.
0
u/[deleted] Oct 12 '22
[deleted] — view deleted comment