From fc1d8dcd7162f04d8174b79a2ea13f58ad32d015 Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Wed, 9 Nov 2022 15:33:42 +0530 Subject: [PATCH] Updated VAE Variational Auto Encoder (markdown) --- VAE-Variational-Auto-Encoder.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/VAE-Variational-Auto-Encoder.md b/VAE-Variational-Auto-Encoder.md index c15b9cd..08916cf 100644 --- a/VAE-Variational-Auto-Encoder.md +++ b/VAE-Variational-Auto-Encoder.md @@ -6,7 +6,4 @@ In short, it improves the generated images. A VAE is trained for certain aspects Stable Diffusion UI installs and starts using the `vae-ft-mse-840000-ema-pruned` VAE file that works with all Stable diffusion models. This uses the official one: https://huggingface.co/stabilityai/sd-vae-ft-mse-original -You have two ways to use a custom VAE file: -1. Let's say you're using a model file named `my-model-1.ckpt`. You can now place a VAE file for that model, with the same name (i.e `my-model-1.vae.pt`) inside `models/stable-diffusion`, next to your `my-model-1.ckpt` file. The custom VAE file should have the same name, with `.vae.pt` instead of `.ckpt`. This will result in this VAE file being used (instead of the default) whenever you use `my-model-1` to generate your image. - -2. You can place any number of VAE files ending with `.vae.pt` inside `models/stable-diffusion`, and refresh your browser UI. After that, you can set the Default VAE in System Settings (top-right corner of the UI). This VAE will now be used by default, unless a model has custom VAE (set in option 1, described above). +To use a custom VAE file, you can place any number of VAE files ending with `.ckpt` or `.vae.pt` inside the `models/vae` folder, and refresh your browser UI. After that, you can select that VAE in Image Settings. \ No newline at end of file