1. 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
  2. 26 Mar, 2019 3 commits
  3. 25 Mar, 2019 1 commit
  4. 22 Mar, 2019 1 commit
  5. 20 Mar, 2019 2 commits
  6. 19 Mar, 2019 3 commits
  7. 18 Mar, 2019 1 commit
  8. 13 Mar, 2019 2 commits
  9. 12 Mar, 2019 2 commits
  10. 11 Mar, 2019 1 commit
  11. 07 Mar, 2019 3 commits
  12. 06 Mar, 2019 1 commit
  13. 02 Mar, 2019 1 commit
  14. 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
  15. 28 Feb, 2019 3 commits
  16. 25 Feb, 2019 1 commit
  17. 22 Feb, 2019 4 commits
  18. 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
  19. 19 Feb, 2019 1 commit
  20. 15 Feb, 2019 1 commit
  21. 14 Feb, 2019 2 commits