thygate / stable-diffusion-webui-depthmap-script

High Resolution Depth Maps for Stable Diffusion WebUI
MIT License
1.71k stars 159 forks source link

Depth tab not showing up with other extentions #232

Open zenbeastmedia opened 1 year ago

zenbeastmedia commented 1 year ago

as the title says, depth tab isn't showing up, even though i have other extensions installed perfectly fine. i also tried uninstalling all other ones to no avail. I also checked and it says the script is indeed installed AND up to date.

using stable diffusion version v1-5-pruned-emaonly.ckpt [cc6cb27103]

semjon00 commented 1 year ago

Please provide the full output of the console.

Tip: it starts with something similar to:

venv "C:\StableDiffusion\stable-diffusion-webui-AUTOMATIC1111\venv\Scripts\Python.exe"
Python 3.10.8 (tags/v3.10.8:aaaf517, Oct 11 2022, 16:50:30) [MSC v.1933 64 bit (AMD64)]
Version: v1.2.1
Commit hash: 89f9faa63388756314e8a1d96cf86bf5e0663045
Airburner commented 1 year ago

I'm running automatic1111 on runpod.io jupiterlabs After loading extension from extensions via link I do not have a depth map tab too. Restarting does not change anything

EDIT:

Running Instal file on my notes helped :)

LanceGao97 commented 1 year ago

what is this so called install note ?

LanceGao97 commented 1 year ago

ic1111 on runpod.io jupiterlabs After loading extension f

Hi, what is your install file note look like? can you give me a screen shot of it please

Airburner commented 1 year ago

I used this part:

import launch import platform import sys

if sys.version_info < (3, 8): launch.run_pip("install importlib-metadata", "importlib-metadata for depthmap script") import importlib_metadata else: import importlib.metadata as importlib_metadata if not launch.is_installed('packaging'): launch.run_pip("install packaging", "packaging requirement for depthmap script") from packaging.version import Version

def ensure(module_name, min_version=None): if launch.is_installed(module_name): if min_version is None or Version(importlib_metadata.version(module_name)) >= Version(min_version): return requirement = f'{module_name}>={min_version}' if min_version is not None else module_name cmd = f'install "{requirement}"' msg = f'{requirement} requirement for depthmap script' launch.run_pip(cmd, msg)

if not launch.is_installed("timm"): #0.6.7 # For midas launch.run_pip('install --force-reinstall "timm==0.6.12"', "timm requirement for depthmap script")

ensure('matplotlib')

ensure('trimesh')

ensure('numba', '0.57.0') ensure('vispy')

ensure('rembg')

if not launch.is_installed("moviepy"): launch.run_pip('install "moviepy==1.0.2"', "moviepy requirement for depthmap script") ensure('transforms3d', '0.4.1')

ensure('imageio') # 2.4.1 ensure('imageio-ffmpeg') if not launch.is_installed("networkx"): launch.run_pip('install install "networkx==2.5"', "networkx requirement for depthmap script") if platform.system() == 'Windows': ensure('pyqt5')

if platform.system() == 'Darwin': ensure('pyqt6')

On Wed, May 31, 2023 at 12:57 PM LanceGao97 @.***> wrote:

ic1111 on runpod.io jupiterlabs After loading extension f

Hi, what is your install file note look like? can you give me a screen shot of it please

— Reply to this email directly, view it on GitHub https://github.com/thygate/stable-diffusion-webui-depthmap-script/issues/232#issuecomment-1569971814, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3HRM3HG5IRH3WROFNYZCNLXI4P2FANCNFSM6AAAAAAYMLWZLM . You are receiving this because you commented.Message ID: <thygate/stable-diffusion-webui-depthmap-script/issues/232/1569971814@ github.com>

LanceGao97 commented 1 year ago

well THanks for reply. commented.Message ID: <thygate/stable-diffusion-webui-depthmap-script/issues/232/1569971814@ github.com>

my depth shows perfectly( online server, Jupiter system) Now, but in case just it won't show again , how and where to use your script?