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

about vlmeval/evaluate/multiple_choice.py #227

Closed
mary-0830 opened this issue Jun 20, 2024 · 1 comment
Closed

about vlmeval/evaluate/multiple_choice.py #227

mary-0830 opened this issue Jun 20, 2024 · 1 comment

Comments

@mary-0830
Copy link
Contributor

请问作者,关于这个函数的用处是什么呢?在我评估MMStar时,这个build_choices好像没有起到任何的作用,并且好像还会导致匹配错误。

def build_choices(item):
ret = {}
for ch in string.ascii_uppercase:
if ch in item and (not pd.isna(item[ch])):
ret[ch] = item[ch]
return ret

@junming-yang
Copy link
Collaborator

refer to issues #228

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