sd-dynamic-thresholding
sd_web_ui_preset_utils
sd-dynamic-thresholding | sd_web_ui_preset_utils | |
---|---|---|
26 | 10 | |
1,031 | 244 | |
5.9% | - | |
7.2 | 5.1 | |
15 days ago | 3 months ago | |
Python | Python | |
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.
sd-dynamic-thresholding
-
ZeroDiffusion -- a clean zero terminal SNR training 1.5 base model + experimental inpainting model
For outputs to look right, you will need some form of CFG rescale or dynamic thresholding in order to correct for overexposure (A1111 extensions are linked -- I am told that ComfyUI has nodes available for these functions). A good starting point for CFG rescale is 0.7, as recommended in the paper. I strongly suspect that CFG rescale is not an ideal solution and leaves a substantial training-inference gap, and when using zero terminal SNR models I find that Dynamic Thresholding can give better outputs that are closer to what I expect from the data without the brownout often caused by CFG rescale. A potential starting point for Dynamic Thresholding would be: Restart sampler, 15 CFG scale, Mimic CFG scale 15 7.5, Sawtooth on both scale schedulers, 6 for both minimum values, scheduler value 4, do not separate feature channels, ZERO, STD. You will likely have to experiment a lot with Dynamic Thresholding. (edit: small correction to DT settings)
-
Dynamic Thresholding for comfyui?
Recently switched from A1111 and i love it so far, flexibility to orchestrate complex workflows automatically instead of manual operations is a life changer. Anyhow, one extension i like on A1111 was this one: https://github.com/mcmonkeyprojects/sd-dynamic-thresholding
-
How do I implement Dynamic Thresholding (CFG scale fix) in ComfyUI?
In the Automatic1111 webui, there is a Dynamic Thresholding (CFG scale fix) extension that:
-
How to diffuse better faces?
Ive found using ADetailer (https://github.com/Bing-su/adetailer, using their reccomended advanced settings and face_yolov8n.pt) and Dynamic Thresholding (CFG set to 12 and Mimic to 7) has vastly improved my face renders. (https://github.com/mcmonkeyprojects/sd-dynamic-thresholding) GL!
-
Kohya UI settings as asked (style+character training)
The output LoRA works best with CFG at 4, because at 7 it gets that gasoline colors and contrast of overbaking, but I guess this is a tradeoff of that many steps in total (5200) since the earlier snapshots were not that good in style and with character details. You can use a workaround like the Dynamic Trescholding extention: https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git - helps a lot in many cases when you want a high CFG but the model/lora overbakes them (it mimics a lower CFG while keeping the high CFG details and prompt alignment).
-
Does anyone know how to create this type of hyper realistic pic?
Use sd-dynamic-thresholding extension (set CFG scale to 12 or more and mimic CFG scale to 7): https://github.com/mcmonkeyprojects/sd-dynamic-thresholding
- ControlNet Reference-Only problems
-
What's your favorite small tweaks to make? I'll go first
Tweak this up or down for small changes. Too far and you’ll get a different image. Extensions like Dynamic Thresholding can let you go much higher without the overexposed look.
-
Blurred/Low quality/Low details images
Turn CFG scale down or maybe use this extension, I've never used Dynamic Thresholding before but I think its what you want
- Dynamic threshold & Offset noise - The answer to oversaturated images?
sd_web_ui_preset_utils
-
Customizable Settings for Every Model - AUTOMATIC1111
I actually found something I used before that had all the options you're looking for OP, sd_web_ui_preset_utils which adds A lot of preset customization that you can just save each preset as the model's name.
- What's your favorite small tweaks to make? I'll go first
- I wasted tons of time at startup, until I set my defaults in Automatic1111 once and for all.
- I am seeking some testers for my version 2 Preset Manager for automatic1111 webui
-
What are the best tools for organizing tips, prompts, settings + learnings etc?
I use the SD Web UI Preset Utilities extension: https://github.com/Gerschel/sd_web_ui_preset_utils
-
My Workflow (c.f. Arch Druid Snoop Dogg post)
NOTE: I've started using the extension Preset Manager, but I used to do it manually. The dropdown boxes have just made things so much simpler.
-
In A1111, is there a way to save Width x Height presets?
Preset Utilities
-
A preset manager for a1111 webui
Error loading script: zpreset_utils.py Traceback (most recent call last): File "/notebooks/stable-diffusion-webui/modules/scripts.py", line 195, in load_scripts module = script_loading.load_module(scriptfile.path) File "/notebooks/stable-diffusion-webui/modules/script_loading.py", line 13, in load_module exec(compiled, module.__dict__) File "/notebooks/stable-diffusion-webui/extensions/sd_web_ui_preset_utils/scripts/zpreset_utils.py", line 40, in print(Fore.CYAN + "Thank you for using:" + Fore.GREEN + "https://github.com/Gerschel/sd_web_ui_preset_utils/") NameError: name 'Fore' is not defined
- Custom Dark theme for Stable Diffusion WebUI (Automatic1111)
What are some alternatives?
stable-diffusion-webui-anti-burn - Extension for AUTOMATIC1111/stable-diffusion-webui for smoothing generated images by skipping a few very last steps and averaging together some images before them.
stable-diffusion-NPW - Negative Prompt Weight: Extension for Stable Diffusion Web UI
Stable-Diffusion - Stable Diffusion, SDXL, LoRA Training, DreamBooth Training, Automatic1111 Web UI, DeepFake, Deep Fakes, TTS, Animation, Text To Video, Tutorials, Guides, Lectures, Courses, ComfyUI, Google Colab, RunPod, NoteBooks, ControlNet, TTS, Voice Cloning, AI, AI News, ML, ML News, News, Tech, Tech News, Kohya LoRA, Kandinsky 2, DeepFloyd IF, Midjourney
Config-Presets - Extension for Automatic1111
adetailer - Auto detecting, masking and inpainting with detection model.
multidiffusion-upscaler-for-automatic1111 - Tiled Diffusion and VAE optimize, licensed under CC BY-NC-SA 4.0
sd-webui-neutral-prompt - Collision-free AND keywords for a1111 webui!
sd_webui_SAG
sd-dynamic-prompts - A custom script for AUTOMATIC1111/stable-diffusion-webui to implement a tiny template language for random prompt generation
Stable-Diffusion-Webui-Civitai-Helper - Stable Diffusion Webui Extension for Civitai, to manage your model much more easily.