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

变形 #101

Open
linghu-cell opened this issue Jun 7, 2024 · 2 comments
Open

变形 #101

linghu-cell opened this issue Jun 7, 2024 · 2 comments

Comments

@linghu-cell
Copy link

首先非常干感谢您出色的工作

为什么Text Editing(文字编辑)功能,输入图片的宽高必须是64的被倍数,不然出来是的是变形的图片?

@tyxsspa
Copy link
Owner

tyxsspa commented Jun 7, 2024

因为经过原图-->latent经过VAE要降采样8倍,latent在Unet中预测noise再次降采样8倍,如果宽高不是64的倍数将无法整除

@linghu-cell
Copy link
Author

因为经过原图-->latent经过VAE要降采样8倍,latent在Unet中预测noise再次降采样8倍,如果宽高不是64的倍数将无法整除

好的,明白了,谢谢

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