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

t2i的分辨率可以改为1024么 #180

Open
iamweiweishi opened this issue Feb 18, 2025 · 1 comment
Open

t2i的分辨率可以改为1024么 #180

iamweiweishi opened this issue Feb 18, 2025 · 1 comment

Comments

@iamweiweishi
Copy link

RuntimeError: shape '[16, 64, 64, 8]' is invalid for input of size 73728

强行修改img_size会报上面的错误

@hh66911
Copy link

hh66911 commented Feb 18, 2025

改generate函数的img_size可以改图像大小,但是image_token_num_per_image要同步改成(img_size / 16)**2
另外貌似如果LLM不重新训练,生成的图像会有问题

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