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
d22500b3
Commit
d22500b3
authored
Apr 04, 2022
by
A. Unique TensorFlower
Browse files
Fixing order dependent test: official/recommendation/ranking/train_test.py
PiperOrigin-RevId: 439332128
parent
40617320
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
official/recommendation/ranking/train_test.py
official/recommendation/ranking/train_test.py
+3
-0
No files found.
official/recommendation/ranking/train_test.py
View file @
d22500b3
...
...
@@ -125,6 +125,8 @@ class TrainTest(parameterized.TestCase, tf.test.TestCase):
interaction
=
interaction
,
use_orbit
=
use_orbit
,
strategy
=
strategy
)
default_mode
=
FLAGS
.
mode
# Training.
FLAGS
.
mode
=
'train'
train
.
main
(
'unused_args'
)
...
...
@@ -134,6 +136,7 @@ class TrainTest(parameterized.TestCase, tf.test.TestCase):
# Evaluation.
FLAGS
.
mode
=
'eval'
train
.
main
(
'unused_args'
)
FLAGS
.
mode
=
default_mode
if
__name__
==
'__main__'
:
...
...
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