-
-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Error Loading LDSR after installation of model.ckpt #488
Comments
Git clone https://github.com/devilismyfriend/latent-diffusion into your stable-diffusion-main/src/ folder |
Made the mistake of git cloning https://github.com/CompVis/latent-diffusion instead of yours, it seems to be working now, thx! |
Outdated, see edit below@devilismyfriend I am also facing a similar problem but while loading the config:
The files are at the correct place:
I think there are two possible explainations:
EditIt turns out, this was a conflict with the models of Textual Inversion, which caused import confusion. |
If you are using windows then the bat file that they say works may not. It didn't for me since the curl command requires some ssl certification or something so the bat was throwing errors but closed on its own afterwards so you couldnt tell it went wrong without checking the folder and seeing that no files were downloaded. I added a pause to the end of the bat file which let me see the error and fix it. It was an easy fix in the end by adding the --ssl-no-revoke flag to both curl commands in the bat file. |
Where is download_models.bat file? If it is download_models.sh, how to run it on Windows? |
Maybe try the manual option? hopefully we didnt give it death hug, hahaha. |
I'm sorry but I'm currently away from my country and wasn't aware of the
latest repo merge so afaik LDSR is completely broken
…On Thu., Sep. 8, 2022, 8:06 a.m. Yash503, ***@***.***> wrote:
installed everything correctly, but in the last step, installing pip
dependencies keeps loading and never stops.
—
Reply to this email directly, view it on GitHub
<#488 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUYC4IEAJXYE3X77ASEBSALV5FX35ANCNFSM6AAAAAAQC24EYI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Just in case others come to this issue page later, latest instruction for LDSR is here and more details here |
I'm having this same issue with the You can see the output here: sd | Validating model files...
sd | checking model.ckpt...
sd | model.ckpt is valid!
sd |
sd | checking GFPGANv1.3.pth...
sd | GFPGANv1.3.pth is valid!
sd |
sd | checking RealESRGAN_x4plus.pth...
sd | RealESRGAN_x4plus.pth is valid!
sd |
sd | checking RealESRGAN_x4plus_anime_6B.pth...
sd | RealESRGAN_x4plus_anime_6B.pth is valid!
sd |
sd | entrypoint.sh: Launching...
sd | Found GFPGAN
sd | Found RealESRGAN
sd | Found LDSR Yet when I go to the web UI and try to upscale an image with LDSR in the Image Lab tab, it fails with the following error:
Are only the |
Nevermind, it was easier to test than I anticipated. It started working after cloning the whole repository into the folder as described! |
This fixed my issue, probably need to specify this repo in instructions as most are going to use the compvis/latent-diffusion |
Hi, I am curious on your flow of installation, since I am doing most of the updates recently for the installation guide in the wiki. We have included the latest steps here. If you don't mind me asking, was that link unclear or is there a guide somewhere else that wasn't updated or unclear or the wiki link itself not as easy to discover. Wanted to help others coming in later, so need to know where we need to improve. Appreciate the help to clarify. |
The readme.md only states This should probably be changed to point to the wiki and not state anything at all rather than be incomplete. Might also put a "hey go look at the wiki" at the top under "Have an issue?" |
webui.cmd is stuck in a relaunch loop, seems to be because the app can't find any NVIDIA drivers. I use AMD cards, so nvidia drivers wouldn't be found anyway. Does this only works on NVIDIA cards? Pasting here the 9th relaunch log: Found RealESRGAN |
My terminal says it found LDSR but the UI doesn't seem to detect it.
|
How did you fix this? I am having the same issue and have tried everything I can think of, which isn't much. Any help would be appreciated! |
@Rustmongrel, could you please confirm are you in |
Sorry, I have no idea what master or dev channel is so any guidance would be appreciated. I followed that guide to a T and everything but LDSR runs perfectly. When I try to use it I get that exact same error and I am here asking for help as it is the only place it is mentioned on the entirety of the internet. I have verified that everything is exactly where it is supposed to be so I am lost as to what it could be. I would really appreciate any help. |
@Rustmongrel, this is quite an edge cases then. Hard to troubleshoot here, I can suggest two things, First, could you please try running Second, if the above doesn't help, I would suggest you to share this issue in our discord, somebody more knowledgeable might be able to help. You can see the link to discord on the github home/readme. |
|
It's a bat file, which repo are you looking at
…On Tue., Sep. 6, 2022, 11:43 p.m. Renaldas111, ***@***.***> wrote:
Where is download_models.bat file? If it is download_models.sh, how to run
it on Windows?
—
Reply to this email directly, view it on GitHub
<#488 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AUYC4IDF7BEUKLNC32WE55TV46UHDANCNFSM6AAAAAAQC24EYI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I had the same error "ModuleNotFoundError: No module named 'LDSR'" constantly no matter what. I am confused about right directory of the ldsr files. PS. I also needed to change webui.py line 389 for GFPGANv1.3 to v1.4 since now link is downloading v.1.4 |
|
What happened?
I followed the advice from the discussion, Im unsure if its missing more information for it to be activated.
Error loading LDSR:
Traceback (most recent call last):
File "scripts/webui.py", line 359, in try_loading_LDSR
LDSR = load_LDSR() # TODO: Should try to load both models before giving up
File "scripts/webui.py", line 286, in load_LDSR
from LDSR import LDSR
ModuleNotFoundError: No module named 'LDSR'
Version
0.0.1 (Default)
What browsers are you seeing the problem on?
Firefox
Where are you running the webui?
Windows
Custom settings
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: