From 940e3b6635b92b682410d76060973d40c0dce116 Mon Sep 17 00:00:00 2001 From: user1 Date: Sat, 29 Apr 2023 00:43:21 -0700 Subject: [PATCH] Core implementation of ControlNet and MultiControlNet. --- invokeai/backend/stable_diffusion/diffusers_pipeline.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/invokeai/backend/stable_diffusion/diffusers_pipeline.py b/invokeai/backend/stable_diffusion/diffusers_pipeline.py index 0f8b4d5185..a6e38f6ffd 100644 --- a/invokeai/backend/stable_diffusion/diffusers_pipeline.py +++ b/invokeai/backend/stable_diffusion/diffusers_pipeline.py @@ -660,8 +660,6 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline): else: latent_control_input = latent_model_input # controlnet inference - - print("control_weight: ", control_weight) down_block_res_samples, mid_block_res_sample = self.control_model( latent_control_input, timestep, @@ -1005,7 +1003,6 @@ class StableDiffusionGeneratorPipeline(StableDiffusionPipeline): dtype=torch.float16, do_classifier_free_guidance=True, ): - if not isinstance(image, torch.Tensor): if isinstance(image, PIL.Image.Image): image = [image]