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
790de575
Commit
790de575
authored
Feb 01, 2021
by
Rajagopal Ananthanarayanan
Committed by
A. Unique TensorFlower
Feb 01, 2021
Browse files
Internal change
PiperOrigin-RevId: 355082063
parent
1d18504b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
official/core/base_trainer.py
official/core/base_trainer.py
+3
-6
No files found.
official/core/base_trainer.py
View file @
790de575
...
@@ -320,10 +320,7 @@ class Trainer(orbit.StandardTrainer, orbit.StandardEvaluator):
...
@@ -320,10 +320,7 @@ class Trainer(orbit.StandardTrainer, orbit.StandardEvaluator):
# `self.validation_loss` metric was not updated, because the validation
# `self.validation_loss` metric was not updated, because the validation
# loss was not returned from the task's `validation_step` method.
# loss was not returned from the task's `validation_step` method.
logging
.
info
(
"The task did not report validation loss."
)
logging
.
info
(
"The task did not report validation loss."
)
if
aggregated_logs
:
# Merges additional metrics from `reduce_aggregated_logs` method.
# By default, the method in `base_task.Task` returns an empty dict, while
# the subclass may override it to return metrics computed on host.
metrics
=
self
.
task
.
reduce_aggregated_logs
(
aggregated_logs
)
metrics
=
self
.
task
.
reduce_aggregated_logs
(
aggregated_logs
)
logs
.
update
(
metrics
)
logs
.
update
(
metrics
)
...
...
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