You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
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'
The text was updated successfully, but these errors were encountered: