未验证 提交 ba29cd4c 编写于 作者: W wuzhihua 提交者: GitHub

Merge pull request #74 from xjqbest/fixdebug

fix debug
......@@ -69,7 +69,8 @@ class RunnerBase(object):
dataset=reader,
fetch_list=fetch_vars,
fetch_info=fetch_alias,
print_period=fetch_period)
print_period=fetch_period,
debug=envs.get_global_env("debug", False))
else:
metrics = model_class.get_metrics()
if metrics:
......@@ -81,7 +82,8 @@ class RunnerBase(object):
dataset=reader,
fetch_list=fetch_vars,
fetch_info=fetch_alias,
print_period=fetch_period)
print_period=fetch_period,
debug=envs.get_global_env("debug", False))
def _executor_dataloader_train(self, model_dict, context):
model_name = model_dict["name"]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册