mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #227] Generating images with img_size=512 #188
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#188
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 @ivoras on GitHub (Nov 3, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/227
I'm trying to get (Janus Pro)[https://huggingface.co/deepseek-ai/Janus-Pro-7B] text-to-image to work with the example code from this repo, and it keeps generating garbled images if parameters like image size and patch size are changed from the defaults given in the example. I have the gist with the changed parameters here:
https://gist.github.com/ivoras/0d61dfa4092388ce960745f1d19d2612
In it, if img_size is changed to 512 or patch_size is changed to 8, the generated images are garbled.
Did anyone manage to get it work in the general case, or suggest where the problems might be?