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
1b8c0ee8
Commit
1b8c0ee8
authored
Nov 18, 2019
by
Jose Baiocchi
Committed by
A. Unique TensorFlower
Nov 18, 2019
Browse files
Properly save/restore flags in model tests
PiperOrigin-RevId: 281192912
parent
021828cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
official/utils/testing/integration.py
official/utils/testing/integration.py
+2
-0
No files found.
official/utils/testing/integration.py
View file @
1b8c0ee8
...
...
@@ -25,10 +25,12 @@ import sys
import
tempfile
from
absl
import
flags
from
absl.testing
import
flagsaver
from
official.utils.flags
import
core
as
flags_core
@
flagsaver
.
flagsaver
def
run_synthetic
(
main
,
tmp_root
,
extra_flags
=
None
,
synth
=
True
,
train_epochs
=
1
,
epochs_between_evals
=
1
):
"""Performs a minimal run of a model.
...
...
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