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
77d47f79
"examples/pytorch/vscode:/vscode.git/clone" did not exist on "1e69bf538774894eadfe21b76f047a515bdde322"
Commit
77d47f79
authored
Dec 08, 2020
by
Chen Chen
Committed by
A. Unique TensorFlower
Dec 08, 2020
Browse files
Internal change
PiperOrigin-RevId: 346397839
parent
c5f11e3f
Changes
1
Show 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 @
77d47f79
...
@@ -108,7 +108,7 @@ class BestCheckpointExporter:
...
@@ -108,7 +108,7 @@ class BestCheckpointExporter:
# Saving the best checkpoint might be interrupted if the job got killed.
# 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
+
'*'
):
for
file_to_remove
in
tf
.
io
.
gfile
.
glob
(
self
.
best_ckpt_path
+
'*'
):
tf
.
io
.
gfile
.
r
mtre
e
(
file_to_remove
)
tf
.
io
.
gfile
.
r
emov
e
(
file_to_remove
)
checkpoint
.
save
(
self
.
best_ckpt_path
)
checkpoint
.
save
(
self
.
best_ckpt_path
)
@
property
@
property
...
...
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