Commit 26196917 authored by lintangsutawika's avatar lintangsutawika
Browse files

result is just 1

parent 4bba7abb
...@@ -1017,7 +1017,7 @@ class ConfigurableTask(Task): ...@@ -1017,7 +1017,7 @@ class ConfigurableTask(Task):
else: else:
gold = str(gold) gold = str(gold)
result, _ = results result = results[0]
for metric in self._metric_fn_list.keys(): for metric in self._metric_fn_list.keys():
if self.multiple_target: if self.multiple_target:
# in the case where we have multiple targets, # in the case where we have multiple targets,
......
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