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
c061dace
Commit
c061dace
authored
Nov 10, 2020
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 341713387
parent
e307115b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
orbit/controller.py
orbit/controller.py
+2
-2
No files found.
orbit/controller.py
View file @
c061dace
...
@@ -272,9 +272,9 @@ class Controller:
...
@@ -272,9 +272,9 @@ class Controller:
return
eval_output
return
eval_output
def
train_and_evaluate
(
self
,
def
train_and_evaluate
(
self
,
train_steps
:
int
=
None
,
train_steps
:
int
,
eval_steps
:
int
=
-
1
,
eval_steps
:
int
=
-
1
,
eval_interval
:
int
=
None
):
eval_interval
:
Optional
[
int
]
=
None
)
->
None
:
"""Runs interleaved training and evaluation.
"""Runs interleaved training and evaluation.
This method interleaves calls to `self.train()` and `self.evaluate()`,
This method interleaves calls to `self.train()` and `self.evaluate()`,
...
...
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