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

How can I input multiple images? #13

Open
qishisuren123 opened this issue May 3, 2024 · 2 comments
Open

How can I input multiple images? #13

qishisuren123 opened this issue May 3, 2024 · 2 comments

Comments

@qishisuren123
Copy link

I tried modifying the vqa_inference.py file to allow input of multiple images, but the model seems to only recognize the first image. Is there an example of code that supports inputting multiple images?

@RunpeiDong
Copy link
Owner

Hi @qishisuren123,

Of course, you should try to modify the script by setting the inputs as a loop of image inputs. Then, the model will take all images as inputs one by one.

@RunpeiDong
Copy link
Owner

Hi @qishisuren123,

Does my answer address your question? Do you need further help?

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