提交 f8369f47 编写于 作者: C chengmo

fix cluster

上级 7c0703f2
......@@ -103,7 +103,7 @@ class ClusterTrainer(TranspileTrainer):
self._exe.run(fleet.startup_program)
context['status'] = 'train_pass'
def dataloader_train(self, context):
def dataloader_train(self, context):
fleet.init_worker()
reader = self._get_dataloader()
......
......@@ -19,6 +19,7 @@ Training use fluid with one node only.
from __future__ import print_function
import logging
import numpy as np
import paddle.fluid as fluid
from paddle.fluid.incubate.fleet.parameter_server.distribute_transpiler import fleet
from paddle.fluid.incubate.fleet.parameter_server.distribute_transpiler.distributed_strategy import StrategyFactory
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册