Loading video...

Video Failed to Load

Go Home

Wow I recommend EVERYONE interested in FLUX + LoRAs + Forge watch this. Super comprehensive tutorial on: 1. Getting started with Forge 2. Training LoRA with Fluxgym 3. Using the LoRA 4. Generating a virtual influencer with LoRA 5. Mixing LoRAs And more! I myself learned a lot.

78,226 views • 2 years ago •via X (Twitter)

14 Comments

cocktail peanut's profile picture
cocktail peanut2 years ago

just 14 minutes and literally explains "everything you need to know about flux, forge, and lora"

AiVoiceGuy's profile picture
AiVoiceGuy2 years ago

🙏❤️

cocktail peanut's profile picture
cocktail peanut2 years ago

thank you for the video, seriously, i really learned a lot!

AiVoiceGuy's profile picture
AiVoiceGuy2 years ago

Means a lot coming from you! I‘m so grateful and impressed by what you’re doing for this community! Sometimes I can‘t even keep up with trying out the latest tools at the pace you keep adding them to pinokio. Thanks a lot!

EddyLeeKhane's profile picture
EddyLeeKhane2 years ago

@cocktailpeanut Get yourself some X premium Brother More people need to see your work too

AiVoiceGuy's profile picture
AiVoiceGuy2 years ago

@cocktailpeanut Thanks man I‘ll consider it.

Gene Sh's profile picture
Gene Sh2 years ago

Great job on putting together such an informative tutorial! It's clear and covers everything someone needs to get started.

Saba🔺's profile picture
Saba🔺2 years ago

Unfortunately gpu poor, but it's good tutorial :D

Pelayo Arbués's profile picture
Pelayo Arbués2 years ago

@readwise save thread

dude sirwoah's profile picture
dude sirwoah2 years ago

I'm unable to use apps in pinochio without the internet. What's up with that?

Lion Dragon's profile picture
Lion Dragon2 years ago

How compare to Astria consistent character trainnjng ?

Kyle ✌🏻❤️'s profile picture
Kyle ✌🏻❤️2 years ago

Would this video still be useful for someone looking to create LoRAs in other softwares (Draw Things on iOS) with other models (Stable Diffusion XL)? I just can’t find very much online for LoRA creation in general

index.html's profile picture
index.html2 years ago

if you want to learn - don't use pinokio.

txh's profile picture
txh2 years ago

does it allow controlnet use?

Related Videos

As I promised yesterday, I'll briefly explain LoRA training and share a workflow I made so you can do it quickly. First, let me answer a very common question: 'Why train LoRAs when we have such advanced models?' Even though we have incredibly advanced models now (like NBP), we still can't always get them to do specific things we want. Simplest example: the spritesheet LoRA I made the other day. I generated 1000 images with Nano Banana and only 100 were what I wanted. The LoRA I trained using those 100 images gives me nearly 100% consistent results. Second point is cost and speed. With LoRA, we can cut costs by 4-5x. And while doing that, we're generating 4-5x faster. How many images do you need for a good LoRA? This depends on your LoRA's complexity. For example, when I training the spritesheet LoRA, even though I used 100 images, I didn't include buildings in the training data, so this LoRA doesn't work for buildings. So think about your LoRA's use cases and add examples for as many use cases as possible to improve quality. What are paired images and how to train LoRAs for image-editing? When training LoRAs for image editing on fal, we call each edit example paired images - one with _start suffix, one with _end suffix. For example, if you're training a background remove LoRA, the unedited original photo will be your '_start' image. The image with background removed will be the '_end' image. Simply put: images we want to edit or use as reference get _start, target images we want to achieve get '_end'. Important: save both images with the same name. Like image332_start.jpg and image332_end.jpg. This way the system knows which images pair together. What about training LoRAs for models with multiple image inputs? Same logic. We still use _start and _end suffixes, but with one difference. Since there are multiple input images, we can number them: _start, _start1, _start2. Example: start images, 1st image = Woman portrait (image35_start.jpg) 2nd image = Glasses photo (image35_start1.jpg) 3rd image = Hat photo (image35_start2.jpg) Output image = portrait of woman wearing glasses and hat (image35_end.jpg) Can we do more detailed captioning? Yes. Similarly, you can improve training quality by creating a txt file for each set with the caption inside. Example: create image35.txt and write: 'Recreate the image by putting the glasses from the second image and the hat from the third image on the woman in the first image.' What are Steps? How many should I use? What's Learning Rate? Steps determines how many times the model sees and processes your training data (your images). Each step, the model learns a bit more. But as steps increase, so does the risk of overfitting. So there's no real default. But for a simpler LoRA with 20 paired images, 1000 steps is ideal. Here's a metaphor for the Steps and Learning Rate relationship: Imagine you have a balloon. Our goal is to inflate it to the optimal size. Steps = How many times we blow into the balloon Learning rate = How hard we blow each time If we blow too softly, we need to blow many more times. If we blow too hard, we risk popping it quickly and can't reach optimal size. Of course training won't explode, but it won't work as intended because it wasn't trained optimally. Training's done, now what? Once training's complete, you'll have a safetensors file. Every model you train on fal has a LoRA inference endpoint. In that inference, add your safetensors file link to the LoRA url input, and you can use your LoRA. Thanks for the read! The workflow in the video: If I forgot anything, let me know in the replies.

ilker

15,192 views • 8 months ago