def __init__(self): super().__init__("vqa_accuracy") import pythia.utils.m4c_evaluators as evaluators self.evaluator = evaluators.TextVQAAccuracyEvaluator()
def __init__(self): super().__init__("textvqa_accuracy") import pythia.utils.m4c_evaluators as evaluators self.evaluator = evaluators.TextVQAAccuracyEvaluator() self.gt_key = 'gt_answers_enc'