4 ms·
I'm curious to give this a go. I've been training a lot of LoRAs for FLUX dev recently (purely for fun). I'm sure there must be a way to get this working. Here
by davidbarker 2y ago
I'm curious to give this a go. I've been training a lot of LoRAs for FLUX dev recently (purely for fun). I'm sure there must be a way to get this working.
Here are a few I've recently trained: https://civitai.com/user/dvyio https://civitai.com/user/dvyio
- spython 2y agoThis looks really good! What is your process to get this kind of high quality LoRAs?
- davidbarker 2y agoThank you! A reasonable amount of training images (50 or so), and then I train for 2,000-ish steps for a new style. Many of them work well with Flux, particularly if they're illustration-based. Some don't seem to work at all, so I didn't upload those!
- stavros 2y agoHow long does this take, and on what equipment? It's amazing to me that you can do this from just 50 images, I would have thought tens of thousands.
- davidbarker 2y agoIt's very impressive. I aim for around 50 images if I'm training a style, but only 10 to 20 if training a concept (like an object or a face). I have a MacBook Air so I train using the various API providers. For training a style, I use Replicate: https://replicate.com/ostris/flux-dev-lora-trainer/train https://replicate.com/ostris/flux-dev-lora-trainer/train For training a concept/person, I use fal: https://fal.ai/models/fal-ai/flux-lora-fast-training https://fal.ai/models/fal-ai/flux-lora-fast-training With fal, you can train a concept in around 2 minutes and only pay $2. Incredibly cheap. (You could also use it for training a style if you wanted to. I just found I seem to get slightly better results using Replicate's trainer for a style.)
- stavros 2y agoWow, fantastic, thanks! I thought it would be much, much more expensive than this. Thanks for the info!
- davidbarker 2y agoHappy to help! It's a lot of fun. And it becomes even more fun when you combine LoRAs. So you could train one on your face, and then use that with a style LoRA, giving you a stylised version of your face. If you do end up training one on yourself with fal, it should ultimately take you here (https://fal.ai/models/fal-ai/flux-lora https://fal.ai/models/fal-ai/flux-lora) with your new LoRA pre-filled. Then: 1. Click 'Add item' to add another LoRA and enter the URL of a style LoRA's SafeTensor file (with Civitai, go to any style you like and copy the URL from the download button) (you can also find LoRAs on Hugging Face) 2. Paste that SafeTensor URL as the second LoRA, remembering to include the trigger word for yourself (you set this when you start the training) and the trigger word for the style (it tells you on the Civitai page) 3. Play with the strength for the LoRAs if you want it to look more like you or more like the style, etc. ----- If you want a style LoRA to try, this one of SNL title cards I trained actually makes some great photographic images. https://civitai.com/models/773477/flux-lora-snl-portrait https://civitai.com/models/773477/flux-lora-snl-portrait (the download link would be https://civitai.com/api/download/models/865105?type=Model&format=SafeTensor https://civitai.com/api/download/models/865105?type=Model&fo...) ----- There's a lot of trial and error to get the best combinations. Have fun!
- stavros 2y agoThanks for all this! I had created a SD LoRA of my face back in the day, time for another one!
- davidbarker 2y agoAwesome! :)
- throwup238 2y ago