mirror of
https://github.com/deepseek-ai/Janus.git
synced 2026-11-05 00:57:18 +00:00
[GH-ISSUE #122] How to infer Janus on multi-images? #93
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#93
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 @2018211801 on GitHub (Feb 2, 2025).
Original GitHub issue: https://github.com/deepseek-ai/Janus/issues/122
Thanks for your nice model, but I cannot infer on multi-images. Counld you provide the code? Or the model cannot infer on multi-images.
@xwgnick commented on GitHub (Feb 6, 2025):
Use multiple <image_placeholder>,like:
conversation = [ { "role": "<|User|>", "content": f"<image_placeholder>\n<image_placeholder>\n{question}", "images": ["./test_images/test_1.jpg", "./test_images/test_2.jpg"], }, {"role": "<|Assistant|>", "content": ""}, ]