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

Load the cake/val_target. pkl #25

Closed
bobo123yhb opened this issue Oct 21, 2020 · 1 comment
Closed

Load the cake/val_target. pkl #25

bobo123yhb opened this issue Oct 21, 2020 · 1 comment

Comments

@bobo123yhb
Copy link

When the cake/val_target.pkl file is loaded, some labels appear with no content.But I looked at the Annotations in the official website, and saw that your answer differs from it.For example, question_id=393225000,answer=foodiebakercom.But your labels:[].There are also certain labels that appear differently than you gave them. For example, question_id:393225001,label=4 should correspond to 55.

@linjieli222
Copy link
Owner

We follow ban-vqa to process the label2ans. To elaborate, those answers that appears < 9 times in the training set are discarded, which results in about ~3000 answers. Also, the answers are normalized as shown in tools/compute_softscore.py.

For more information, you can either directly visit the official repo of ban-vqa or read carefully about answer/label processing in Section 4.1 of our paper.

Thanks!

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