NokiMo
Furkan Gözükara
Furkan Gözükara

patreon


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

Patreon exclusive posts index to find our scripts easily, Patreon scripts updates history to see which updates arrived to which scripts and amazing Patreon special generative scripts list that you can use in any of your task.

Join discord to get help, chat, discuss and also tell me your discord username to get your special rank : SECourses Discord

Please also Star, Watch and Fork our Stable Diffusion & Generative AI  GitHub repository and join our Reddit subreddit and follow me on LinkedIn (my real profile)

Details

Main FLUX training thread that you need to follow : https://www.patreon.com/posts/110879657

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 Training a FLUX LoRA with 256 Images Experiments - Full Workflow and Conclusions

Comments

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

Furkan Gözükara

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?

Sonivas Sx

ye please do ty

Furkan Gözükara

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.

Voplica

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

Furkan Gözükara

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.

Voplica

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

Furkan Gözükara

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?

Patrick Major

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

Furkan Gözükara

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.

cool1

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.

ZXM

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

Furkan Gözükara

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

Robert Morton

thanks for me as well

Furkan Gözükara

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

Sébastien Auger

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

Furkan Gözükara

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

Arcon Septim

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

Furkan Gözükara

This is another story. ^^

Samuel

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

Robert Arsene

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.

Patrick Major

thank you for your support as well

Furkan Gözükara

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

Clinton


Related Creators