Skip to content

Commit

Permalink
Fixes usage of tf.app in official model repos.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 308369201
  • Loading branch information
tensorflower-gardener committed Apr 25, 2020
1 parent 652cf78 commit 73d4852
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions official/recommendation/movielens.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
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
Expand All @@ -40,7 +40,6 @@
from official.utils.flags import core as flags_core



ML_1M = "ml-1m"
ML_20M = "ml-20m"
DATASETS = [ML_1M, ML_20M]
Expand Down Expand Up @@ -306,4 +305,4 @@ def main(_):
if __name__ == "__main__":
define_data_download_flags()
FLAGS = flags.FLAGS
absl_app.run(main)
app.run(main)

0 comments on commit 73d4852

Please sign in to comment.