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
c280c4ee
Commit
c280c4ee
authored
Nov 23, 2021
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 411835650
parent
f6557386
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
official/core/base_trainer.py
official/core/base_trainer.py
+0
-10
No files found.
official/core/base_trainer.py
View file @
c280c4ee
...
@@ -370,16 +370,6 @@ class Trainer(_AsyncTrainer):
...
@@ -370,16 +370,6 @@ class Trainer(_AsyncTrainer):
"""Accesses the training checkpoint."""
"""Accesses the training checkpoint."""
return
self
.
_checkpoint
return
self
.
_checkpoint
# TODO(yejiayu): Remove this once all deps are fixed.
def
add_recovery
(
self
,
params
:
TrainerConfig
,
checkpoint_manager
:
tf
.
train
.
CheckpointManager
):
if
params
.
recovery_max_trials
>=
0
:
self
.
_recovery
=
Recovery
(
loss_upper_bound
=
params
.
loss_upper_bound
,
recovery_begin_steps
=
params
.
recovery_begin_steps
,
recovery_max_trials
=
params
.
recovery_max_trials
,
checkpoint_manager
=
checkpoint_manager
)
def
train_loop_end
(
self
):
def
train_loop_end
(
self
):
"""See base class."""
"""See base class."""
self
.
join
()
self
.
join
()
...
...
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