help error! (stable diffision) #4213
Unanswered
Hahagithub123
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The part that does not run with the following error message
----------traceback (most recent call last) ──────────────────────╮
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/l │
│ aunch.py:38 in │
│ │
│ 35 │
│ 36 │
│ 37 if name == "main": │
│ ❱ 38 │ main() │
│ 39 │
│ │
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/l │
│ aunch.py:34 in main │
│ │
│ 31 │ if args.test_server: │
│ 32 │ │ configure_for_tests() │
│ 33 │ │
│ ❱ 34 │ start() │
│ 35 │
│ 36 │
│ 37 if name == "main": │
│ │
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/m │
│ odules/launch_utils.py:330 in start │
│ │
│ 327 │
│ 328 def start(): │
│ 329 │ print(f"Launching {'API server' if '--nowebui' in sys.argv else 'W │
│ ❱ 330 │ import webui │
│ 331 │ if '--nowebui' in sys.argv: │
│ 332 │ │ webui.api_only() │
│ 333 │ else: │
│ │
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/w │
│ ebui.py:49 in │
│ │
│ 46 │ torch.long_version = torch.version │
│ 47 │ torch.version = re.search(r'[\d.]+[\d]', torch.version).gr │
│ 48 │
│ ❱ 49 from modules import shared, sd_samplers, upscaler, extensions, localiz │
│ 50 import modules.codeformer_model as codeformer │
│ 51 import modules.face_restoration │
│ 52 import modules.gfpgan_model as gfpgan │
│ │
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/m │
│ odules/sd_samplers.py:1 in │
│ │
│ ❱ 1 from modules import sd_samplers_compvis, sd_samplers_kdiffusion, shared │
│ 2 │
│ 3 # imports for functions that previously were here and are used by other │
│ 4 from modules.sd_samplers_common import samples_to_image_grid, sample_to │
│ │
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/m │
│ odules/sd_samplers_kdiffusion.py:4 in │
│ │
│ 1 from collections import deque │
│ 2 import torch │
│ 3 import inspect │
│ ❱ 4 import k_diffusion.sampling │
│ 5 from modules import prompt_parser, devices, sd_samplers_common │
│ 6 │
│ 7 from modules.shared import opts, state │
│ │
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/r │
│ epositories/k-diffusion/k_diffusion/init.py:1 in │
│ │
│ ❱ 1 from . import augmentation, config, evaluation, external, gns, layers, m │
│ 2 from .layers import Denoiser │
│ 3 │
│ │
│ /home/studio-lab-user/sagemaker-studiolab-notebooks/stable-diffusion-webui/r │
│ epositories/k-diffusion/k_diffusion/augmentation.py:6 in │
│ │
│ 3 import operator │
│ 4 │
│ 5 import numpy as np │
│ ❱ 6 from skimage import transform │
│ 7 import torch │
│ 8 from torch import nn │
│ 9 │
│ │
│ /home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/lazy_l │
│ oader/init.py:73 in getattr │
│ │
│ 70 │ │
│ 71 │ def getattr(name): │
│ 72 │ │ if name in submodules: │
│ ❱ 73 │ │ │ return importlib.import_module(f"{package_name}.{name}") │
│ 74 │ │ elif name in attr_to_modules: │
│ 75 │ │ │ submod_path = f"{package_name}.{attr_to_modules[name]}" │
│ 76 │ │ │ submod = importlib.import_module(submod_path) │
│ │
│ /home/studio-lab-user/.conda/envs/default/lib/python3.9/importlib/init.p │
│ y:127 in import_module │
│ │
│ 124 │ │ │ if character != '.': │
│ 125 │ │ │ │ break │
│ 126 │ │ │ level += 1 │
│ ❱ 127 │ return _bootstrap._gcd_import(name[level:], package, level) │
│ 128 │
│ 129 │
│ 130 _RELOADING = {} │
│ │
│ /home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/skimag │
│ e/transform/init.py:4 in │
│ │
│ 1 from .hough_transform import (hough_line, hough_line_peaks, │
│ 2 │ │ │ │ │ │ │ probabilistic_hough_line, hough_circle, │
│ 3 │ │ │ │ │ │ │ hough_circle_peaks, hough_ellipse) │
│ ❱ 4 from .radon_transform import (radon, iradon, iradon_sart, │
│ 5 │ │ │ │ │ │ │ order_angles_golden_ratio) │
│ 6 from .finite_radon_transform import frt2, ifrt2 │
│ 7 from .integral import integral_image, integrate │
│ │
│ /home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/skimag │
│ e/transform/radon_transform.py:6 in │
│ │
│ 3 from scipy.interpolate import interp1d │
│ 4 from scipy.constants import golden_ratio │
│ 5 from scipy.fft import fft, ifft, fftfreq, fftshift │
│ ❱ 6 from ._warps import warp │
│ 7 from ._radon_transform import sart_projection_update │
│ 8 from .._shared.utils import convert_to_float │
│ 9 from warnings import warn │
│ │
│ /home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/skimag │
│ e/transform/_warps.py:7 in │
│ │
│ 4 from ._geometric import (SimilarityTransform, AffineTransform, │
│ 5 │ │ │ │ │ │ ProjectiveTransform) │
│ 6 from ._warps_cy import _warp_fast │
│ ❱ 7 from ..measure import block_reduce │
│ 8 │
│ 9 from .._shared.utils import (get_bound_method_class, safe_as_int, war │
│ 10 │ │ │ │ │ │ │ convert_to_float, _to_ndimage_mode, │
╰──────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'skimage.measure'
Beta Was this translation helpful? Give feedback.
All reactions