kkakkavas commited on
Commit
01db817
·
1 Parent(s): 47543ac

fixed import error

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- from Products.evaluation_utils.Evaluator import evaluate_predictions_for_list
2
  # Generate the combined metrics data structures
3
  import json
4
  import pandas as pd
@@ -79,7 +79,7 @@ def gradio_interface(ground_truth_json, prediction_jsons):
79
  # --------------------------------------------------------------------------------------------------------------- #
80
  # Plot accuracy and similarity in two separate figures
81
  mean_accuracy_similarity_scores = field_metrics_combined.mean()
82
- print(f'Mean accuracy and similarity scores for engines:\n {mean_accuracy_similarity_scores}')
83
  # Load the combined field and file metrics files
84
  # field_metrics_combined_path = r'C:\Users\kosti\OneDrive - Image Access Corp\ml-rnd\data\EnginesSroieMetrics\field_metrics_combined.csv'
85
  field_metrics_combined_path = 'field_metrics_combined.csv'
 
1
+ from Evaluator import evaluate_predictions_for_list
2
  # Generate the combined metrics data structures
3
  import json
4
  import pandas as pd
 
79
  # --------------------------------------------------------------------------------------------------------------- #
80
  # Plot accuracy and similarity in two separate figures
81
  mean_accuracy_similarity_scores = field_metrics_combined.mean()
82
+ # print(f'Mean accuracy and similarity scores for engines:\n {mean_accuracy_similarity_scores}')
83
  # Load the combined field and file metrics files
84
  # field_metrics_combined_path = r'C:\Users\kosti\OneDrive - Image Access Corp\ml-rnd\data\EnginesSroieMetrics\field_metrics_combined.csv'
85
  field_metrics_combined_path = 'field_metrics_combined.csv'