diff options
Diffstat (limited to 'pipelines')
-rw-r--r-- | pipelines/stable_diffusion/vlpn_stable_diffusion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pipelines/stable_diffusion/vlpn_stable_diffusion.py b/pipelines/stable_diffusion/vlpn_stable_diffusion.py index cfc3208..13ea2ac 100644 --- a/pipelines/stable_diffusion/vlpn_stable_diffusion.py +++ b/pipelines/stable_diffusion/vlpn_stable_diffusion.py | |||
@@ -477,7 +477,7 @@ class VlpnStableDiffusion(DiffusionPipeline): | |||
477 | # 2. Define call parameters | 477 | # 2. Define call parameters |
478 | batch_size = len(prompt) | 478 | batch_size = len(prompt) |
479 | device = self.execution_device | 479 | device = self.execution_device |
480 | num_channels_latents = self.unet.in_channels | 480 | num_channels_latents = self.unet.config.in_channels |
481 | do_classifier_free_guidance = guidance_scale > 1.0 | 481 | do_classifier_free_guidance = guidance_scale > 1.0 |
482 | do_self_attention_guidance = sag_scale > 0.0 | 482 | do_self_attention_guidance = sag_scale > 0.0 |
483 | prep_from_image = isinstance(image, PIL.Image.Image) | 483 | prep_from_image = isinstance(image, PIL.Image.Image) |