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
73d48524
Commit
73d48524
authored
Apr 24, 2020
by
A. Unique TensorFlower
Browse files
Fixes usage of tf.app in official model repos.
PiperOrigin-RevId: 308369201
parent
652cf785
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
official/recommendation/movielens.py
official/recommendation/movielens.py
+2
-3
No files found.
official/recommendation/movielens.py
View file @
73d48524
...
...
@@ -31,7 +31,7 @@ import numpy as np
import
pandas
as
pd
import
six
from
six.moves
import
urllib
# pylint: disable=redefined-builtin
from
absl
import
app
as
absl_app
from
absl
import
app
from
absl
import
flags
from
absl
import
logging
import
tensorflow
as
tf
...
...
@@ -40,7 +40,6 @@ import tensorflow as tf
from
official.utils.flags
import
core
as
flags_core
ML_1M
=
"ml-1m"
ML_20M
=
"ml-20m"
DATASETS
=
[
ML_1M
,
ML_20M
]
...
...
@@ -306,4 +305,4 @@ def main(_):
if
__name__
==
"__main__"
:
define_data_download_flags
()
FLAGS
=
flags
.
FLAGS
absl_
app
.
run
(
main
)
app
.
run
(
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