Spaces:
Sleeping
Sleeping
bug in nesting
Browse files- user-friendly-metrics.py +1 -1
user-friendly-metrics.py
CHANGED
@@ -251,7 +251,7 @@ def calculate_from_payload(payload: dict,
|
|
251 |
sequence_metrics = realize_metrics(sequence_metrics, recognition_thresholds)
|
252 |
metrics_per_sequence[sequence][model]["all"] = sequence_metrics
|
253 |
|
254 |
-
metrics_global[model]["all"] = sum_dicts(metrics_global[model], sequence_metrics)
|
255 |
metrics_global[model]["all"] = realize_metrics(metrics_global[model]["all"], recognition_thresholds)
|
256 |
|
257 |
for filter, filter_ranges in filters.items():
|
|
|
251 |
sequence_metrics = realize_metrics(sequence_metrics, recognition_thresholds)
|
252 |
metrics_per_sequence[sequence][model]["all"] = sequence_metrics
|
253 |
|
254 |
+
metrics_global[model]["all"] = sum_dicts(metrics_global[model]["all"], sequence_metrics)
|
255 |
metrics_global[model]["all"] = realize_metrics(metrics_global[model]["all"], recognition_thresholds)
|
256 |
|
257 |
for filter, filter_ranges in filters.items():
|