m7mdal7aj commited on
Commit
e72d911
1 Parent(s): ebe39c1

Update my_model/tabs/finetuning_evaluation.py

Browse files
my_model/tabs/finetuning_evaluation.py CHANGED
@@ -10,11 +10,11 @@ class KBVQAEvaluator:
10
  """
11
  Initialize the VQA Processor with the dataset and configuration settings.
12
  """
 
13
  self.use_fuzzy = False
14
  self.stemmer = PorterStemmer()
15
- self.df = pd.read_excel('Files/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
 
 
10
  """
11
  Initialize the VQA Processor with the dataset and configuration settings.
12
  """
13
+ self.data_path = 'Files/evaluation_results_final.xlsx'
14
  self.use_fuzzy = False
15
  self.stemmer = PorterStemmer()
16
+ self.scores_df = pd.read_excel(self.data_path, sheet_name="Scores")
17
+ self.df = pd.read_excel(self.data_path, sheet_name="Main Data")
 
18
  self.vqa_scores = {}
19
  self.exact_match_scores = {}
20