diffusion-models-class
diffusers
Our great sponsors
diffusion-models-class | diffusers | |
---|---|---|
22 | 266 | |
3,221 | 22,543 | |
5.5% | 6.3% | |
6.3 | 9.9 | |
19 days ago | 4 days 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.
diffusion-models-class
- diffusion low level question
- Here's a learning resource
-
[R] Classifier-Free Guidance can be applied to LLMs too. It generally gives results of a model twice the size you apply it to. New SotA on LAMBADA with LLaMA-7B over PaLM-540B and plenty other experimental results.
When you use stable diffusion, you can adjust the classifier free guidance scale to control how much it follows the input prompt. From what I understand(check https://github.com/huggingface/diffusion-models-class/tree/main/unit3), what cfg does is that it generates an unconditional image and an image conditional on the text prompt, and then scale up the difference.
-
Ai Coding roadmap
https://huggingface.co/learn/nlp-course/ https://huggingface.co/docs/transformers (go through the task guide) https://github.com/huggingface/diffusion-models-class http://d2l.ai/ https://www.youtube.com/watch?v=VMj-3S1tku0&list=PLAqhIrjkxbuWI23v9cThsA9GvCAUhRvKZ
-
How does stable diffusion work from a technical perspective?
I couldn't understand the original paper(havent done meth in a long time). This blog post and short course help me to understand.
-
Using SD programatically with APIs
The Diffusion Models Course is another good resource to learn more technical details.
-
I made a generative 3D game and took a walk in the streets of Paris. Playback speed 30x
Next, you need to become familiar with the diffusion model. I recommend this huggingface's course(https://github.com/huggingface/diffusion-models-class) because it is very high quality and you will learn while using diffusers. At first glance, it may not seem directly related to this game, but in my case, knowing what is happening in diffusers helped me in many ways: trial and error, inspiration for ideas, etc. I had no knowledge of pytorch (the deep learning library used for diffusers), so I also took this course (https://www.udacity.com/course/deep-learning-pytorch--ud188) which was in the prerequisites for that huggingface's course. It was also very good.
- Sunt AI Research Scientist, AMA
-
Dreambooth Hackaton: How can we use a text-to-image model to explore the cinematographic appeal of Torres del Paine ๐จ๐ฑ?
Hugging Face Dreambooth Hackaton details
-
[N] Personalise Stable Diffusion models in DreamBooth Hackathon
Details: https://github.com/huggingface/diffusion-models-class/blob/main/hackathon/README.md
diffusers
- StableDiffusionSafetyChecker
- ๐งจ diffusers 0.24.0 is out with Kandinsky 3.0, IP Adapters, and others
-
What am I missing here? wheres the RND coming from?
I'm missing something about the random factor, from the sample code from https://github.com/huggingface/diffusers/blob/main/README.md
-
T2IAdapter+ControlNet at the same time
Hey people, I noticed that combining these two methods in a single forward pass increases the controllability of the generation quite a bit. I was kind of puzzled that sometimes ControlNet yielded better results than T2IAdapter for some cases, and sometimes it was the other way around, so I decided to test both at the same time, and results were quite nice. Some visuals and more motivation here: https://github.com/huggingface/diffusers/issues/5847 And it was already merged here: https://github.com/huggingface/diffusers/pull/5869
-
Won't you benchmark me?
Open Parti Prompts: The better way to evaluate diffusion models (repo)
-
kohya_ss error. How do I solve this?
You have disabled the safety checker for by passing `safety_checker=None`. Ensure that you abide to the conditions of the Stable Diffusion license and do not expose unfiltered results in services or applications open to the public. Both the diffusers team and Hugging Face strongly recommend to keep the safety filter enabled in all public facing circumstances, disabling it only for use-cases that involve analyzing network behavior or auditing its results. For more information, please have a look at https://github.com/huggingface/diffusers/pull/254 .
- Making a ControlNet inpaint for sdxl
-
Stable Diffusion Gets a Major Boost with RTX Acceleration
For developers, TensorRT support also exists for the diffusers library via community pipelines. [1] It's limited, but if you're only supporting a subset of features, it can help.
In general, these insane speed boosts comes at the cost of bleeding edge features.
[1] https://github.com/huggingface/diffusers/blob/28e8d1f6ec82a6...
-
Mysterious weights when training UNET
I was training sdxl UNET base model, with the diffusers library, which was going great until around step 210k when the weights suddenly turned back to their original values and stayed that way. I also tried with the ema version, which didn't change at all. I also looked at the tensor's weight values directly which confirmed my suspicions.
-
I Made Stable Diffusion XL Smarter by Finetuning It on Bad AI-Generated Images
Merging LoRAs is essentially taking a weighted average of the LoRA adapter weights. It's more common in other UIs.
diffusers is working on a PR for it: https://github.com/huggingface/diffusers/pull/4473
What are some alternatives?
deforum-stable-diffusion
stable-diffusion-webui - Stable Diffusion web UI
UnstableFusion - A Stable Diffusion desktop frontend with inpainting, img2img and more!
stable-diffusion - A latent text-to-image diffusion model
tutorials - AI-related tutorials. Access any of them for free โ https://towardsai.net/editorial
lora - Using Low-rank adaptation to quickly fine-tune diffusion models.
approachingalmost - Approaching (Almost) Any Machine Learning Problem
invisible-watermark - python library for invisible image watermark (blind image watermark)
pml-book - "Probabilistic Machine Learning" - a book series by Kevin Murphy
automatic - SD.Next: Advanced Implementation of Stable Diffusion and other Diffusion-based generative image models
deforumed-walk - Take a walk in the generated world.
Dreambooth-Stable-Diffusion - Implementation of Dreambooth (https://arxiv.org/abs/2208.12242) by way of Textual Inversion (https://arxiv.org/abs/2208.01618) for Stable Diffusion (https://arxiv.org/abs/2112.10752). Tweaks focused on training faces, objects, and styles.