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
4dbdb450
Commit
4dbdb450
authored
Sep 06, 2019
by
A. Unique TensorFlower
Browse files
Internal change
PiperOrigin-RevId: 267607964
parent
45261f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/bert/model_training_utils.py
official/bert/model_training_utils.py
+1
-1
No files found.
official/bert/model_training_utils.py
View file @
4dbdb450
...
@@ -413,7 +413,7 @@ def run_customized_training_loop(
...
@@ -413,7 +413,7 @@ def run_customized_training_loop(
# TODO(hongkuny): Cleans up summary reporting in text.
# TODO(hongkuny): Cleans up summary reporting in text.
training_summary
[
'last_train_metrics'
]
=
_float_metric_value
(
training_summary
[
'last_train_metrics'
]
=
_float_metric_value
(
train_metrics
[
0
])
train_metrics
[
0
])
training_summary
[
'eval_metrics
s
'
]
=
_float_metric_value
(
eval_metrics
[
0
])
training_summary
[
'eval_metrics'
]
=
_float_metric_value
(
eval_metrics
[
0
])
_write_txt_summary
(
training_summary
,
model_dir
)
_write_txt_summary
(
training_summary
,
model_dir
)
...
...
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