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
482784ab
"vscode:/vscode.git/clone" did not exist on "705487828ec5605721b93697c3d6b60d8a5bc9a0"
Commit
482784ab
authored
Oct 07, 2019
by
Jing Li
Committed by
A. Unique TensorFlower
Oct 07, 2019
Browse files
Internal change
PiperOrigin-RevId: 273233857
parent
7acce35d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/modeling/model_training_utils.py
official/modeling/model_training_utils.py
+1
-1
No files found.
official/modeling/model_training_utils.py
View file @
482784ab
...
@@ -207,7 +207,7 @@ def run_customized_training_loop(
...
@@ -207,7 +207,7 @@ def run_customized_training_loop(
'Checkpoint file %s found and restoring from '
'Checkpoint file %s found and restoring from '
'initial checkpoint for core model.'
,
init_checkpoint
)
'initial checkpoint for core model.'
,
init_checkpoint
)
checkpoint
=
tf
.
train
.
Checkpoint
(
model
=
sub_model
)
checkpoint
=
tf
.
train
.
Checkpoint
(
model
=
sub_model
)
checkpoint
.
restore
(
init_checkpoint
).
assert_
consum
ed
()
checkpoint
.
restore
(
init_checkpoint
).
assert_
existing_objects_match
ed
()
logging
.
info
(
'Loading from checkpoint file completed'
)
logging
.
info
(
'Loading from checkpoint file completed'
)
train_loss_metric
=
tf
.
keras
.
metrics
.
Mean
(
train_loss_metric
=
tf
.
keras
.
metrics
.
Mean
(
...
...
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