Commit 150f11f6 authored by lintangsutawika's avatar lintangsutawika
Browse files

revert to just load metric_fn

parent 6a336b15
...@@ -449,7 +449,6 @@ def evaluate( ...@@ -449,7 +449,6 @@ def evaluate(
else: else:
group_name = None group_name = None
metric_fn = task.compute_metric()[metric] metric_fn = task.compute_metric()[metric]
results[task_name][metric_key] = metric_fn(items) results[task_name][metric_key] = metric_fn(items)
results[task_name]["samples"] = len(items) results[task_name]["samples"] = len(items)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment