Skip to content

Commit 5c8397a

Browse files
committed
remove chief in test
1 parent 9e026a9 commit 5c8397a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/paddle/fluid/tests/unittests/test_checkpoint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ def save_checkpoint(self):
6666

6767
exe = fluid.Executor(self.place)
6868
for i in xrange(10):
69-
fluid.io.save_checkpoint(
70-
exe, config.checkpoint_dir, self.trainer_id, self.chief,
71-
trainer_args, program, config.max_num_checkpoints)
69+
fluid.io.save_checkpoint(exe, config.checkpoint_dir,
70+
self.trainer_id, trainer_args, program,
71+
config.max_num_checkpoints)
7272

7373

7474
if __name__ == '__main__':

0 commit comments

Comments
 (0)