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
9332b71f
Commit
9332b71f
authored
Apr 04, 2022
by
A. Unique TensorFlower
Browse files
Fixing order dependent test: official/recommendation/ranking/train_test.py
PiperOrigin-RevId: 439332128
parent
7df0c6f7
Changes
1
Hide 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 @
9332b71f
...
@@ -125,6 +125,8 @@ class TrainTest(parameterized.TestCase, tf.test.TestCase):
...
@@ -125,6 +125,8 @@ class TrainTest(parameterized.TestCase, tf.test.TestCase):
interaction
=
interaction
,
interaction
=
interaction
,
use_orbit
=
use_orbit
,
use_orbit
=
use_orbit
,
strategy
=
strategy
)
strategy
=
strategy
)
default_mode
=
FLAGS
.
mode
# Training.
# Training.
FLAGS
.
mode
=
'train'
FLAGS
.
mode
=
'train'
train
.
main
(
'unused_args'
)
train
.
main
(
'unused_args'
)
...
@@ -134,6 +136,7 @@ class TrainTest(parameterized.TestCase, tf.test.TestCase):
...
@@ -134,6 +136,7 @@ class TrainTest(parameterized.TestCase, tf.test.TestCase):
# Evaluation.
# Evaluation.
FLAGS
.
mode
=
'eval'
FLAGS
.
mode
=
'eval'
train
.
main
(
'unused_args'
)
train
.
main
(
'unused_args'
)
FLAGS
.
mode
=
default_mode
if
__name__
==
'__main__'
:
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