mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #199] Gen.encoder为什么存在 #159
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#159
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 @125jx on GitHub (Mar 13, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/199
Gen.encoder为什么存在?我是一名小白,我觉得根据文字生成图不是只有文字吗?为什么还需要一个Gen.encoder进行图像编码
@HaFred commented on GitHub (Mar 16, 2025):
https://github.com/deepseek-ai/Janus/blob/main/generation_inference.py#L98
During inference,
gen_vision_modelis only used for decoding generated image tokens into image pixels. Its encoder is only used during training, of which you may find more details in the report.