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

Regarding fine tuning for Custom VQA dataset #408

Open
manas6266 opened this issue Jul 26, 2023 · 2 comments
Open

Regarding fine tuning for Custom VQA dataset #408

manas6266 opened this issue Jul 26, 2023 · 2 comments

Comments

@manas6266
Copy link

manas6266 commented Jul 26, 2023

Thanks for your great work,
I am interested in fine-tuning OFA for Visual Question Answering (VQA) using my custom dataset, which includes image-question-answer pairs. However, my dataset lacks confidence scores for the answers. I would like to understand why confidence scores are needed for OFA fine-tuning and how I can handle this absence in my case. Additionally, I've noticed that even the VQA-v2 dataset does not include confidence scores. During inference, will the answers be generated from fixed vocabulary pickle files only, and if so, what is the reason for not using classification models instead of OFA?

@logicwong
Copy link
Member

@manas6266

  1. You can set the confidence score of each answer to 1.
  2. In the original vqav2 dataset, each sample contains multiple answers. We followed the previous works to set the confidence score for each answer based on its frequency.

@manas6266
Copy link
Author

manas6266 commented Sep 7, 2023 via email

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