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

Solved ModuleNotFoundError: No module named 'pipeline.controlnet_union' #66

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pipeline/pipeline_controlnet_union_sd_xl.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from diffusers.image_processor import PipelineImageInput, VaeImageProcessor
from diffusers.loaders import FromSingleFileMixin, StableDiffusionXLLoraLoaderMixin, TextualInversionLoaderMixin,IPAdapterMixin
from diffusers.models import AutoencoderKL, ControlNetModel, UNet2DConditionModel,ImageProjection
from .controlnet_union import ControlNetModel_Union
from models.controlnet_union import ControlNetModel_Union
from diffusers.models.attention_processor import (
AttnProcessor2_0,
LoRAAttnProcessor2_0,
Expand Down Expand Up @@ -1391,4 +1391,4 @@ def pack_weights(layers, prefix):
# Copied from diffusers.pipelines.stable_diffusion_xl.pipeline_stable_diffusion_xl.StableDiffusionXLPipeline._remove_text_encoder_monkey_patch
def _remove_text_encoder_monkey_patch(self):
self._remove_text_encoder_monkey_patch_classmethod(self.text_encoder)
self._remove_text_encoder_monkey_patch_classmethod(self.text_encoder_2)
self._remove_text_encoder_monkey_patch_classmethod(self.text_encoder_2)