"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "ab653aff2a793f04442579940f113dc2debe55ac"
Commit 1dd1eae0 authored by Baber's avatar Baber
Browse files

fix metric name/fn mixup

parent b7b0f92e
...@@ -281,7 +281,8 @@ class TaskConfig(dict): ...@@ -281,7 +281,8 @@ class TaskConfig(dict):
_metric_fn = metric_name.__call__ _metric_fn = metric_name.__call__
else: else:
# Normal: look up by name # Normal: look up by name
_metric_name = get_metric(metric_name, _hf_evaluate_metric) _metric_name = metric_name
_metric_fn = get_metric(metric_name, _hf_evaluate_metric)
# ---------- 3. Decide how to aggregate examples ---------- # ---------- 3. Decide how to aggregate examples ----------
if "aggregation" in metric_config: if "aggregation" in metric_config:
......
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