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

stable diffusion doesn't run #2974

Open
Shunta2296 opened this issue Jan 8, 2025 · 0 comments
Open

stable diffusion doesn't run #2974

Shunta2296 opened this issue Jan 8, 2025 · 0 comments

Comments

@Shunta2296
Copy link

This is an error in the Start Stable-Diffusion block
could you please tell me how to work it out

Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 13, in
initialize.imports()
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/initialize.py", line 26, in imports
from modules import paths, timer, import_hook, errors # noqa: F401
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/paths.py", line 60, in
import sgm # noqa: F401
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/init.py", line 2, in
from .models import AutoencodingEngine, DiffusionEngine
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/models/init.py", line 1, in
from .autoencoder import AutoencodingEngine
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/models/autoencoder.py", line 12, in
from ..modules.diffusionmodules.model import Decoder, Encoder
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/modules/init.py", line 1, in
from .encoders.modules import GeneralConditioner
File "/content/gdrive/MyDrive/sd/stablediffusion/generative-models/sgm/modules/encoders/modules.py", line 5, in
import kornia
File "/usr/local/lib/python3.10/dist-packages/kornia/init.py", line 10, in
from . import (
File "/usr/local/lib/python3.10/dist-packages/kornia/augmentation/init.py", line 43, in
from .container import AugmentationSequential, ImageSequential, PatchSequential, VideoSequential
File "/usr/local/lib/python3.10/dist-packages/kornia/augmentation/container/init.py", line 1, in
from .augment import AugmentationSequential
File "/usr/local/lib/python3.10/dist-packages/kornia/augmentation/container/augment.py", line 17, in
from .patch import PatchSequential
File "/usr/local/lib/python3.10/dist-packages/kornia/augmentation/container/patch.py", line 9, in
from kornia.contrib.extract_patches import extract_tensor_patches
File "/usr/local/lib/python3.10/dist-packages/kornia/contrib/init.py", line 4, in
from .image_stitching import ImageStitcher
File "/usr/local/lib/python3.10/dist-packages/kornia/contrib/image_stitching.py", line 7, in
from kornia.feature import LocalFeatureMatcher, LoFTR
File "/usr/local/lib/python3.10/dist-packages/kornia/feature/init.py", line 4, in
from .integrated import (
File "/usr/local/lib/python3.10/dist-packages/kornia/feature/integrated.py", line 52, in
class LAFDescriptor(nn.Module):
File "/usr/local/lib/python3.10/dist-packages/kornia/feature/integrated.py", line 65, in LAFDescriptor
patch_descriptor_module: nn.Module = HardNet(True),
File "/usr/local/lib/python3.10/dist-packages/kornia/feature/hardnet.py", line 66, in init
pretrained_dict = torch.hub.load_state_dict_from_url(
File "/usr/local/lib/python3.10/dist-packages/torch/hub.py", line 871, in load_state_dict_from_url
return torch.load(cached_file, map_location=map_location, weights_only=weights_only)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/safe.py", line 108, in load
return load_with_extra(filename, *args, extra_handler=global_extra_handler, **kwargs)
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/safe.py", line 133, in load_with_extra
from modules import shared
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/shared.py", line 6, in
from modules import shared_cmd_options, shared_gradio_themes, options, shared_items, sd_models_types
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/modules/sd_models_types.py", line 1, in
from ldm.models.diffusion.ddpm import LatentDiffusion
File "/content/gdrive/MyDrive/sd/stablediffusion/ldm/models/diffusion/ddpm.py", line 26, in
from ldm.models.autoencoder import IdentityFirstStage, AutoencoderKL
File "/content/gdrive/MyDrive/sd/stablediffusion/ldm/models/autoencoder.py", line 6, in
from ldm.modules.diffusionmodules.model import Encoder, Decoder
ModuleNotFoundError: No module named 'ldm.modules.diffusionmodules.model'

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

1 participant