Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on multi-image input #24

Open
auhowielau opened this issue Mar 18, 2024 · 2 comments
Open

Question on multi-image input #24

auhowielau opened this issue Mar 18, 2024 · 2 comments

Comments

@auhowielau
Copy link

Some models (e.g. LLaVA 1.5) cannot input multiple (>3) images limited by input length (e.g., 2048). However, Evaluation Dimension 17-24 of SeedBench 2 may require inputs of up to 8 images. How do you handle such situations? Thanks!

@Bohao-Lee
Copy link
Collaborator

Bohao-Lee commented Mar 19, 2024

In our code, we concat images to handle such situations just like other models. In our experiment, llava model can output reasonable loss.

@auhowielau
Copy link
Author

For the LLaVA 1.5 model, does the concat operation transform N input images into Nx576 visual tokens? If so, for an input of 8 frames, would there be a truncation issue, as 576x8=4608 far exceeds the input length limit of 2048? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants