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
8f34962f
Commit
8f34962f
authored
Aug 03, 2020
by
Chen Chen
Committed by
A. Unique TensorFlower
Aug 03, 2020
Browse files
Internal change
PiperOrigin-RevId: 324700979
parent
6b692770
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/core/base_task.py
official/core/base_task.py
+1
-1
No files found.
official/core/base_task.py
View file @
8f34962f
...
@@ -76,7 +76,7 @@ class Task(tf.Module):
...
@@ -76,7 +76,7 @@ class Task(tf.Module):
return
return
ckpt
=
tf
.
train
.
Checkpoint
(
**
model
.
checkpoint_items
)
ckpt
=
tf
.
train
.
Checkpoint
(
**
model
.
checkpoint_items
)
status
=
ckpt
.
re
store
(
ckpt_dir_or_file
)
status
=
ckpt
.
re
ad
(
ckpt_dir_or_file
)
status
.
expect_partial
().
assert_existing_objects_matched
()
status
.
expect_partial
().
assert_existing_objects_matched
()
logging
.
info
(
"Finished loading pretrained checkpoint from %s"
,
logging
.
info
(
"Finished loading pretrained checkpoint from %s"
,
ckpt_dir_or_file
)
ckpt_dir_or_file
)
...
...
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