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
30050e23
Commit
30050e23
authored
Jan 29, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 354647274
parent
d0060ec4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/core/train_utils.py
official/core/train_utils.py
+1
-1
No files found.
official/core/train_utils.py
View file @
30050e23
...
...
@@ -108,7 +108,7 @@ class BestCheckpointExporter:
# Saving the best checkpoint might be interrupted if the job got killed.
for
file_to_remove
in
tf
.
io
.
gfile
.
glob
(
self
.
best_ckpt_path
+
'*'
):
tf
.
io
.
gfile
.
remove
(
file_to_remove
)
checkpoint
.
sav
e
(
self
.
best_ckpt_path
)
checkpoint
.
writ
e
(
self
.
best_ckpt_path
)
@
property
def
best_ckpt_logs
(
self
):
...
...
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