kohya-trainer
Adapted from https://note.com/kohya_ss/n/nbf7ce8d80f29 for easier cloning (by Linaqruf)
sd-scripts
By kohya-ss
kohya-trainer | sd-scripts | |
---|---|---|
36 | 64 | |
1,772 | 4,222 | |
- | - | |
8.3 | 9.7 | |
about 2 months ago | about 21 hours ago | |
Jupyter Notebook | Python | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kohya-trainer
Posts with mentions or reviews of kohya-trainer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-04.
-
Best method for training lora with sdxl
This longer colab notebook: I did use this one (or one of the slight derivatives of it) and got out a safetensors file, but the lora didn't work at all--I'd use it a increase it's weight but I just would see no effect
- Question on SD Finetuning
-
Requesting Help: Stable Diffusion with Dreambooth via Automatic1111
It isn't what you are asking for (sry) but I struggled with this thing for way too long until I found out about the Kohya Trainer. https://github.com/Linaqruf/kohya-trainer So much easier with a lot of videos by the various YT folks. Standalone WebUI that just works. Life is good here!
-
Do you need a PhD in AI for AI opportunities?
It's seem that he is stable diffusion model creators. In that space, it's less knowing about the code and more experimenting on what would happen in the training. The stable diffusion community has repertoire of fine-tuning tools that is accessible for someone who have no single idea on the code behind it, no different than using application like kohya.
-
Am I some kind of idiot? I cant for the life of me get Lora training to work on colab or runpod.
Have you tried out one of the colabs from https://github.com/Linaqruf/kohya-trainer ? The colabs themselves are pretty long, but you just have to read each step and then usually push the button to run that cell, then move on to the next one.
-
[Stable Diffusion] Diffusion stable sur Google Colab se bloque toujours!
** https: //github.com/linaqruf/kohya-trainer**
-
Lora training steps with large batch sizes?
There are a lot of variables that affect what kind of settings to use, but afaik the best solution to finding the right step count for what your training is still just to save multiple epochs and then run a x/y/z plot comparison. If you can't do that locally because of your 4gb card, you could try using Lora colabs that include inference capabilities.
-
Colab Troubles (Addendum)
You seem to be a little confused. You wont find an ipynb of a model. You would reference a model via a content portal like hugginface. If your model is hosted there, you dont have to download it to your computer or gdrive first. You just reference it with the hugginface-style reference, ie runwayml/stable-diffusion-v1-5. Some colabs will let you also reference a URL to pull down the model. Example. https://github.com/Linaqruf/kohya-trainer/blob/main/kohya-LoRA-dreambooth.ipynb. In that case, you can get the direct url to a checkpoint, for example at civit.ai. If you're decent at messing around with code, you can deconstruct that code block to use in a different colab. As for gdrive, it's only a couple dollars to get 100G.
- PNG info not copied from images generated through Kohya.
-
Is Colab going to start banning people who use it for Stable Diffusion????
Try this colab to train Lora, it can generate image without the UI too
sd-scripts
Posts with mentions or reviews of sd-scripts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-16.
- Everything you know about loss is a lie
- Evidence that LoRA extraction in Kohya is broken?
- Stable Diffusion XL (SDXL) DreamBooth training with EMA (Exponential Moving Average) on the way
-
Installing kohya_ss GUI on AWS
This repository mostly provides a Windows-focused Gradio GUI for Kohya's Stable Diffusion trainers... but support for Linux OS is also provided through community contributions.
- Question on SD Finetuning
-
Trying to put up a simple dreambooth for sdxl, but an errors pops up
Leaving this here because i'm very tired, so this is the file of the ipynb that uses the sdxl_train.py from the https://github.com/kohya-ss/sd-scripts/tree/sdxl repo, if anybody find out why when getting to the training i get this very empty error : " [00:09:11] WARNING The following values were not passed to "
-
Finally SDXL coming to the Automatic1111 Web UI
You can try and test training LoRAs now https://github.com/kohya-ss/sd-scripts/tree/sdxl
-
Help with LORA Training - Kohya_ss Regularization
This might help.
-
need a lora traning guide for linux
Kohya_ss sd-scripts Seems to be the standard for lora training. The linked page has an English translation, but doesn't really have system specific tips. Someone else has a popular gui for it, but it's designed with windows in mind. There's another, simpler gui, but its still in development and the dev doesn't do any testing on Linux. With any of these, I run into dependency conflicts like crazy.
-
SDXL 0.9 is wild but trying to imagine where we go from here is breaking my brain.
"Direct training" is already feasible with masking in kohya-ss: https://github.com/kohya-ss/sd-scripts/pull/589
What are some alternatives?
When comparing kohya-trainer and sd-scripts you can also consider the following projects:
lora - Using Low-rank adaptation to quickly fine-tune diffusion models.
kohya_ss
sd_dreambooth_extension
sd-webui-additional-networks
ComfyUI - The most powerful and modular stable diffusion GUI, api and backend with a graph/nodes interface.
stable-diffusion-webui-colab - stable diffusion webui colab
bitsandbytes-rocm
fast-stable-diffusion - fast-stable-diffusion + DreamBooth
EveryDream-trainer - General fine tuning for Stable Diffusion
EveryDream2trainer
kohya-trainer vs lora
sd-scripts vs kohya_ss
kohya-trainer vs sd_dreambooth_extension
sd-scripts vs sd_dreambooth_extension
kohya-trainer vs sd-webui-additional-networks
sd-scripts vs ComfyUI
kohya-trainer vs stable-diffusion-webui-colab
sd-scripts vs bitsandbytes-rocm
kohya-trainer vs fast-stable-diffusion
sd-scripts vs lora
kohya-trainer vs EveryDream-trainer
sd-scripts vs EveryDream2trainer