stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Can't download or use LDSR upscaler

Open aeon3 opened this issue 2 years ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I tried using LDSR but an error occurred.

image

Steps to reproduce the problem

Select LDSR, click generate.

What should have happened?

Should have downloaded the model and applied the upscaling.

Commit where the problem happens

f49c08ea566385db339c6628f65c3a121033f67c

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

No response

Additional information, context and logs

No response

aeon3 avatar Oct 21 '22 21:10 aeon3

A workaround is to copy the URL it's trying to access from the console into your browser and manually placing the model and yaml in the models\LDSR folder and properly renaming them. You'll get the link to the yaml when it throws the same error after you've put the model in its spot.

Geemer avatar Oct 22 '22 04:10 Geemer

A workaround is to copy the URL it's trying to access from the console into your browser and manually placing the model and yaml in the models\LDSR folder and properly renaming them. You'll get the link to the yaml when it throws the same error after you've put the model in its spot.

hmm I see, and where do I find the URL then?

aeon3 avatar Oct 22 '22 13:10 aeon3

hmm I see, and where do I find the URL then?

If you scroll up a bit in the command prompt you took a screenshot of, there will be a line that states it's trying to load the model from a web address with the uni-heidelberg.de domain and saving it to a folder/filename on your system. Copy that web address, paste it in your browser, save the file to models\LDSR\model.ckpt. Try it again and it'll fail again, this time on the yaml. Copy its address, download it manually and save to models\LDSR\project.yaml

Geemer avatar Oct 22 '22 17:10 Geemer

hmm I see, and where do I find the URL then?

If you scroll up a bit in the command prompt you took a screenshot of, there will be a line that states it's trying to load the model from a web address with the uni-heidelberg.de domain and saving it to a folder/filename on your system. Copy that web address, paste it in your browser, save the file to models\LDSR\model.ckpt. Try it again and it'll fail again, this time on the yaml. Copy its address, download it manually and save to models\LDSR\project.yaml

awesome my man, thanks

aeon3 avatar Oct 22 '22 23:10 aeon3

issue appear again. Same.

hitrpr avatar Mar 27 '23 01:03 hitrpr

dont forget to download https://heibox.uni-heidelberg.de/f/31a76b13ea27482981b4/?dl=1 as well. it should be named "project.yaml"

warkarma avatar Apr 10 '23 16:04 warkarma

dont forget to download https://heibox.uni-heidelberg.de/f/31a76b13ea27482981b4/?dl=1 as well. it should be named "project.yaml"

I've tried this, but no dice. It still tries to go out and download the model.

image

jndietz avatar Apr 16 '23 03:04 jndietz

I had the same issue, try renaming the checkpoint file from "last" to "model".

tcarneyjohnson avatar Apr 16 '23 19:04 tcarneyjohnson