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

Questions about function prepare_inputs_labels_for_multimodal #24

Open
KlaineWei opened this issue Apr 28, 2024 · 1 comment
Open

Questions about function prepare_inputs_labels_for_multimodal #24

KlaineWei opened this issue Apr 28, 2024 · 1 comment

Comments

@KlaineWei
Copy link

KlaineWei commented Apr 28, 2024

Hi, when i was running the code, i found most of the time the code hit the situation in line 248 of function prepare_inputs_labels_for_multimodal(OPERA/minigpt4/models/llava_arch.py), does it mean there is only one token in the prompt?Why does it happen?

@shikiw
Copy link
Owner

shikiw commented Apr 28, 2024

Hi,

This part of the code is LLaVA's official code. Do you have any specific error logs? I want to know how you run the code, so I can help you based on these details :)

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