Unverified Commit 1043613b authored by xiaoting's avatar xiaoting Committed by GitHub
Browse files

Merge pull request #1897 from iamyoyo/dygraph

Update program.py
parents 080e2501 be949774
...@@ -251,7 +251,7 @@ def train(config, ...@@ -251,7 +251,7 @@ def train(config,
min_average_window=10000, min_average_window=10000,
max_average_window=15625) max_average_window=15625)
Model_Average.apply() Model_Average.apply()
cur_metirc = eval(model, valid_dataloader, post_process_class, cur_metric = eval(model, valid_dataloader, post_process_class,
eval_class) eval_class)
cur_metric_str = 'cur metric, {}'.format(', '.join( cur_metric_str = 'cur metric, {}'.format(', '.join(
['{}: {}'.format(k, v) for k, v in cur_metric.items()])) ['{}: {}'.format(k, v) for k, v in cur_metric.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