Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: dascoder/active-learning
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: google/active-learning
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Nov 7, 2017

  1. Copy the full SHA
    3cf15e0 View commit details

Commits on May 10, 2019

  1. Merge pull request google#1 from yilei/absl

    Use absl-py instead of google-apputils and python-gflags.
    rostamiz authored May 10, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    efedd8f View commit details
Showing with 10 additions and 11 deletions.
  1. +1 −2 requirements.txt
  2. +3 −3 run_experiment.py
  3. +3 −3 utils/chart_data.py
  4. +3 −3 utils/create_data.py
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
absl-py
numpy>=1.13
scipy>=0.19
pandas>=0.20
scikit-learn>=0.19
matplotlib>=2.0.2
tensorflow>=1.3
keras>=2.0.8
google-apputils>=0.4.2

6 changes: 3 additions & 3 deletions run_experiment.py
Original file line number Diff line number Diff line change
@@ -39,8 +39,8 @@
from sklearn.preprocessing import normalize
from sklearn.preprocessing import StandardScaler

from google.apputils import app
import gflags as flags
from absl import app
from absl import flags
from tensorflow import gfile

from sampling_methods.constants import AL_MAPPING
@@ -341,4 +341,4 @@ def main(argv):


if __name__ == "__main__":
app.run()
app.run(main)
6 changes: 3 additions & 3 deletions utils/chart_data.py
Original file line number Diff line number Diff line change
@@ -26,8 +26,8 @@
import matplotlib.pyplot as plt
from matplotlib.backends.backend_pdf import PdfPages

from google.apputils import app
import gflags as flags
from absl import app
from absl import flags
from tensorflow import gfile

flags.DEFINE_string('source_dir',
@@ -227,4 +227,4 @@ def main(argv):


if __name__ == '__main__':
app.run()
app.run(main)
6 changes: 3 additions & 3 deletions utils/create_data.py
Original file line number Diff line number Diff line change
@@ -44,8 +44,8 @@
from sklearn.feature_extraction.text import CountVectorizer
from sklearn.feature_extraction.text import TfidfTransformer

from google.apputils import app
import gflags as flags
from absl import app
from absl import flags
from tensorflow import gfile

flags.DEFINE_string('save_dir', '/tmp/data',
@@ -281,4 +281,4 @@ def main(argv):


if __name__ == '__main__':
app.run()
app.run(main)