-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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]: Cannot run "512-depth-ema.ckpt" model #5372
Comments
Version 2.0 works differently from 1.x versions, and right now only the 768-v-ema.ckpt model is supported |
Thanks, guy! I have replaced it by extension "depthmap2mask" Extraltodeus. |
Now! Boy! I have found a leak of yaml, which can run the 512-basic-ema.ckpt smoothly with webui. |
Thanks @LieDeath. This yaml config file worked for me. I was not able to load 512-basic-ema with original instructions. Where is that file coming from if I may ask? |
@healthyfat Did you download the right one from the original instructions? They're currently confusingly-phrased, with the location of the 512 file tacked on as an afterthought. (Amusingly: All of these files get downloaded for us to |
Yes. I used the config from the link you highlighted. It doesn't work for me. |
Interesting. I wonder what the difference between our setups is. (Probably as much as should be spoken of here; it's off-topic to this issue and probably needs its own?) |
I take a review and find the only difference between v2-inference-e.yaml and v2-inference.yaml is a line break at the end of the config file. Perhaps on some devices the missing line break in the v2-inference.yaml could cause problems:-(. |
I've submitted an improvement that will add support for the 512-depth-ema.ckpt model here: #5542. My fingers are crossed that the merge will go smoothly, because I love this feature. It gives me much more control over the composition. It looks like you're also using the wrong config. The correct config file for this model is v2-midas-inference.yaml, but it won't work until the change is merged. |
Big thanks! For your contribution. I am eager to run your solution... |
So I tried the 512 Depth after the Merge, the model loads and the weights attach but then when I try to use it this is given, Anyone have any idea why? Never mind I'm a clown, I tried to use it in txt2img and it's an img2img model 🤦🏻♂️ |
I have the same error, however with img2img,....did you do anything else to get it working? |
I'm having this same issue on a M1 Mac with 512-depth-ema.ckpt) |
I've encountered a very strange problem. Could you please tell me what the cause is? *** Error completing request Recommended settings: Sampling Steps: 80-100, Sampler: Euler a, Denoising strength: 0.8 ', 128, 8, ['left', 'right', 'up', 'down'], 1, 0.05, 128, 4, 0, ['left', 'right', 'up', 'down'], False, False, 'positive', 'comma', 0, False, False, 'start', '', 'Will upscale the image by the selected scale factor; use width and height sliders to set tile size ', 64, 0, 2, 1, '', [], 0, '', [], 0, '', [], True, False, False, False, False, False, False, 0, False) {}Traceback (most recent call last): File "D:\gitprogram\stable-diffusion-webui\modules\call_queue.py", line 74, in f res = list(func(*args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^ File "D:\gitprogram\stable-diffusion-webui\modules\call_queue.py", line 53, in f res = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\gitprogram\stable-diffusion-webui\modules\call_queue.py", line 37, in f res = func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "D:\gitprogram\stable-diffusion-webui\modules\img2img.py", line 242, in img2 img |
Is there an existing issue for this?
What happened?
I want to run the depth model (512-depth-ema.ckpt (d522022)) of stable diffusion 2.0, but it came to an error.
Though I have run the basic model (768-v-ema.ckpt (2c02b20a)) successfully on previous, the depth one yet not. I emphasize that I put the "512-depth-ema.yaml", which is renamed from "v2-inferance.yaml", correctly in /models/stable-diffusion/, next to the model.
Puzzled, I redownload it, nothing different happen. I stress once again that I have run the basic one smoothly before!
Steps to reproduce the problem
What should have happened?
I think no error should occur and I can produce depth image by send image in.
Commit where the problem happens
in loading 512-depth-ema.ckpt, the commit hash is ce049c4
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Microsoft Edge
Command Line Arguments
Additional information, context and logs
The model hash is d522d022, and SHA1: a81e98c0f932a55d8dd08058c1b9ce68525ac6a5
The error seems coming from bad torch size setting.
The text was updated successfully, but these errors were encountered: