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
f3600cd1
Commit
f3600cd1
authored
Feb 18, 2020
by
Allen Wang
Committed by
A. Unique TensorFlower
Feb 18, 2020
Browse files
Small fix to CTL controller to enable evaluation skipping.
PiperOrigin-RevId: 295789822
parent
2926ba69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
official/staging/training/utils.py
official/staging/training/utils.py
+1
-1
No files found.
official/staging/training/utils.py
View file @
f3600cd1
...
@@ -274,7 +274,7 @@ class IntervalTrigger(Trigger):
...
@@ -274,7 +274,7 @@ class IntervalTrigger(Trigger):
self
.
_last_trigger_value
=
value
self
.
_last_trigger_value
=
value
return
True
return
True
if
self
.
_interval
>
0
:
if
self
.
_interval
and
self
.
_interval
>
0
:
if
value
>=
self
.
_last_trigger_value
+
self
.
_interval
:
if
value
>=
self
.
_last_trigger_value
+
self
.
_interval
:
self
.
_last_trigger_value
=
value
self
.
_last_trigger_value
=
value
return
True
return
True
...
...
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