mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #180] t2i的分辨率可以改为1024么 #143
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/Janus#143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iamweiweishi on GitHub (Feb 18, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/180
RuntimeError: shape '[16, 64, 64, 8]' is invalid for input of size 73728
强行修改img_size会报上面的错误
@hh66911 commented on GitHub (Feb 18, 2025):
改generate函数的img_size可以改图像大小,但是image_token_num_per_image要同步改成(img_size / 16)**2
另外貌似如果LLM不重新训练,生成的图像会有问题