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

Question about the image size #12

Open
DongyangHuLi opened this issue Feb 16, 2023 · 1 comment
Open

Question about the image size #12

DongyangHuLi opened this issue Feb 16, 2023 · 1 comment

Comments

@DongyangHuLi
Copy link

Thanks for sharing the code!
I'm confused about the size of the image input from the diffusion model. In the code why limit the height and width of the image must be equal, can not equal?
Looking forward to your reply!

@w86763777
Copy link
Owner

The height and width of the image do not need to be equal, and this can be accomplished by updating the UNet model.

Another thing to consider is the downsampling and upsampling of UNet, which may cause the input size to differ from the output size if the dimensions are not divisible by 2.

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

2 participants