r/StableDiffusion • • 2d ago

Question - Help Auto Lora Training

This might sound a bit dumb or lazy but is there a way to create a dataset of photos without the need for cleaning up or preprocessing? Im new at this but from videos i saw people usually crop the faces and do labels etc themselves, any tools you know that would just let me feed it raw images of myself without any edits so it can do the processes in between itself ?

3 Upvotes

15 comments sorted by

7

u/Additional_Drive1915 1d ago

Fizgig has this built in, and is a fantastic lora trainer in so many ways.

1

u/gu3vesa 10h ago

Does this support wan2.2 ? I saw minimax only for vid gen in github.

2

u/Additional_Drive1915 9h ago

No, it doesn't, but still a nice easy way of handling datasets.

2

u/Ill-Ant-9489 17h ago

Not a dumb question at all. The cropping and the captions can both be automated, so you can drop your raw selfies in and let a tool do the face crops and the tagging for you. The others are right about one thing though, you still want to eyeball the results before training, since a few bad frames drag a character lora down fast.

That review step is why I built LoRA Dataset Studio, a free local app that scores and auto crops a folder, writes captions, then lays it all out in a grid so you reject the junk in a couple minutes and export the training zip. How many photos of yourself have you got, and are you on an nvidia card?

1

u/gu3vesa 10h ago

I will first try a lora of myself to get used to the process so i can do virtually infinite photos, im on an nvidia card but my own pc sucks so i normally use kaggle for ai related things like comfyui for wan2.2 etc. Kaggle uses T4 gpus which are 16gb, do you think thats enough for lora training ?

1

u/Ill-Ant-9489 5h ago

T4 16GB is fine for a character lora, you just want the right base. Z-Image or SDXL are the safe picks at 16GB, FLUX.2 Klein 4B fits but tight, and FLUX.1 or Krea 2 really want 24 (Krea 2 only does 768px under that), so leave those for later. The T4 is slow so expect to wait, but it gets there.

That app I linked (I built it, https://github.com/perfectgf/lora-dataset-studio) sets the recipe per family and scales the steps to your photo count, so it won't hand a 16GB card a config it chokes on. Doing a lora of yourself first is smart, gives you clean refs to generate from later.

3

u/schrobble 2d ago

I made a workflow for batch upscaling and restoring photos and a separate one for batch captioning based on my own system prompt, but there is no substitute for carefully reviewing the outcomes

3

u/Reasonable_Bear_6258 2d ago edited 2d ago

You can just train a lora without captions or image editing. It likely won't come out well unless you know what you're doing with your actual training settings but you can do it. Frankly, dataset cleanup is the easy part of lora training. Best to learn it the correct way before you learn it the lazy way

3

u/reeight 1d ago

Or at least manually review an auto-crop & tag tool to double-check.

2

u/Additional_Drive1915 1d ago

I would say dataset preparations is 98% of the effort. :)

The dataset is extremely important, a few bad images can have a large impact of the end result.

Of course it depends on what kind of lora you're making, some are easier than others and need less preparation.

2

u/Ok-Republic764 2d ago

https://github.com/RationallyPrime/concept-studio

This does most of the work for you. Built in AI assistance, help with dataset curation and preprocessing, auto captions, handles gpu rental for you, publishes to huggingface etc etc

1

u/CCJtheWolf 1d ago

This is for Apple Macintosh only. Doesn't work on Windows or Linux.

1

u/Ok-Republic764 1d ago

Yes, that’s correct. I wanted to use Swift because SwiftUI is terrific for easy to navigate, user friendly UIs and to be able to offer users import from Apple Photos and Google Photos so that made a native macOS desktop app the natural choice.

1

u/LaPapaVerde 1d ago

Ask any agent to do it. Just tell them "Caption these images, the character is called x" and then you have your dataset ready.