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
17263f30
Commit
17263f30
authored
Mar 18, 2021
by
Vighnesh Birodkar
Committed by
TF Object Detection Team
Mar 18, 2021
Browse files
Log the loss value in summary exporter.
PiperOrigin-RevId: 363700908
parent
99572269
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
research/object_detection/model_lib_v2.py
research/object_detection/model_lib_v2.py
+1
-0
No files found.
research/object_detection/model_lib_v2.py
View file @
17263f30
...
...
@@ -686,6 +686,7 @@ def train_loop(
'steps_per_sec'
:
np
.
mean
(
steps_per_sec_list
),
'steps_per_sec_p50'
:
np
.
median
(
steps_per_sec_list
),
'steps_per_sec_max'
:
max
(
steps_per_sec_list
),
'last_batch_loss'
:
loss
}
mixed_precision
=
'bf16'
if
kwargs
[
'use_bfloat16'
]
else
'fp32'
performance_summary_exporter
(
metrics
,
mixed_precision
)
...
...
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