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
bee6a471
Commit
bee6a471
authored
Mar 10, 2021
by
Vighnesh Birodkar
Committed by
TF Object Detection Team
Mar 10, 2021
Browse files
Log errors when doing eval.
PiperOrigin-RevId: 362205649
parent
93da8e77
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
research/object_detection/model_lib_v2.py
research/object_detection/model_lib_v2.py
+2
-1
No files found.
research/object_detection/model_lib_v2.py
View file @
bee6a471
...
...
@@ -896,7 +896,8 @@ def eager_eval_loop(
(
losses_dict
,
prediction_dict
,
groundtruth_dict
,
eval_features
)
=
strategy
.
run
(
compute_eval_dict
,
args
=
(
features
,
labels
))
except
:
# pylint:disable=bare-except
except
Exception
as
exc
:
# pylint:disable=broad-except
tf
.
logging
.
info
(
'Encountered %s exception.'
,
exc
)
tf
.
logging
.
info
(
'A replica probably exhausted all examples. Skipping '
'pending examples on other replicas.'
)
break
...
...
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