Patrefans
Furkan Gözükara from patreon
Furkan Gözükara patreon

Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions

🕑 Added 2024-09-13 15:33:00 +0000 UTC
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions
Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions

Comments

Furkan Gözükara

they are lower lora network rank - dimension. you can also lower lora rank, but it will reduce quality i tested

Sonivas Sx

why when i train LoRa models are all around 1.5Gb big but when downloading Loras from civitai are 15-70Mb ? How can i reduce the size but keep the quality as high as possible?

Furkan Gözükara

ye please do ty

Voplica

We will try training this week on higher res aspect bucketing (up to 2 MP). I assume it should help, but I will post an update later if there are any meaningful results.

Furkan Gözükara

i have trained higher res and it had some improvement but not much. bucketing higher res might help but i havent tested

Voplica

Looks great! I wonder if the FLUX dev model, being a 2 MP model, might learn even better if it were trained on higher resolution images like 1440x1440. Additionally, aspect ratio bucketing with different resolutions such as 1024x1024, 1440x1440 and 864x1536 could help mitigate some of the issues encountered when generating higher-resolution images.

Furkan Gözükara

i think captioning makes minimal impact due to internal captioning, people tells that T5 impact is more important when you train text having images. i havent tested this yet

Patrick Major

I've done a tonne of testing using your rank 1 4x a6000 kohya settings with and without captions and have come to the same conclusion. Though I also like to train locally using the rank 8 or 9 depending on what I'm doing. In the higher rank files you have, the t5 encoder training is off. Would this then mean the captioning is way more important, or do you think the internal captioning still works? I haven't had time yet to train in that scenario and was wondering if you had... it would give to give guidance in the sense that if you want to skip the captioning use the lower rank training files with the t5 training on as the system auto captions and the higher rank ones need captions more?

Furkan Gözükara

i suggest this. first crop and have a baseline model. then you can try without cropping and enable bucketing and then compare. 1024 works great though

Furkan Gözükara

i made this comparison with joy caption which really fully captions the image. the thing is that i didnt see any improvements in generalization. also even if i dont caption, since flux has internal captioning alike system, all my images are still getting effect of fully captioned

cool1

You said "I didn't caption them only ohwx man since captioning reduces likeliness and doesn't bring improvements.". If there was a pre-caption option and you entered "ohwx man" (or other specific name of the person) as well as having an auto-caption/manually editing them later, wouldn't that allow good likeness as well as allowing it to better know the full scene info? If the auto captions just say describe "a man.." and the describe look and scene then it won't be as specific as entering the precaption/manually entering the name of the person.

ZXM

Great work, thanks a lot. I got one quick question here, is it necessary to crop the data sets to 1024x1024? I think previously for SDXL, it seems no need to crop and kohya ss could support various resolution with the bucket option.

Furkan Gözükara

no we have configs as low as 8gb. 24 gb cards can train almost maximum quality use rank 3 - if it be too slow use rank 4 : https://www.patreon.com/posts/110879657

Robert Morton

Is this only possible with high amounts of VRAM? Current restricted to 24GB for me

Furkan Gözükara

thanks for me as well

Sébastien Auger

Very nice new training! For me it’s the best you did 👍🏻 Reddit was right to force you to create another dataset wirh the critics, you proves that your parameters are very good, and that your work is of quality and that you listen to the community, bravo

Furkan Gözükara

yes i will share my experience after concluded. i may make a full fine tuning of flux i have such idea with 20k images

Arcon Septim

So are you going to tell us afterwards what would be the ideal steps count, repetitions etc. for having 200 photos for training source? Also are you planning on creating a full flux checkpoint fine tune for certain model? Thanks

Furkan Gözükara

Yep :)

Furkan Gözükara

Thank you so much

Furkan Gözükara

May help I haven't tested yet. Currently all are auto cropped to 1024*1024

Samuel

This is another story. ^^

Robert Arsene

What about training with different resolution like 720x1280? Would that help with full body generations at that resolution?

Patrick Major

Really great work! I had done stuff like this for SD1.5 and XL LoRA training, took forever to figure out good settings. Your work is quite appreciated.

Furkan Gözükara

thank you for your support as well

Clinton

That is a lot of work! Thank you for all you do, sir.


More Creators