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

Fix: None value handler for seedbench-2 evaluation code #166

Closed
wants to merge 1 commit into from
Closed

Conversation

skyil7
Copy link
Contributor

@skyil7 skyil7 commented Jul 26, 2024

Since there're only model_specific_prompt_kwargs for llava and gpt4v in seedbench2.yaml, attempting to evaluate other models resulted in a TypeError: 'NoneType' object is not subscriptable error due to the absence of this argument.

So I simply added lines of code to handle None value in seed_doc_to_text().

@skyil7 skyil7 closed this Jul 26, 2024
@skyil7
Copy link
Contributor Author

skyil7 commented Jul 26, 2024

Close due to my misunderstanding about the code. I will re-open it soon as I fix it correctly.
Sorry for inconvenience.

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

Successfully merging this pull request may close these issues.

1 participant