Difference between revisions of "LoRA training"
Line 27: | Line 27: | ||
===Using your LoRA in Stable Diffusion WebUI=== | ===Using your LoRA in Stable Diffusion WebUI=== | ||
+ | |||
+ | Select the model that looks most promising to you, and copy it to the right folder in Stable Diffusion WebUI | ||
+ | |||
+ | In the WebUI check the LoRA tab, and refresh it to see your model. Clicking on it will add your LoRA to the prompt. | ||
+ | |||
+ | You can use your LoRA in combination with different compatible checkpoint models. | ||
+ | |||
+ | You can also combine different models. | ||
+ | |||
+ | Try changing the weight of the model. | ||
+ | |||
+ | Tray changing cfg scale | ||
+ | |||
+ | |||
[[Category:Generative Models]] | [[Category:Generative Models]] |
Revision as of 13:33, 16 September 2024
Training a LoRA with Kohya
Preparing for training
Step 1: Collect the images you want to use for training
Step 2: Create the folder structure
Step 3: Create captions
Training your LoRA
If you didn't already launch the kohya software
Make sure you select the LoRA tab
Load the configuration file that you downloaded earlier. We are going to leave it mostly at the default settings, but there are a few things we need to adjust.
Change the model name to the name you want it to have.
Check if the paths are correct, and adjust if neccesary.
Adjust the prompts for the samples that will be generated during training.
Hit the training button, and wait for the first samples to appear.
Using your LoRA in Stable Diffusion WebUI
Select the model that looks most promising to you, and copy it to the right folder in Stable Diffusion WebUI
In the WebUI check the LoRA tab, and refresh it to see your model. Clicking on it will add your LoRA to the prompt.
You can use your LoRA in combination with different compatible checkpoint models.
You can also combine different models.
Try changing the weight of the model.
Tray changing cfg scale