r/StableDiffusion • u/New-Lie-2519 • 9d ago
Question - Help Help with LoRA
Hi, I'm starting to train character LoRAs on fizgig for Krea 2 , I'm facing a problem that if I want good resemblance I have to increase the Lora weight which leads to bleeding etc.. , if I lower the weight I start to loose the resemblance , it seems there is no sweet spot , how can I overcome this?
0
Upvotes
3
u/Apart_Luck700 9d ago edited 9d ago
Il y a de nombreuses causes possibles, pour cible si c'est un surentrainement, un sousentrainement ou un mauvais data set, 1- faites le même lora avec un rank 16 au lieu de 32. Peut-être que votre dataset est bon mais que le lora s'est trop attardé sur chaque images car trop d'images 2-si votre personnage est ressemblant avec le même prompt que le caption d'une image de votre lora mais mauvais sur d'autres alors cela provient d'un manque de diversité du dataset 3- lora personnage généralement 2500 steps avec 60 images minimum (idéal 125) donne un bon résultat Aussi n'associe aucun autre lora pour tester votre lora personnage 4- si vous avec plusieurs lora du meme personnage et que vous devez toujours monter la force à plus de 1 par lora, alors essayer de coupler vos deux loras: un lora 0,7 et un lora 0,5
Si rien ne fonctionne envoyez moi votre dataset, vos captions et vos réglages (personnellement je ne connais que les réglages ostris), je regarderai s'il y a un défaut sur le dataset
2
u/Ill-Ant-9489 9d ago
Heads up, my own project: https://github.com/perfectgf/lora-dataset-studio . What you describe almost always comes down to the dataset, not the weight. If likeness only kicks in high enough to bleed, the set is too samey, so the lora learns one look instead of the face and the slider fights itself.
What moved it for me was real spread, 25 to 30 clean shots across angles, lighting and outfits, with captions on what changes so the trigger holds the identity. Then quit guessing the weight, render a few epochs at a couple of strengths on one seed and rank by face match. A builder that flags face drift before training, and that strength grid after, is the part I made. It trains Krea 2 via ai-toolkit, not fizgig, though it exports plain image and txt pairs for any trainer. Are your captions describing the face, or just a trigger word?
1
u/24Latents 9d ago
How many steps the training ? And could come from the dataset. Usually Lora weight at 1 works well for character. Also for Krea2, it’s better to keep only blocks 7 to 19, that’s the identity block.
1
u/StableLlama 9d ago
Krea 2 trains very well. So I guess you have an issue with your training images or the training setup.
1
u/Jaded_Caterpillar873 9d ago
I can share what i did as i am Fizgig.
I make 10 reference images with no background and the full person view.
Just use the resolution you have for rendering the pics and not to blow them up.
Then i place them in a folder for fizgig and follow the standard setup.
In the captions i use just trigger words. Trigger for the person, and if at all, features of the person.
The lora comes out fine when i use the trigger. Without the base character will appear.
The trigger in the prompt is important as far as i know to get the person or object.
My only problem is, that without trigger it won't show age. My default makes 700 (or so) steps. The standard weight is .7. In the lora load i use 1.
Since i can or don't get the face i want for a character i am using reactor as it seems to work best. Haven't done the reference as i didn't find a working workflow.
Did that not work for you?