Skip to content
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

Error loading script: depthmap_for_depth2img.py #52

Open
trdahl opened this issue Apr 13, 2023 · 1 comment
Open

Error loading script: depthmap_for_depth2img.py #52

trdahl opened this issue Apr 13, 2023 · 1 comment

Comments

@trdahl
Copy link

trdahl commented Apr 13, 2023

Im getting this error after installing this extension in Stable Diffusion, any1 know how to fix this?

Error loading script: depthmap_for_depth2img.py
Traceback (most recent call last):
File "C:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\depthmap2mask\scripts\depthmap_for_depth2img.py", line 13, in
from repositories.midas.midas.dpt_depth import DPTDepthModel
File "C:\A1111 Web UI Autoinstaller\stable-diffusion-webui\repositories\midas\midas\dpt_depth.py", line 5, in
from .blocks import (
File "C:\A1111 Web UI Autoinstaller\stable-diffusion-webui\repositories\midas\midas\blocks.py", line 4, in
from .backbones.beit import (
File "C:\A1111 Web UI Autoinstaller\stable-diffusion-webui\repositories\midas\midas\backbones\beit.py", line 9, in
from timm.models.beit import gen_relative_position_index
ModuleNotFoundError: No module named 'timm.models.beit'

@magestyx
Copy link

You should search before posting.
There's already been a lengthy discussion of this issue here: #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants