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

How to customize my own evaluator and metrics? #611

Closed
Kami-chanw opened this issue Aug 2, 2024 · 0 comments
Closed

How to customize my own evaluator and metrics? #611

Kami-chanw opened this issue Aug 2, 2024 · 0 comments

Comments

@Kami-chanw
Copy link

I'm facing a task on VQA, where I need to compute VQA accuracy](https://visualqa.org/evaluation.html) as follows:

$$\text{Acc}(ans) = \min{ \left\{ \frac{\text{\# humans that said } ans }{3}, 1 \right\} }$$

I have following questions:

  1. Do I need to customize my own metric? If so, can I only create metrics/vqa_accuracy/vqa_accuracy.py without other operations, such as running evaluate-cli create "accuracy name" --module_type "metric"?
  2. I found that there is no suitable evaluator for my task, and I'm not sure if it is possible to customize my own evaluator, since I didn't find any document on creating new evaluator.
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