未验证 提交 aa69732d 编写于 作者: Z zhang wenhui 提交者: GitHub

fix ssr (#4370)

上级 ff6d280c
......@@ -94,8 +94,9 @@ def train(args):
feed_list=train_input_data, capacity=10000, iterable=True)
loader.set_sample_list_generator(train_reader, places=place)
if parallel:
train_exe = fluid.ParallelExecutor(
use_cuda=use_cuda, loss_name=avg_cost.name)
train_exe = exe
#train_exe = fluid.ParallelExecutor(
# use_cuda=use_cuda, loss_name=avg_cost.name)
else:
train_exe = exe
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册