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

An error when using Cambrian7M with system prompts #50

Open
LiWentomng opened this issue Jul 15, 2024 · 0 comments
Open

An error when using Cambrian7M with system prompts #50

LiWentomng opened this issue Jul 15, 2024 · 0 comments

Comments

@LiWentomng
Copy link

LiWentomng commented Jul 15, 2024

Hello, when using the json of Cambrian7M with system prompts, I encountered this error.

  File "/workspace/LLaVA/llava/model/llava_arch.py", line 178, in prepare_inputs_labels_for_multimodal
    cur_image_features = image_features[cur_image_idx]
llama  IndexError: index 103is out of bounds for dimension 0 with size 103.

I have searched this error, it may about that there are multiple tags in each instance of Cambrian7M_withsystemprompt.jsonl referring to this issue.

Did you encounter this error? Any further suggestions for this issue. Thanks.
@tsb0601

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

1 participant