AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
140.75k stars 26.63k forks source link

[Bug]: ESRGAN 4x is not displayed #10528

Open alexbofa opened 1 year ago

alexbofa commented 1 year ago

Is there an existing issue for this?

What happened?

If I have any other upscale other than ESRGAN 4x, the ESRGAN 4x is not displayed in the UI

When the models\ESRGAN is empty, everything is displayed. txt2img - Hires fix txt2img-empty-Hires  fix img2img - Upscaler img2img-empty-upscaler Extras - Upscaler 1/Upscaler 2 extras-empty extras-empty-2

When the models\ESRGAN has 4x_NMKD-Siax_200k.pth or other upscales, everything is NOT displayed. txt2img - Hires fix txt2img-have-Hires  fix img2img - Upscaler img2img-have-upscaler Extras - Upscaler 1/Upscaler 2 extras-have extras-have-2

Steps to reproduce the problem

  1. I put it in any Upscale folder models\ESRGAN, Example: 4x_NMKD-Siax_200k.pth
  2. Start webui-user.bat

What should have happened?

The ESRGAN 4x should be displayed regardless of whether it is in the folder or not. Other upscales should not interfere with the work in any way in order to use ESRGAN 4x in any case. If the user has not yet downloaded this upscale.

Commit where the problem happens

2e006fa50046440c81e663d0e833a85b35258d41

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Google Chrome

Command Line Arguments

set COMMANDLINE_ARGS=--opt-sdp-no-mem-attention --autolaunch

List of extensions

image

Console logs

No

Additional information

No response

Ka2ua commented 10 months ago
  1. Save all files from the \ESRGAN folder in another location
  2. Restart or just run the SD, select the ESRGAN_4x upscaler, generate at least 1 image and it will download the upscaler file to the \ESRGAN folder.
  3. Return your upscalers back to the \ESRGAN folder and restart SD, ESRGAN_4x will now be on your list too.

p.s. sorry for my english, it's Google translator