Skip to content

Error loading script: depthmap.py #55

Closed
@yampy

Description

@yampy

Hello. I installed the script according to the instructions, but when I run webui, I get the following error and cannot use it. Is there anything I should try?

Error loading script: depthmap.py
Traceback (most recent call last):
  File "C:\stable-diffusion-webui\stable-diffusion-webui-master\modules\scripts.py", line 195, in load_scripts
    module = script_loading.load_module(scriptfile.path)
  File "C:\stable-diffusion-webui\stable-diffusion-webui-master\modules\script_loading.py", line 13, in load_module
    exec(compiled, module.__dict__)
  File "C:\stable-diffusion-webui\stable-diffusion-webui-master\extensions\stable-diffusion-webui-depthmap-script\scripts\depthmap.py", line 33, in <module>
    from repositories.midas.midas.dpt_depth import DPTDepthModel
  File "C:\stable-diffusion-webui\stable-diffusion-webui-master\repositories\midas\midas\dpt_depth.py", line 5, in <module>
    from .blocks import (
  File "C:\stable-diffusion-webui\stable-diffusion-webui-master\repositories\midas\midas\blocks.py", line 21, in <module>
    from .backbones.next_vit import (
  File "C:\stable-diffusion-webui\stable-diffusion-webui-master\repositories\midas\midas\backbones\next_vit.py", line 8, in <module>
    file = open("./externals/Next_ViT/classification/nextvit.py", "r")
FileNotFoundError: [Errno 2] No such file or directory: './externals/Next_ViT/classification/nextvit.py'

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