1. 21 Feb, 2019 1 commit
    • Ayush Dubey's avatar
      Multi-worker support for Resnet. (#6206) · f2e90945
      Ayush Dubey authored
      * Update official resnet for multi worker training with distribution strategies.
      
      * Fixes for multi worker training.
      
      * Fix call to `get_distribution_strategy`.
      
      * Undo test change.
      
      * Fix spacing.
      
      * Move cluster configuration to distribution_utils.
      
      * Move train_and_evaluate out of loop.  Also, update docstrings for multi-worker flags and add use_train_and_evaluate flag.
      
      * Update distribution_strategy flag to match exported name for collective strategy.
      f2e90945
  2. 19 Feb, 2019 1 commit
  3. 14 Feb, 2019 3 commits
  4. 13 Feb, 2019 1 commit
  5. 11 Feb, 2019 1 commit
    • Toby Boyd's avatar
      Remove contrib thread pool. (#6175) · b6c0c7f9
      Toby Boyd authored
      * Remove contrib thread pool.
      
      * Remove commented out contrib import.
      
      * Fix lint issues.
      
      * move tf.data.options higher. Tweak line breaks.
      b6c0c7f9
  6. 08 Feb, 2019 1 commit
  7. 06 Feb, 2019 1 commit
  8. 05 Feb, 2019 1 commit
    • Goldie Gadde's avatar
      tf_upgrade_v2 on resnet and utils folders. (#6154) · d6b2b83c
      Goldie Gadde authored
      * Add resnet56 short tests. (#6101)
      
      * Add resnet56 short tests.
      - created base benchmark module
      - renamed accuracy test class to contain the word Accuracy
      which will result in a need to update all the jobs
      and a loss of history but is worth it.
      - short tests are mostly copied from shining with oss refactor
      
      * Address feedback.
      
      * Move flag_methods to init
      - Address setting default flags repeatedly.
      
      * Rename accuracy tests.
      
      * Lint errors resolved.
      
      * fix model_dir set to flags.data_dir.
      
      * fixed not fulling pulling out flag_methods.
      
      * Use core mirrored strategy in official models (#6126)
      
      * Imagenet short tests (#6132)
      
      * Add short imagenet tests (taken from seemuch)
      - also rename to match go forward naming
      
      * fix method name
      
      * Update doc strings.
      
      * Fixe gpu number.
      
      * points default data_dir to child folder. (#6131)
      
      Failed test is python2  and was a kokoro failure
      
      * Imagenet short tests (#6136)
      
      * Add short imagenet tests (taken from seemuch)
      - also rename to match go forward naming
      
      * fix method name
      
      * Update doc strings.
      
      * Fixe gpu number.
      
      * Add fill_objects
      
      * fixed calling wrong class in super.
      
      * fix lint issue.
      
      * Flag (#6121)
      
      * Fix the turn_off_ds flag problem
      
      * add param names to all args
      
      * Export benchmark stats using tf.test.Benchmark.report_benchmark() (#6103)
      
      * Export benchmark stats using tf.test.Benchmark.report_benchmark()
      
      * Fix python style using pyformat
      
      * Typos. (#6120)
      
      * log verbosity=2 logs every epoch no progress bars (#6142)
      
      * tf_upgrade_v2 on resnet and utils folder.
      
      * tf_upgrade_v2 on resnet and utils folder.
      d6b2b83c
  9. 11 Jan, 2019 1 commit
  10. 21 Dec, 2018 1 commit
  11. 20 Dec, 2018 1 commit
  12. 19 Dec, 2018 1 commit
  13. 07 Dec, 2018 1 commit
  14. 13 Oct, 2018 5 commits
  15. 12 Oct, 2018 2 commits
  16. 06 Oct, 2018 1 commit
  17. 05 Oct, 2018 1 commit
  18. 04 Oct, 2018 1 commit
  19. 01 Oct, 2018 1 commit
    • netfs's avatar
      Add `--image_bytes_as_serving_input` flag to export SavedModel (#5393) · 295259c3
      netfs authored
      with serving signature that accepts JPEG image bytes instead
      of a fixed size [HxWxC] image tensor.
      
      Passing JPEG image bytes is easier for inference/serving use
      cases. The model internally resizes/crops the JPEG image to
      required [HxWxC] tensor before passing it on for actual model
      inference.
      
      This change aligns with Cloud TPU/ResNet-50 model that offers a
      similar interface (jpeg bytes) for inferencing here:
      
      https://github.com/tensorflow/tpu/tree/master/models/official/resnet
      
      NOTE: This flag is set to `True` by default for ImageNet, and is
      disallowed for CIFAR (as it does not apply to CIFAR).
      295259c3
  20. 05 Sep, 2018 1 commit
  21. 02 Sep, 2018 2 commits
  22. 01 Sep, 2018 1 commit
  23. 27 Aug, 2018 2 commits
    • Taylor Robie's avatar
      ResNet eval_only mode (#5186) · d1c48afc
      Taylor Robie authored
      * Make ResNet robust to the case that epochs_between_evals does not divide train_epochs, and add an --eval_only option
      
      * add some comments to make the control flow easier to follow
      
      * address PR comments
      d1c48afc
    • Toby Boyd's avatar
      Add 5 epoch warmup to resnet (#5176) · 9bf586de
      Toby Boyd authored
      * Add 5 epoch warmup
      
      * get_lr with warm_up only for imagenet
      
      * Add base_lr, remove fp16 unittest arg validation
      
      * Remove validation check stopping v1 and FP16
      9bf586de
  24. 25 Aug, 2018 1 commit
  25. 14 Aug, 2018 1 commit
    • Zac Wellmer's avatar
      Resnet transfer learning (#5047) · 7bffd37b
      Zac Wellmer authored
      * warm start a resent with all but the dense layer and only update the final layer weights when fine tuning
      
      * Update README for Transfer Learning
      
      * make lint happy and variable naming error related to scaled gradients
      
      * edit the test cases for cifar10 and imagenet to reflect the default case of no fine tuning
      7bffd37b
  26. 30 Jul, 2018 1 commit
  27. 20 Jun, 2018 1 commit
    • Taylor Robie's avatar
      Wide Deep refactor and deep movies (#4506) · 20070ca4
      Taylor Robie authored
      * begin branch
      
      * finish download script
      
      * rename download to dataset
      
      * intermediate commit
      
      * intermediate commit
      
      * misc tweaks
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * delint and update census test.
      
      * add movie tests
      
      * delint
      
      * fix py2 issue
      
      * address PR comments
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * finish wide deep transition to vanilla movielens
      
      * delint
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * intermediate commit
      
      * fix import
      
      * add default ncf csv construction
      
      * change default on download_if_missing
      
      * shard and vectorize example serialization
      
      * fix import
      
      * update ncf data unittests
      
      * delint
      
      * delint
      
      * more delinting
      
      * fix wide-deep movielens serialization
      
      * address PR comments
      
      * add file_io tests
      
      * investigate wide-deep test failure
      
      * remove hard coded path and properly...
      20070ca4
  28. 12 Jun, 2018 1 commit
    • Katherine Wu's avatar
      Transformer multi gpu, remove multi_gpu flag, distribution helper functions (#4457) · 29c9f985
      Katherine Wu authored
      * Add DistributionStrategy to transformer model
      
      * add num_gpu flag
      
      * Calculate per device batch size for transformer
      
      * remove reference to flags_core
      
      * Add synthetic data option to transformer
      
      * fix typo
      
      * add import back in
      
      * Use hierarchical copy
      
      * address PR comments
      
      * lint
      
      * fix spaces
      
      * group train op together to fix single GPU error
      
      * Fix translate bug (sorted_keys is a dict, not a list)
      
      * Change params to a default dict (translate.py was throwing errors because params didn't have the TPU parameters.)
      
      * Address PR comments. Removed multi gpu flag + more
      
      * fix lint
      
      * fix more lints
      
      * add todo for Synthetic dataset
      
      * Update docs
      29c9f985
  29. 11 Jun, 2018 1 commit
  30. 06 Jun, 2018 1 commit
  31. 04 Jun, 2018 1 commit