I have been working on learning how to train style loras in Krea 2 for a while. I got pretty close to finalizing my training approach in terms of dataset composition and AI Toolkit settings, but one of the lingering issues I am having is that my trigger word keeps showing up as a watermark, signature, or random text in the image. I removed all signatures from the actual dataset, so that's not the cause.
My trigger strategy up to now has been consistently inserting a non-sensical trigger word (like "WCPT_01") or a somewhat recognizable trigger word "like "waterfinegrain" at the end of every caption. Some research suggested that not using a trigger at all or using a trigger phrase like "a watercolor painting of..." works better for more recent models. Not using a trigger flat out did not work. Using the phrase has proven problematic because the model's previous knowledge of the concept seems to override the training. In my first test with a phrase as a trigger, all of the lora checkpoints (saved every 250 steps) produced almost exactly the same image at the same seed, and none of the images were in the style of the dataset. Removing the lora entirely while keeping the prompt did produce a slight difference in style, but not much of one - meaning the lora was having very little effect.
Chatgpt and Gemini have been running me back and forth regarding the trigger strategy, and I'm pulling my hair out trying to get a fully functioning lora. I was almost there except for the trigger showing up as a watermark and a couple of other tweaks. Now what the LLMs are suggesting is that I use a less general phrase like "a painting by (Artist Name) of" instead of a general term like "watercolor" that will have too many associations baked into the model already... but this seems like too haphazard of an approach because there's no way to know what terms the model will have associations with until after a training run.
What is the best strategy for trigger words with Krea2 style loras?
Below are my training settings just in case anyone is curious. I was getting good results with these training settings, but there is still room for improvement. After being run around in different directions by LLMs regarding the AI Toolkit settings, I was about to start a series of A/B tests where I use the same dataset and only change 1 setting in AI Toolkit at a time until I determined the best settings. If anyone has advice on the training settings, feel free to chime in, but this is really a question about the trigger strategy. For A/B testing, I intend to test rank 32 vs 64, gradient accumulation of 1, 2 and 4, different learning rates, Linear vs Sigmoid, and Balanced vs Low Noise.
Dataset - 76 images
Steps - 1500 - but saved every 250 steps
Rank - have tried both 32 and 64 (this was the first A/B test)
Batch Size - 1
Gradient Accumulation - 4
Learning Rate .0001
Timestep Type - Sigmoid, Balanced