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
adc01cd7
Commit
adc01cd7
authored
Mar 15, 2020
by
A. Unique TensorFlower
Browse files
Correct grammar.
PiperOrigin-RevId: 301041987
parent
77e28369
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/modeling/model_training_utils.py
official/modeling/model_training_utils.py
+1
-1
No files found.
official/modeling/model_training_utils.py
View file @
adc01cd7
...
@@ -211,7 +211,7 @@ def run_customized_training_loop(
...
@@ -211,7 +211,7 @@ def run_customized_training_loop(
if
run_eagerly
:
if
run_eagerly
:
if
isinstance
(
strategy
,
tf
.
distribute
.
experimental
.
TPUStrategy
):
if
isinstance
(
strategy
,
tf
.
distribute
.
experimental
.
TPUStrategy
):
raise
ValueError
(
raise
ValueError
(
'TPUStrategy should not run eagerly as it heavily re
p
lies on graph'
'TPUStrategy should not run eagerly as it heavily relies on graph'
' optimization for the distributed system.'
)
' optimization for the distributed system.'
)
if
eval_input_fn
and
(
eval_steps
is
None
or
metric_fn
is
None
):
if
eval_input_fn
and
(
eval_steps
is
None
or
metric_fn
is
None
):
...
...
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