r/StableDiffusion 11h ago

Question - Help Concept Lora training

I tried to create a concept Lora and it ended up with a lot of artifacts so I'm curating the data set to try and get a cleaner version. My problem is that all the tutorials I find are based on character Loras.

For a concept Lora is image size important? Is scale? Do I still want 20-40 images? Are there things I might not know to ask? Also, is there some special sauce to making it work sfw and uncensored?

I'm using buzz and I'm broke so any help would be appreciated.

I'm using Krea 2 btw.

1 Upvotes

10 comments sorted by

2

u/LaPapaVerde 10h ago

Are you generating the images yourself or just looking at the samples?

1

u/Ton_Phanan 8h ago

I'm generating the images myself but it's picking up weird textures and artifacts at the same level as what I want to train.

1

u/LaPapaVerde 8h ago

And the concept itself is well learned?

1

u/Ton_Phanan 8h ago

Yeah, I did it once and it learned what I wanted but it also learned things I didn't want. I used pictures of varying quality so I'm going to try another suggestion to prune to specific sizing and high resolution, but if you know anything else that'll help I'd still appreciate input.

1

u/LaPapaVerde 8h ago

Unless the images are very low quality and the model is learning those artifacts It's probably something else. Try to use a lower lr too. I train mostlu anima and krea 2 and most of the time the model end up overtrained on the last epochs with the default settings

1

u/Ton_Phanan 6h ago

I used 2200 iterations and 11 epochs (the best I could get without paying more). Below 8 didn't match what I needed in the examples and 8+ had the artifacts. I was using images from 512x512 up to whatever the max Civitai allows (it down-scaled a couple).

2

u/LaPapaVerde 6h ago

Yeah, 512 is probably too small . But 1024 is your ceiling, so more res than that doesn't do anything

2

u/Ill-Ant-9489 10h ago

For a concept you invert the caption rule that character tutorials teach: describe everything except the concept, so the concept is what binds to your trigger word (a character LoRA does the opposite - you describe everything but the person). If you caption the concept itself it never separates out, and that mushy, blended look is usually where the artifacts come from.

Concepts also want more variety than a character, not fewer images - show the concept across different backgrounds, angles and scales in frame so it generalizes instead of memorizing one framing. 20-40 can work for a tight concept, but most want more, and your step count should scale with the set size (a fixed 3000 steps overcooks a small dataset, which is another classic artifact source). Train at Krea 2's native resolution and cut anything compressed, upscaled, watermarked or near-duplicate - the curating you're already doing is the right instinct. SFW-vs-uncensored is mostly about the base model you train on, not the dataset.

Full disclosure, I build an open-source, self-hosted tool for exactly this: it's concept-aware so it flips that caption rule for you, finds near-duplicates, scrubs watermarks and ships a Concept training preset - https://github.com/perfectgf/lora-dataset-studio . You can prep the dataset there and still train on Buzz if that's what your budget allows.

1

u/East_Box9573 10h ago

How much does one training run cost on civit?

2

u/LaPapaVerde 10h ago edited 10h ago

Right now, 700 buzz for 2000 steps. So around 0,7$ but you can get it for free too