Update README to reflect RealESRGAN support

This commit is contained in:
chanoc 2022-08-26 02:54:36 -07:00
parent 601b176a18
commit 585d81e1ab
2 changed files with 19 additions and 3 deletions

View File

@ -8,6 +8,7 @@ Features:
* Loopback (NEW) ➿: Automatically feed the last generated sample back into img2img
* Prompt Weighting (NEW) 🏋️: Adjust the strength of different terms in your prompt
* GFPGAN Face Correction 🔥: Automatically correct distorted faces with a built-in GFPGAN option, fixes them in less than half a second
* RealESRGAN Upscaling 🔥: Boos the resolution of images with a built-in RealESRGAN option
* More k_diffusion samplers 🔥🔥 : Far greater quality outputs than the default sampler, less distortion and more accurate
* CFG: Classifier free guidance scale, a feature for fine-tuning your output
* Memory Monitoring 🔥: Shows Vram usage and generation time after outputting.
@ -34,6 +35,15 @@ from the GFPGAN's repository until `inference_gfpgan.py` script works.
If the GFPGAN directory does not exist, you will not get the option to use GFPGAN in the UI. If it does exist, you will either be able
to use it, or there will be a message in console with an error related to GFPGAN.
### RealESRGAN
If you want to use RealESRGAN to upscale generated images, you need to install it separately.
Follow instructions from https://github.com/xinntao/Real-ESRGAN, but when cloning it, do so into Stable Diffusion main directory, `/sd`.
After that download [RealESRGAN_x4plus.pth](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.1.0/RealESRGAN_x4plus.pth) and [RealESRGAN_x4plus_anime_6B.pth](https://github.com/xinntao/Real-ESRGAN/releases/download/v0.2.2.4/RealESRGAN_x4plus_anime_6B.pth).
Put them into the `/sd/RealESRGAN/experiments/pretrained_models` directory. If you're getting troubles with RealESRGAN support, follow instructions from the RealESRGAN's repository until `inference_realesrgan.py` script works.
If the RealESRGAN directory does not exist, you will not get the option to use RealESRGAN in the UI. If it does exist, you will be either able
to use it, or there will be a message in console with an error related to RealESRGAN.
### Web UI
When launching, you may get a very long warning message related to some weights not being used. You may freely ignore it.
@ -55,6 +65,12 @@ also a separate tab that just allows you to use GFPGAN on any picture, with a sl
![](images/GFPGAN.png)
### RealESRGAN
Lets you double the resolution of generated images. There is a checkbox in every tab to use RealESRGAN, and you can choose between the regular upscaler and the anime version.
There is also a separate tab for using RealESRGAN on any picture.
![](images/RealESRGAN.png)
### Sampling method selection
Pick out of three sampling methods for txt2img: DDIM, PLMS, k-diffusion:

BIN
images/RealESRGAN.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB