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
6794c6b3
Commit
6794c6b3
authored
Jul 12, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Jul 12, 2020
Browse files
Improve _train_n_steps logging message.
PiperOrigin-RevId: 320855556
parent
8e9296ff
Changes
1
Show 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 @
6794c6b3
...
...
@@ -341,8 +341,8 @@ class Controller(object):
# Calculates steps to run for the next train loop.
current_step
=
self
.
global_step
.
numpy
()
logging
.
info
(
"Entering training loop at step %s
of %s"
,
current_
step
,
num_steps
)
logging
.
info
(
"Entering training loop at step %s
to run %s
step
s"
,
current_step
,
num_steps
)
current_step
+=
num_steps
num_steps
=
tf
.
convert_to_tensor
(
num_steps
,
dtype
=
tf
.
int32
)
...
...
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