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

Issue with controling output shape #687

Open
JiaojiaoYe1994 opened this issue Jul 2, 2024 · 0 comments
Open

Issue with controling output shape #687

JiaojiaoYe1994 opened this issue Jul 2, 2024 · 0 comments

Comments

@JiaojiaoYe1994
Copy link

Hi, thank you for the great work!

When I tried to generate an image conditional on semantic maps, there was an issue with the output shape. According to the definition of the following source code, controlling the output shape by setting height and width is achievable. However, it doesn't work out, for example, input height = 520, width = 480, and the output image could be in other shapes.

https://github.com/huggingface/diffusers/blob/c586aadef6bb66d355fa40a2b95a0bea8a6fe79c/src/diffusers/pipelines/controlnet/pipeline_controlnet.py#L908

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

No branches or pull requests

1 participant