custom-diffusion
fast-stable-diffusion
custom-diffusion | fast-stable-diffusion | |
---|---|---|
11 | 239 | |
1,787 | 7,340 | |
2.0% | - | |
5.6 | 8.6 | |
5 months ago | 5 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
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.
custom-diffusion
-
ELITE: new fine-tuning technique that can be trained in less than a second
I think https://github.com/adobe-research/custom-diffusion
-
What's the best technology for training faces these days?
I attempted Custom Diffusion which, too, did not yield anywhere near as photorealistic face outputs as Dreambooth.
- [Discussion] Stable Diffusion Models with Subject/Keyword References
-
Suggestions for creating prompts with two people that you've added via fine-tuning?
Curious if anyone has better experiences? I've also been trying Adobe's Custom Diffusion code, which probably works the best out of Textual Inversion and Dreambooth, but the code they provide is super buggy and very hard to use with Automatic1111.
-
Version 0.1.0 of LoRA released! (alternative to Dreambooth, 3mb sharable files)
Well, actually it is https://github.com/adobe-research/custom-diffusion. It's Adobe, so this is probably only once in the lifetime :P
-
How would I go about creating an app like "Lensa" with Stable Diffusion?
A Few Comments - The "caveat" I mentioned above is that there are a few apps that are running Stable Diffusion locally on the user's device. Apple recently released a tool to convert Stable Diffusion models to CoreML. CoreML is their proprietary format for machine learning models, and runs insanely well on Apple devices with a Neural Engine (like newer Macs, iPhones, and iPads). However, this technology is in its infancy, almost certainly isn't capable of "training" a Stable Diffusion model, and isn't anywhere near as fast as running Dreambooth or Stable Diffusion on powerful servers. In the long-run, it might be possible to do all of this processing on a user's device, but it's likely that we're a long ways away from that. - Dreambooth itself isn't that hard to run and play around with yourself, nor is it that hard to integrate into an automated server pipeline, though what it does under the hood is pretty amazing. Dreambooth isn't the only way to "train" a Stable Diffusion model with custom photos, and other people/companies (like Adobe), have found other ways to create amazing AI-generated images with user-provided photos (see their Custom Diffusion GitHub). - Given how long Lensa has been around, and that they're pretty decently funded (they raised $6m in 2019, I believe), it's very likely they they've developed their own in-house way of training Stable Diffusion models, just like the Adobe reference above. But if any of us were to build an app that works like Lensa, a starting point would probably be to use Dreambooth since it's well-built out and easy to integrate, and get similar results. - A very popular way to run Dreambooth is to use a Google Colab notebook, like this one from TheLastBen's GitHub. Since the vast majority of us don't have super powerful GPU cards in our computer, and are just playing around with Dreambooth/Stable Diffusion, the Google Colab notebook lets you go step-by-step to "setup" an environment for doing Dreambooth, but runs it on Google's super-powerful servers. The cool thing about Google Colab, besides not having to have a super-powerful computer yourself to still do Dreambooth with great performance, is that you can look through the code of how the Google Colab notebook works, and that could be a foundation for an engineer to learn how to implement Dreambooth in your own scripts that run on the "Backend Server" for your app.
-
How does tiktok’s AI portrait filter work?
If it is Stable Diffusion-based, I'd guess a few things. Given the small size that would be needed to handle this for every possible user, I wonder if it's using something that isn't Dreambooth based, like Adobe's [Custom Diffusion(https://github.com/adobe-research/custom-diffusion), or some in-house variant of that, that's able to basically generate a small file that could be processed for each user.
-
How to get the smallest models or portions of Dreambooth-trained models for a specific subject
Adobe Research also has "Custom Diffusion" out: https://github.com/adobe-research/custom-diffusion. It's got a similar goal of ~megabytes sized outputs. Warning that it's got a proprietary license.
- Custom Diffusion - Adobe Research
- What's the difference between custom-diffusion and Dreambooth?
fast-stable-diffusion
-
Working Colab notebooks for training Dreambooth?
I tried using TheLastBen's fast dreambooth trainer. I managed to train a ckpt file but I can't run it.
-
Running AUTOMATIC1111 on Google Colab
You have a colab from ThelastBen It uses to be thes best at the time when auto1111 was working in google colab free. https://github.com/TheLastBen/fast-stable-diffusion
- Stability AI releases its latest image-generating model, Stable Diffusion XL 1.0
-
Google Colab disconnects after 5 mins of hosting A1111
Using https://github.com/TheLastBen/fast-stable-diffusion
-
I'm kinda new to all of this and just wanted to ask... How can I fix something like this? Tried inpaint but didn't work even after changing parameters and img2img make it lose quality...
This repo offers a template how to start with SD on runpod https://github.com/TheLastBen/fast-stable-diffusion. But I know how to code, si I made my own solution.
-
Unable to use ControlNet on AUTO1111 GUI - Google Colab Notebook
I can confirm I'm using the latest version of the colab notebook of this repo (https://github.com/TheLastBen/fast-stable-diffusion). Anyone can point to any solutions to this problem? Thanks in advance!
- Automatic 1111 not working
-
Useful Links
TheLastBen's Fast DB SD Colabs, +25-50% speed increase, AUTOMATIC1111 + DreamBooth
-
Can you use other base model to train your own model with TheLastBen or ShivamShrirao collab?
CalledProcessError Traceback (most recent call last) in () 182 wget.download('https://github.com/TheLastBen/fast-stable-diffusion/raw/main/Dreambooth/det.py') 183 print('Detecting model version...') --> 184 Custom_Model_Version=check_output('python det.py '+sftnsr+' --MODEL_PATH '+MODEL_PATH, shell=True).decode('utf-8').replace('\n', '') 185 clear_output() 186 print(''+Custom_Model_Version+' Detected')
-
How to Install and Run Stable Diffusion in Automatic1111 with Deforum in Google Collab?
have you tried https://github.com/TheLastBen/fast-stable-diffusion ?
What are some alternatives?
lora - Using Low-rank adaptation to quickly fine-tune diffusion models.
DeepFaceLab - DeepFaceLab is the leading software for creating deepfakes.
sd-webui-additional-networks
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.
LoRA - Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"
stable-diffusion-tensorflow - Stable Diffusion in TensorFlow / Keras
configDB - A database like , dynamic config file generator to enable more customization in your python project , from games to ML notebooks and everything between.
efficient-dreambooth - [Moved to: https://github.com/smy20011/dreambooth-docker]
WaveDiff - Official Pytorch Implementation of the paper: Wavelet Diffusion Models are fast and scalable Image Generators (CVPR'23)
stable-diffusion-webui-docker - Easy Docker setup for Stable Diffusion with user-friendly UI
LLM-Adapters - Code for our EMNLP 2023 Paper: "LLM-Adapters: An Adapter Family for Parameter-Efficient Fine-Tuning of Large Language Models"
stable-diffusion - A latent text-to-image diffusion model