remove chief in test

wangkuiyi-patch-1
tangwei12 7 years ago
parent 9e026a93cf
commit 5c8397a88f

@ -66,9 +66,9 @@ class TestCheckpoint(unittest.TestCase):
exe = fluid.Executor(self.place)
for i in xrange(10):
fluid.io.save_checkpoint(
exe, config.checkpoint_dir, self.trainer_id, self.chief,
trainer_args, program, config.max_num_checkpoints)
fluid.io.save_checkpoint(exe, config.checkpoint_dir,
self.trainer_id, trainer_args, program,
config.max_num_checkpoints)
if __name__ == '__main__':

Loading…
Cancel
Save