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
4c77f5b1
Commit
4c77f5b1
authored
Jun 08, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Jun 08, 2020
Browse files
Internal change
PiperOrigin-RevId: 315383689
parent
e82a2d9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/utils/misc/keras_utils.py
official/utils/misc/keras_utils.py
+2
-2
No files found.
official/utils/misc/keras_utils.py
View file @
4c77f5b1
...
...
@@ -133,9 +133,9 @@ class TimeHistory(tf.keras.callbacks.Callback):
if
self
.
summary_writer
:
with
self
.
summary_writer
.
as_default
():
tf
.
summary
.
scalar
(
'
global_step/sec
'
,
steps_per_second
,
tf
.
summary
.
scalar
(
'
steps_per_second
'
,
steps_per_second
,
self
.
global_steps
)
tf
.
summary
.
scalar
(
'examples
/sec
'
,
examples_per_second
,
tf
.
summary
.
scalar
(
'examples
_per_second
'
,
examples_per_second
,
self
.
global_steps
)
self
.
last_log_step
=
self
.
global_steps
...
...
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