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
5a423a2d
Commit
5a423a2d
authored
Mar 12, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Mar 12, 2020
Browse files
Remove confusing legacy comments.
PiperOrigin-RevId: 300693870
parent
a4e12a64
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
official/modeling/model_training_utils.py
official/modeling/model_training_utils.py
+0
-3
No files found.
official/modeling/model_training_utils.py
View file @
5a423a2d
...
@@ -223,9 +223,6 @@ def run_customized_training_loop(
...
@@ -223,9 +223,6 @@ def run_customized_training_loop(
'if `metric_fn` is specified, metric_fn must be a callable.'
)
'if `metric_fn` is specified, metric_fn must be a callable.'
)
total_training_steps
=
steps_per_epoch
*
epochs
total_training_steps
=
steps_per_epoch
*
epochs
# To reduce unnecessary send/receive input pipeline operation, we place input
# pipeline ops in worker task.
train_iterator
=
_get_input_iterator
(
train_input_fn
,
strategy
)
train_iterator
=
_get_input_iterator
(
train_input_fn
,
strategy
)
with
distribution_utils
.
get_strategy_scope
(
strategy
):
with
distribution_utils
.
get_strategy_scope
(
strategy
):
...
...
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