We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c32d75 commit a24d368Copy full SHA for a24d368
src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint_sd_xl.py
@@ -1622,7 +1622,7 @@ def denoising_value_valid(dnv):
1622
1623
# 8. Check that sizes of mask, masked image and latents match
1624
if num_channels_unet == 9:
1625
- # default case for runwayml/stable-diffusion-inpainting
+ # default case for stable-diffusion-v1-5/stable-diffusion-inpainting
1626
num_channels_mask = mask.shape[1]
1627
num_channels_masked_image = masked_image_latents.shape[1]
1628
if num_channels_latents + num_channels_mask + num_channels_masked_image != self.unet.config.in_channels:
0 commit comments