1. 12 Oct, 2018 2 commits
  2. 06 Oct, 2018 1 commit
  3. 05 Oct, 2018 1 commit
  4. 04 Oct, 2018 2 commits
  5. 03 Oct, 2018 1 commit
  6. 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
  7. 28 Sep, 2018 1 commit
  8. 19 Sep, 2018 1 commit
  9. 05 Sep, 2018 2 commits
  10. 02 Sep, 2018 2 commits
  11. 01 Sep, 2018 2 commits
  12. 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
  13. 25 Aug, 2018 1 commit
  14. 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
  15. 13 Aug, 2018 1 commit
  16. 30 Jul, 2018 1 commit
  17. 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 use flags.
      
      * address file_io test PR comments
      
      * missed a hash_bucked_size
      20070ca4
  18. 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
  19. 11 Jun, 2018 1 commit
  20. 06 Jun, 2018 1 commit
  21. 04 Jun, 2018 2 commits
  22. 01 Jun, 2018 2 commits
    • Qianli Scott Zhu's avatar
      Add new test ID and test env info to the benchmark run. (#4426) · d2d6ab4c
      Qianli Scott Zhu authored
      * Add new test ID and test env info to the benchmark run.
      
      * Fix test.
      
      * Fix lint
      
      * Address review comment.
      d2d6ab4c
    • Qianli Scott Zhu's avatar
      Record the status for a benchmark run. (#4402) · 47c5642e
      Qianli Scott Zhu authored
      * Update benchmark logger to update the run status.
      
      This is important for streaming upload to bigquery so that the
      dashboard can ignore the 'running' benchmark at the moment since
      its not finished yet.
      
      * Move the run status into a separate table.
      
      Also update the run status in the benchmark uploader and
      BigqueryBenchmarkLogger.
      
      * Insert instead of update for the benchmark status for file logger.
      
      * Address review comments.
      
      Update the logger to have benchmark context, which will update the
      run status accordingly.
      
      * Fix broken tests.
      
      * Move the benchmark logger context to main function.
      
      * Fix tests.
      
      * Update the rest of the models to use the context in main.
      
      * Delint.
      47c5642e
  23. 31 May, 2018 1 commit
  24. 24 May, 2018 1 commit
  25. 23 May, 2018 1 commit
  26. 17 May, 2018 1 commit
    • Qianli Scott Zhu's avatar
      Fix resnet missing layers. (#4254) · 493d7a2e
      Qianli Scott Zhu authored
      * Fix resnet missing layers.
      
      The official v1 model contains BN and Relu between input layer and
      pooling.
      
      * Remove the BN and Relu for V2.
      
      After some discussion with team and refer to existing
      implementation, those two layer seems to be only useful in V1.
      In V2, the first unit of the block will have a projection, that
      apply the BN and Relu for the shortcut. Adding a comment to make
      this clear.
      
      * Expand the comment section.
      
      * Remove the pre-trained checkpoint since its broken right now.
      
      Will restore it once we have new checkpoint generated.
      493d7a2e
  27. 11 May, 2018 1 commit
    • Qianli Scott Zhu's avatar
      Add benchmark logger that does stream upload to bigquery. (#4210) · 0270cac7
      Qianli Scott Zhu authored
      * Move the benchmark_uploader to new location.
      
      * Update benchmark logger to streaming upload.
      
      * Fix lint and unit test error.
      
      * delint.
      
      * Update the benchmark uploader test.
      
      Skip the import of benchmark_uploader when bigquery is not installed.
      
      * Merge the 2 classes of benchmark uploader into 1.
      
      * Address review comments.
      
      * delint.
      
      * Execute bigquery upload in a separate thread.
      
      * Change to use python six.moves for importing.
      
      * Address review comments and delint.
      
      * Address review comment.
      
      Adding comment for potential performance impact for model on CPU.
      
      * Fix random failure on py3.
      
      * Fix the order of flag saver to avoid the randomness.
      
      The test is broken when the benchmark_logger_type is set first, and
      validated when the benchmark_log_dir is not set yet.
      0270cac7
  28. 10 May, 2018 1 commit
  29. 08 May, 2018 1 commit
  30. 04 May, 2018 1 commit
    • Taylor Robie's avatar
      Rename --version or --resnet_version (#4165) · 5be3c064
      Taylor Robie authored
      * rename --version flag and fix tests to correctly specify version rather than verbosity
      
      * rename version to resnet_version throughout
      
      * fix bugs
      
      * delint
      
      * missed layer_test
      
      * fix indent
      5be3c064
  31. 03 May, 2018 2 commits