m7mdal7aj commited on
Commit
d6cf797
1 Parent(s): a73ed42

Update my_model/tabs/finetuning_evaluation.py

Browse files
my_model/tabs/finetuning_evaluation.py CHANGED
@@ -6,7 +6,7 @@ from ast import literal_eval
6
  from typing import Union, List
7
 
8
  class KBVQAEvaluator:
9
- def __init__(self, use_fuzzy: bool = False):
10
  """
11
  Initialize the VQA Processor with the dataset and configuration settings.
12
  """
@@ -15,7 +15,6 @@ class KBVQAEvaluator:
15
  self.df = pd.read_excel('evaluation_results_final.xlsx')
16
  self.scores_df = pd.read_excel(data_path, sheet_name="Scores")
17
  self.df = pd.read_excel(data_path, sheet_name="Main Data")
18
- self.use_fuzzy = use_fuzzy
19
  self.vqa_scores = {}
20
  self.exact_match_scores = {}
21
 
 
6
  from typing import Union, List
7
 
8
  class KBVQAEvaluator:
9
+ def __init__(self):
10
  """
11
  Initialize the VQA Processor with the dataset and configuration settings.
12
  """
 
15
  self.df = pd.read_excel('evaluation_results_final.xlsx')
16
  self.scores_df = pd.read_excel(data_path, sheet_name="Scores")
17
  self.df = pd.read_excel(data_path, sheet_name="Main Data")
 
18
  self.vqa_scores = {}
19
  self.exact_match_scores = {}
20