Skip to content
Snippets Groups Projects
Commit 7bc4f213 authored by Hsien-Chin Lin's avatar Hsien-Chin Lin
Browse files

wip

parent 81324d3d
Branches
No related tags found
No related merge requests found
...@@ -259,7 +259,7 @@ class Evaluator: ...@@ -259,7 +259,7 @@ class Evaluator:
for metric_type, score in scores.items(): for metric_type, score in scores.items():
result[metric_type] = {} result[metric_type] = {}
for m, s in score.items(): for m, s in score.items():
result[metric_type][m] = sum(s[m])/len(s[m]) result[metric_type][m] = sum(s)/len(s)
print(f"{metric_type}-{m}: {result[metric_type][m]}") print(f"{metric_type}-{m}: {result[metric_type][m]}")
if not golden_emotion: if not golden_emotion:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment