kohya-trainer
ControlNet
kohya-trainer | ControlNet | |
---|---|---|
36 | 127 | |
1,772 | 28,092 | |
- | - | |
8.3 | 4.1 | |
about 2 months ago | 3 months ago | |
Jupyter Notebook | Python | |
Apache License 2.0 | Apache License 2.0 |
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
-
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
ControlNet
-
With the recent developments, It looks like AI art is finally beginning to evolve in the right direction
It`s all possible. Have a look into Automatic1111`s Web UI, ControlNet, OpenPose and, if you don`t have a dedicated GPU with at least 8GB of VRAM, or at least 16GB of RAM to use the CPU, you can also use Stable Horde to use the webUI with a peer-to-peer connection, where you`ll only use a fraction of your resources, but you`ll be able to use local AI models with all the bells and whistles that you won`t get from "state-of-the-art" paid services.
-
AI "Artists" Are Lazy, and the Ultimate Goal of AI Image Generation (hint: its sloth)
Next up is ControlNet. Controlnet, as Illyasviel--creator of controlnet--describes it, "let's us control diffusion models!." ControlNet is a neural network structure to control diffusion models by adding extra connections. [8]. There is more to that than what I described, but the big take-away is that ControlNet takes a preprocessed image that you provide (or is generated) and uses that as a way of constraining the output the sampler's noise generates, allowing you to have a bit more control of the output. ControlNet is typically used for character or scene "artwork", which previously would have been a challenge with just prompting alone (at least with this current architecture).
- Making a ControlNet inpaint for sdxl
-
[P5V6P2] Mother and Daughter (by azfumi)
For your first part of the comment, I can simply refer you to technologies like ControlNet, LoRA and prompt embedding: https://github.com/lllyasviel/ControlNet https://github.com/microsoft/LoRA
- Calling yourself an AI artist is almost exactly the same as calling yourself a cook for heating readymade meals in a microwave
-
Why is the AI not listening to my prompts?
Here you can see what every controlnet preprocessor and model do, to give you an idea of how to use
-
Can't get img2img working well
Ya, it takes awhile to really start getting comfortable with the wonkiness. If you are trying to do something specific, look for a LoRA, but in general I'd recommend you get controlnet so you can feed it a reference image. Another simple trick is to edit the image a bit in GIMP or a photo editor to get the color scheme you like and then feed it back to img2img at low denoising (0.1-0.2) to refine it. You can also add just garishly bad cartoon drawing or photoshop in assets and img2img will usually make something of them and blend them into your image, I find this easier than using img2img scribble.
- ControlNet on A1111 seems to have been broken in the new update
-
Can anyone help me install SD and ControlNet on my Mac pro M1?
If there are no errors, go to the "Extensions" tab, then "Install from URL". There, enter "https://github.com/lllyasviel/ControlNet" then click "Install".
-
According to the poll on the recent thread, /r/dalle2 community decided to keep the subreddit restricted on Reddit.
This is a good place to start reading. Given the open-source nature of SD, there are setups of various difficulty available. A1111 is the "standard" people enjoy because it's easy to plug in new stuff (ControlNet, new models, etc.), but it's not inherently easy to set up and get going. There is an installer for it, but I haven't tried it.
What are some alternatives?
lora - Using Low-rank adaptation to quickly fine-tune diffusion models.
InvokeAI - InvokeAI is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, supports terminal use through a CLI, and serves as the foundation for multiple commercial products.
sd_dreambooth_extension
sd-webui-additional-networks
LoRA - Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"
stable-diffusion-webui-colab - stable diffusion webui colab
sd-webui-controlnet - WebUI extension for ControlNet
fast-stable-diffusion - fast-stable-diffusion + DreamBooth
stable-diffusion-webui-prompt-travel - Travel between prompts in the latent space to make pseudo-animation, extension script for AUTOMATIC1111/stable-diffusion-webui.
EveryDream-trainer - General fine tuning for Stable Diffusion
stable-diffusion-webui - Stable Diffusion web UI