Commit a540c3d7 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Internal change

PiperOrigin-RevId: 323515364
parent c94836a4
...@@ -698,7 +698,8 @@ class DistributedExecutor(object): ...@@ -698,7 +698,8 @@ class DistributedExecutor(object):
logging.info( logging.info(
'Checkpoint file %s found and restoring from ' 'Checkpoint file %s found and restoring from '
'checkpoint', checkpoint_path) 'checkpoint', checkpoint_path)
checkpoint.restore(checkpoint_path) status = checkpoint.restore(checkpoint_path)
status.expect_partial().assert_existing_objects_matched()
self.global_train_step = model.optimizer.iterations self.global_train_step = model.optimizer.iterations
eval_iterator = self._get_input_iterator(eval_input_fn, strategy) eval_iterator = self._get_input_iterator(eval_input_fn, strategy)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment