1. 22 Jun, 2019 2 commits
    • George K's avatar
      readme source url and import optimization (#7084) · adc27172
      George K authored
      * restored missing function
      
      * missing import
      
      * missing imports
      
      * updated tutorial link
      
      * recovered _print_download_progress func
      
      * change default train with float16 instead of float32 accuracy
      
      * test disable func call
      
      * redundant function call, currently data is pulled automatically in
      
      * optimized imports
      
      * optimized imports
      adc27172
    • Toby Boyd's avatar
      Fix unit tests failures. (#7086) · 47a59023
      Toby Boyd authored
      47a59023
  2. 21 Jun, 2019 5 commits
  3. 20 Jun, 2019 8 commits
  4. 19 Jun, 2019 6 commits
    • Reed's avatar
      Add mixed precision support to Transformer (#7011) · f8ec01ae
      Reed authored
      f8ec01ae
    • Toby Boyd's avatar
      Add XLA to transformer (#7048) · 269581dc
      Toby Boyd authored
      
      
      * set default steps to 300K.
      
      * Log flags to perfzero.
      
      * Add XLA support to transformer
      
      - Moved config logic to keras_utils
      - Added enable_xla flag to _performance flags
      - Did not refactor enable_xla flag from keras resnet due to
        reliance on calling FLAGs in estimator keras and that is
        a needed refactor for another time.
      
      * fix g3 lint complaint.
      
      * Refactor set config into keras_utils.
      
      * Move flags out of main.
      
      * pipe through enable_xla
      
      * Update official/transformer/v2/misc.py
      Co-Authored-By: default avatarReed <reedwm@google.com>
      269581dc
    • anj-s's avatar
      Add flags info when reporting benchmarks (#7056) · 1e527fb5
      anj-s authored
      * first version of ctl
      
      * fix indent
      
      * remove monkey patching for core
      
      * add dtype arg
      
      * fix dtype arg
      
      * add logging lib
      
      * remove compat.v1.logging
      
      * add datetime import
      
      * fix FLAGS import
      
      * add constant vals
      
      * move to using as tf import
      
      * move to using as tf import
      
      * remove steps per epoch = 1
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for the entire dataset
      
      * use an iterator for test
      
      * pass tensors instead of an iterator
      
      * add stats dict
      
      * fix list declaration
      
      * fix list declaration
      
      * fix elapsed time calc
      
      * print lr at epoch boundary alone
      
      * Use regular tf import instead of compat
      
      * remove tensorboard chkpts
      
      * add correct logging import
      
      * add correct logging import
      
      * add benchmark configs
      
      * add tests and configs
      
      * add tests and configs
      
      * add keras flags import
      
      * add keras flags import
      
      * fix eval ds creation cond
      
      * return numpy value of train_loss
      
      * return numpy value of loss and acc values
      
      * add option for full eager mode
      
      * fix lint errors
      
      * add ctl flags
      
      * add ctl import
      
      * add the xla flag
      
      * enable v2 behavior in unit tests
      
      * rename dataset var
      
      * add synthetic dataset without monkey patching
      
      * add ctl local constants
      
      * add ctl local constants
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using keras synthetic input fn
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * add option for no distrat
      
      * add lambda for flags
      
      * remove no_func benchmarks due to OOM error
      
      * remove README
      
      * remove unused comments
      
      * remove unchanged file
      
      * remove unchanged file
      
      * remove unused drop_remainder_arg
      
      * use keras.common lr function
      
      * address PR comments
      
      * remove reference to deleted file
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * fix lint errors
      
      * .
      
      * add flags info
      1e527fb5
    • anj-s's avatar
      Add benchmarks for custom training loops + tf.distribute (#6980) · 65636099
      anj-s authored
      * first version of ctl
      
      * fix indent
      
      * remove monkey patching for core
      
      * add dtype arg
      
      * fix dtype arg
      
      * add logging lib
      
      * remove compat.v1.logging
      
      * add datetime import
      
      * fix FLAGS import
      
      * add constant vals
      
      * move to using as tf import
      
      * move to using as tf import
      
      * remove steps per epoch = 1
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for one step
      
      * test train and test for the entire dataset
      
      * use an iterator for test
      
      * pass tensors instead of an iterator
      
      * add stats dict
      
      * fix list declaration
      
      * fix list declaration
      
      * fix elapsed time calc
      
      * print lr at epoch boundary alone
      
      * Use regular tf import instead of compat
      
      * remove tensorboard chkpts
      
      * add correct logging import
      
      * add correct logging import
      
      * add benchmark configs
      
      * add tests and configs
      
      * add tests and configs
      
      * add keras flags import
      
      * add keras flags import
      
      * fix eval ds creation cond
      
      * return numpy value of train_loss
      
      * return numpy value of loss and acc values
      
      * add option for full eager mode
      
      * fix lint errors
      
      * add ctl flags
      
      * add ctl import
      
      * add the xla flag
      
      * enable v2 behavior in unit tests
      
      * rename dataset var
      
      * add synthetic dataset without monkey patching
      
      * add ctl local constants
      
      * add ctl local constants
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using v2 imports
      
      * change to using keras synthetic input fn
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * remove enable_eager flag from benchmarks
      
      * add option for no distrat
      
      * add lambda for flags
      
      * remove no_func benchmarks due to OOM error
      
      * remove README
      
      * remove unused comments
      
      * remove unchanged file
      
      * remove unchanged file
      
      * remove unused drop_remainder_arg
      
      * use keras.common lr function
      
      * address PR comments
      
      * remove reference to deleted file
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * .
      
      * fix lint errors
      
      * .
      65636099
    • Toby Boyd's avatar
      Use PerfZeroBenchmark and log Flags. (#7052) · d3610769
      Toby Boyd authored
      d3610769
    • Toby Boyd's avatar
      Log flags. (#7053) · d62ddcaa
      Toby Boyd authored
      d62ddcaa
  5. 18 Jun, 2019 4 commits
  6. 14 Jun, 2019 4 commits
    • Toby Boyd's avatar
      Fix graph.rewrite for TF 2.0 and remove num_parallel_batches (#7019) · d44b7283
      Toby Boyd authored
      * tf.compat.v1.train.experimental.enable_mixed_precision_graph_rewrite
      
      * Remove num_parallel_batches which is not used.
      d44b7283
    • Toby Boyd's avatar
      Add ResNet tests for NHWC and layout optimizer off. (#7018) · 097c8051
      Toby Boyd authored
      * layout off for some tests and channels last.
      
      * 8 gpu tests channels_last
      
      * more layout off tests.
      097c8051
    • Toby Boyd's avatar
      Resnet56 forced eager benchmark and no_dist_strat eager accuracy test. (#7017) · 7b329985
      Toby Boyd authored
      * Add 1 gpu force_eager benchmark
      
      * Add accuracy for no dist strat eager
      
      * remvove return.
      7b329985
    • André Araujo's avatar
      Some refactoring + Google Landmarks dataset scripts (#7014) · 7cd29f8c
      André Araujo authored
      * Merged commit includes the following changes:
      253126424  by Andre Araujo:
      
          Scripts to compute metrics for Google Landmarks dataset.
      
          Also, a small fix to metric in retrieval case: avoids duplicate predicted images.
      
      --
      253118971  by Andre Araujo:
      
          Metrics for Google Landmarks dataset.
      
      --
      253106953  by Andre Araujo:
      
          Library to read files from Google Landmarks challenges.
      
      --
      250700636  by Andre Araujo:
      
          Handle case of aggregation extraction with empty set of input features.
      
      --
      250516819  by Andre Araujo:
      
          Add minimum size for DELF extractor.
      
      --
      250435822  by Andre Araujo:
      
          Add max_image_size/min_image_size for open-source DELF proto / module.
      
      --
      250414606  by Andre Araujo:
      
          Refactor extract_aggregation to allow reuse with different datasets.
      
      --
      250356863  by Andre Araujo:
      
          Remove unnecessary cmd_args variable from boxes_and_features_extraction.
      
      --
      249783379  by Andre Araujo:
      
          Create directory for writing mapping file if it does not exist.
      
      --
      249581591  by Andre Araujo:
      
          Refactor scripts to extract boxes and features from images in Revisited datasets.
          Also, change tf.logging.info --> print for easier logging in open source code.
      
      --
      249511821  by Andre Araujo:
      
          Small change to function for file/directory handling.
      
      --
      249289499  by Andre Araujo:
      
          Internal change.
      
      --
      
      PiperOrigin-RevId: 253126424
      
      * Updating DELF init to adjust to latest changes
      
      * Editing init files for python packages
      
      * Edit D2R dataset reader to work with py3.
      
      PiperOrigin-RevId: 253135576
      
      * DELF package: fix import ordering
      7cd29f8c
  7. 13 Jun, 2019 11 commits