提交 3ac8b7b1 编写于 作者: T tangwei

update setup.py

上级 a5b27465
......@@ -34,7 +34,7 @@ class TrainerFactory(object):
train_mode = envs.get_global_env("train.strategy.mode")
if train_mode is not None:
if train_mode is None:
train_mode = envs.get_runtime_envion("train.trainer")
if train_mode == "SingleTraining":
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册