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
0b8b571a
Commit
0b8b571a
authored
Aug 09, 2019
by
Nimit Nigania
Browse files
acutally removing the loss logging
parent
0287a59f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
official/utils/misc/keras_utils.py
official/utils/misc/keras_utils.py
+0
-3
No files found.
official/utils/misc/keras_utils.py
View file @
0b8b571a
...
@@ -83,9 +83,6 @@ class TimeHistory(tf.keras.callbacks.Callback):
...
@@ -83,9 +83,6 @@ class TimeHistory(tf.keras.callbacks.Callback):
"BenchmarkMetric: {'global step':%d, 'time_taken': %f,"
"BenchmarkMetric: {'global step':%d, 'time_taken': %f,"
"'examples_per_second': %f}"
%
"'examples_per_second': %f}"
%
(
self
.
global_steps
,
elapsed_time
,
examples_per_second
))
(
self
.
global_steps
,
elapsed_time
,
examples_per_second
))
tf
.
compat
.
v1
.
logging
.
info
(
"Loss: %f"
%
(
logs
.
get
(
'loss'
)))
self
.
start_time
=
timestamp
self
.
start_time
=
timestamp
def
on_epoch_end
(
self
,
epoch
,
logs
=
None
):
def
on_epoch_end
(
self
,
epoch
,
logs
=
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