deepseek-ai / deepseek-ai/Janus

Generating images with img_size=512

Open
#227 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
17.8k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.