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
8c3a1ef3
Commit
8c3a1ef3
authored
Feb 14, 2022
by
Vighnesh Birodkar
Committed by
TF Object Detection Team
Feb 14, 2022
Browse files
Exit eval if training steps are complete.
PiperOrigin-RevId: 428629058
parent
812ab923
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
research/object_detection/model_lib_v2.py
research/object_detection/model_lib_v2.py
+4
-0
No files found.
research/object_detection/model_lib_v2.py
View file @
8c3a1ef3
...
...
@@ -1164,3 +1164,7 @@ def eval_continuously(
postprocess_on_cpu
=
postprocess_on_cpu
,
global_step
=
global_step
,
)
if
global_step
.
numpy
()
==
configs
[
'train_config'
].
num_steps
:
tf
.
logging
.
info
(
'Exiting evaluation at step %d'
,
global_step
.
numpy
())
return
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