Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
a540c3d7
Commit
a540c3d7
authored
Jul 27, 2020
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 323515364
parent
c94836a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
official/modeling/training/distributed_executor.py
official/modeling/training/distributed_executor.py
+2
-1
No files found.
official/modeling/training/distributed_executor.py
View file @
a540c3d7
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment