Skip to content

Error computing request? #12

Closed
Closed
@sgtdingo

Description

@sgtdingo

Hello, I have installed the script as described but each time I run it I error out after image generation. Could anyone help me with this issue? Copy-pasted below. Thank you!

100%|██████████████████████████████████████████████████████████████████████████████████| 65/65 [03:03<00:00, 2.82s/it]
Total progress: 740it [29:42, 2.85s/it]
DepthMap v0.1.3
device: cuda
Loading midas model weights ..
./models/midas/dpt_hybrid-midas-501f0c75.pt
Computing depthmap(s) ..
Error completing request
Arguments: ('A trainer training many loud kittens in his shitbox apartment', '', 'None', 'None', 65, 4, True, False, 1, 1, 8.5, -1.0, -1.0, 0, 0, 0, False, 512, 832, False, 0.7, 0, 0, 1, 1, 384, 0, True, True, False, 1, False, False, False, None, '', 1, '', 0, '', True, False, False) {}
Traceback (most recent call last):
File "C:\Users\carte\stable-diffusion-webui\modules\ui.py", line 185, in f
res = list(func(*args, **kwargs))
File "C:\Users\carte\stable-diffusion-webui\webui.py", line 55, in f
res = func(*args, **kwargs)
File "C:\Users\carte\stable-diffusion-webui\modules\txt2img.py", line 45, in txt2img
processed = modules.scripts.scripts_txt2img.run(p, *args)
File "C:\Users\carte\stable-diffusion-webui\modules\scripts.py", line 282, in run
processed = script.run(p, *script_args)
File "C:\Users\carte\stable-diffusion-webui\scripts\depthmap.py", line 206, in run
out = np.zeros(depth.shape, dtype=depth.type)
AttributeError: 'numpy.ndarray' object has no attribute 'type'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions