Skip to content

Conversation

@pierrot-lc
Copy link

When performing inpainting, if the provided image does not have a suitable aspect ratio that aligns with the multiple stages of the IF, the support noise and inpainting mask end up having incompatible shapes with the generated image. As a result, the assertion in base.py is triggered: assert support_noise.shape == (1, 3, image_h, image_w).

This PR offers a solution by resizing the support noise and inpainting mask appropriately to ensure their compatibility with the generated image size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant