1. 28 Mar, 2019 4 commits
    • Shining Sun's avatar
      Added benchmark test and convergence test for the NCF model (#6318) · 4c11b84b
      Shining Sun authored
      * initial commit
      
      * bug fix
      
      * Move build_stats from common to keras main, because it is only applicable in keras
      
      * remove tailing blank line
      
      * add test for synth data
      
      * add kwargs to init
      
      * add kwargs to function invokation
      
      * correctly pass kwargs
      
      * debug
      
      * debug
      
      * debug
      
      * fix super init
      
      * bug fix
      
      * fix local_flags
      
      * fix import
      
      * bug fix
      
      * fix log_steps flag
      
      * bug fix
      
      * bug fix: add missing return value
      
      * resolve double-defined flags
      
      * lint fix
      
      * move log_steps flag to benchmarK flag
      
      * fix lint
      
      * lint fix
      
      * lint fix
      
      * try flag core default values
      
      * bug fix
      
      * bug fix
      
      * bug fix
      
      * debug
      
      * debug
      
      * remove debug prints
      
      * rename benchmark methods
      
      * flag bug fix for synth benchmark
      4c11b84b
    • Ayush Dubey's avatar
    • Shining Sun's avatar
      Add a README for ResNet keras (#6293) · f5bb2af2
      Shining Sun authored
      * Initial commit
      
      * Fininshed
      
      * bug fix
      
      * bug fix
      
      * bug fix
      
      * Resolve review comments
      
      * Typo fix
      
      * resolve comments
      
      * fix number error
      
      * Resolve comments
      f5bb2af2
    • Haoyu Zhang's avatar
      Add trivial Keras model (#6460) · b09685fe
      Haoyu Zhang authored
      b09685fe
  2. 27 Mar, 2019 2 commits
    • cclauss's avatar
      Change function signature (#6459) · 0b2b8997
      cclauss authored
      * from NCF_input import NCFDataset for line 181
      
      The type __NCFDataset__ is used in the type declaration on line 81 but it is never imported.
      
      [flake8](http://flake8.pycqa.org) testing of https://github.com/tensorflow/models on Python 3.7.1
      
      $ __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
      ```
      ./official/recommendation/data_preprocessing.py:180:3: F821 undefined name 'NCFDataset'
        # type: (str, str, dict, typing.Optional[str], bool, typing.Optional[str]) -> (NCFDataset, typing.Callable)
        ^
      1    F821 undefined name 'NCFDataset'
      1
      ```
      __E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.
      * F821: undefined name `name`
      * F822: undefined name `name` in `__all__`
      * F823: local variable name referenced before assignment
      * E901: SyntaxError or IndentationError
      * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
      
      * int, int, data_pipeline.BaseDataConstructor
      0b2b8997
    • Haoyu Zhang's avatar
      7dbbca9d
  3. 26 Mar, 2019 3 commits
  4. 25 Mar, 2019 1 commit
  5. 22 Mar, 2019 1 commit
  6. 20 Mar, 2019 2 commits
  7. 19 Mar, 2019 3 commits
  8. 18 Mar, 2019 1 commit
  9. 13 Mar, 2019 2 commits
  10. 12 Mar, 2019 2 commits
  11. 11 Mar, 2019 1 commit
  12. 07 Mar, 2019 3 commits
  13. 06 Mar, 2019 1 commit
  14. 02 Mar, 2019 1 commit
  15. 01 Mar, 2019 3 commits
    • Shining Sun's avatar
      Keras-fy NCF Model (#6092) · 048e5bff
      Shining Sun authored
      * tmp commit
      
      * tmp commit
      
      * first attempt (without eval)
      
      * Bug fixes
      
      * bug fixes
      
      * training done
      
      * Loss NAN, no eval
      
      * Loss weight problem solved
      
      * resolve the NAN loss problem
      
      * Problem solved. Clean up needed
      
      * Added a todo
      
      * Remove debug prints
      
      * Extract get_optimizer to ncf_common
      
      * Move metrics computation back to neumf; use DS.scope api
      
      * Extract DS.scope code to utils
      
      * lint fixes
      
      * Move obtaining DS above producer.start to avoid race condition
      
      * move pt 1
      
      * move pt 2
      
      * Update the run script
      
      * Wrap keras_model related code into functions
      
      * Update the doc for softmax_logitfy and change the method name
      
      * Resolve PR comments
      
      * working version with: eager, DS, batch and no masks
      
      * Remove git conflict indicator
      
      * move reshape to neumf_model
      
      * working version, not converge
      
      * converged
      
      * fix a test
      
      * more lint fix
      
      * more lint fix
      
      * more lint fixes
      
      * more lint fix
      
      * Removed unused imports
      
      * fix test
      
      * dummy commit for kicking of checks
      
      * fix lint issue
      
      * dummy input to kick off checks
      
      * dummy input to kick off checks
      
      * add collective to dist strat
      
      * addressed review comments
      
      * add a doc string
      048e5bff
    • Haoyu Zhang's avatar
      Add Keras XLA Tests (#6286) · fa9ed456
      Haoyu Zhang authored
      * Added XLA test with a monkey-patched op to avoid OOM
      
      * Added doc strings in Keras benchmarks to avoid Lint error
      fa9ed456
    • Yash Katariya's avatar
      Update imagenet_preprocessing.py (#6291) · a76cd3ac
      Yash Katariya authored
      a76cd3ac
  16. 28 Feb, 2019 3 commits
  17. 25 Feb, 2019 1 commit
  18. 22 Feb, 2019 4 commits
  19. 21 Feb, 2019 2 commits
    • 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
    • Haoyu Zhang's avatar
      Add flag to enable XLA in Keras models (#6240) · 4571d3fa
      Haoyu Zhang authored
      * Add flag to enable XLA in Keras models
      
      * Fix lint errors (some of them are old errors)
      4571d3fa