fixed import error
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
from
|
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'
|