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
ea550ca9
Commit
ea550ca9
authored
Jul 13, 2020
by
Kaushik Shivakumar
Browse files
Merge branch 'master' of
https://github.com/tensorflow/models
into context_tf2
parents
3ce2f61b
6794c6b3
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 @
ea550ca9
...
@@ -341,8 +341,8 @@ class Controller(object):
...
@@ -341,8 +341,8 @@ class Controller(object):
# Calculates steps to run for the next train loop.
# Calculates steps to run for the next train loop.
current_step
=
self
.
global_step
.
numpy
()
current_step
=
self
.
global_step
.
numpy
()
logging
.
info
(
"Entering training loop at step %s
of %s"
,
current_
step
,
logging
.
info
(
"Entering training loop at step %s
to run %s
step
s"
,
num_steps
)
current_step
,
num_steps
)
current_step
+=
num_steps
current_step
+=
num_steps
num_steps
=
tf
.
convert_to_tensor
(
num_steps
,
dtype
=
tf
.
int32
)
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